when i apply this :
Hello Kashif,
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 when you set the Style with x:Static you override the default Style, so I copied the default Style and change the Content of the Button. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thanks Stefan Stoyanov
Actually i don't want group header in my XamOutlook bar when i commented out / removed the following code from your attacched project
<igOutlookBar:OutlookBarGroup Header="Group 1" IsSelected="True"> <Grid /> </igOutlookBar:OutlookBarGroup> <igOutlookBar:OutlookBarGroup Header="Group 2"> <Grid /> </igOutlookBar:OutlookBarGroup>
the change of colour(light orange ) on mouseover is not working when i mouseover on minimize pan . looking forward for response.
Hello,
Thank you for your feedback. I believe that other community members may benefit from this as well.
Thanks again.
I didn't see this listed as a solution, so I thought I'd add it for the record. My solution was to use "BasedOn".
xmlns:igWPF="http://schemas.infragistics.com/xaml/wpf" ... <igWPF:XamOutlookBar.Resources> <Style x:Key={x:Static igWPF:XamOutlookBar.NavigationPaneToggleButtonStyleKey}"TargetType="{x:Type ToggleButton}"BasedOn="{s:Static igWPF:OutlookBarIGTheme.NavigationPaneToggleButtonStyle}"> <Setter Property="Content" Value="My Text" /> <Style> </igWPF:XamOutlookBar.Resources>
xmlns:igWPF="http://schemas.infragistics.com/xaml/wpf"
...
<igWPF:XamOutlookBar.Resources>
<Style x:Key={x:Static igWPF:XamOutlookBar.NavigationPaneToggleButtonStyleKey}"TargetType="{x:Type ToggleButton}"BasedOn="{s:Static igWPF:OutlookBarIGTheme.NavigationPaneToggleButtonStyle}">
<Setter Property="Content" Value="My Text" />
<Style>
</igWPF:XamOutlookBar.Resources>
Hi,
Actually the Stefan project worked for me on IG v 12.1, the issue i was talking about is in v 10.
So many thanks to both of you,
Thanks & Regards,
Kashif Mujeeb
I am very glad that the approach I have suggested was helpful for you. If you need any further assistance on the matter please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks Krasimir