Hi,
Is there a way to add a tootip (bind or not) on xamDataTree Node ?
I tried to add ToolTipService.ToolTip="AAA" in NodeLayout properties but it doens't works.
Below my Xaml Layout code :
<ig:NodeLayout Key="ServeurLayout" TargetTypeName="CServeur" > <ig:NodeLayout.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal" Height="20" Width="20"> <Image Source=".\ServerON.png" Margin="0,0,5,0" Height="20" Width="20" Stretch="Fill" Visibility="{Binding Data.IsServerAvailable, Converter={StaticResource ResourceKey=BTVConv}}"/> <Image Source=".\ServerOFF.png" Margin="0,0,2,0" Height="20" Width="20" Stretch="Fill"/> </StackPanel> <TextBlock Text="{Binding Data.m_sName}" VerticalAlignment="center" Margin="0,0,0,0" /> </StackPanel> </DataTemplate> </ig:NodeLayout.ItemTemplate> </ig:NodeLayout>
Thank's in advance
Thank's Darrell.
Its works fine :-)
ATtached is a sample that shows this.
You should attach the tooltip to the display element of the ItemTemplate. So in your case the textBlock