How can you get an icon on the tabs?
Regards
Gary
Hello Gary,
You can see a similar scenario implemented in the samples of the XamFeatureBrower - XamTabControl - Themes and Custom Styles - Customizing the XamtabControl.
Yeah i look at that to start with, I thought this was overly complex.
I'm fairly new to WPF.
Looking at the example its putting an images in the Tag of the tab?? e.g.
<igWindows:TabItemEx Header="MSNBC.com"> <igWindows:TabItemEx.Tag> <BitmapImage UriSource="pack://application:,,,/images/icons/XamTabControl/xtc_Default.png" igWindows:Utilities.SnapElementToDevicePixels="True"/> </igWindows:TabItemEx.Tag> </igWindows:TabItemEx>
How does it then go from the tag to the tab header?
Thanks
In addition I'd like to know how to do this from code rather than xaml.
Cheers