Hi,
Is there an easy way to template the XamTreeItem
This is my example:
<ig:XamTree x:Name="trvOverview" > <ig:XamTreeItem Header="My Box" IsExpanded="True" Tag="Box"> <ig:XamTreeItem Header="Inbox (4)" Tag="IKP_INBOX" /> </ig:XamTreeItem></ig:XamTree> How can I template the header of the TreeItem. I want the number of unread items (4) to appear in another color.I don't want to use databinding, because the items ar fixed.Thx,Bart
Thank you. It works perfect!
The Header object is a content object you can put almost anything into it rather then just text.
<ig:XamTreeItem >
<ig:XamTreeItem.Header>
<HyperlinkButton Background="Yellow" Content="GoTo" NavigateUri="http://www.yahoo.com" TargetName="_blank"></HyperlinkButton>
</ig:XamTreeItem.Header>
</ig:XamTreeItem>