Hi,
Am trying to apply styles for TileHeader and also for maximize button within Tile Header. I use below code for Tilheaders but am not sure how to apply styles for maximize button in tile header
<Style TargetType="{x:Type igPrim:TileHeaderPresenter}"> <Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Background" Value="#FF567DB1"/> </Style>
Please attach some samples.
Thanks,
Valliappan
Hello Villiappan,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello Valliappan,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the TileHeaderPresenter and change the color of the SolidColorBrush element that is used for the Maximize, Minimize and Close buttons. The default Style is located here by default:
C:\Program Files (x86)\Infragistics\NetAdvantage 2013.1\WPF\DefaultStyles\Tilemanager\ generic.shared.xaml file.
I also handled the TileHeaderPresenter’s Loaded event and in the handler I changed the button’s Foreground. You can use this approach if you don’t want to add all the Styles needed for the first one. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.