hi,
I am disabling the RibbonTabItem.But it still RibbonTabItem Header is in BlueColor.It is not setting to
Gray.
Is there way to set the Header color to gray of the RibbonTabItem?
Thanks
Ramesh Babu.
I got that one.
void R_IsEnabledChanged(object sender, DependencyPropertyChangedEventArgs e) { RibbonTabItem item = (RibbonTabItem)sender; if (!((bool)e.NewValue)) { SolidColorBrush brush = new SolidColorBrush(); brush.Color = Colors.Gray; item.Resources.Add(RibbonBrushKeys.TabNotSelectedTextFillKey, brush); } else { item.Resources.Add(RibbonBrushKeys.TabNotSelectedTextFillKey, WPCApplication.DefaultColor); } }
Hello,
I apologize that this post was not answered sooner. We are making the effort to ensure all posts are addressed by an Infragistics expert.
Please let us know if you need any further help with this issue.
Thanks!