Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Tooltip Node
posted

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