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
515
XamPivotGrid Custom tooltip cell
posted

Hi,

I try to display a custom Tooltip on cell... i have to fully customize the UI of my tooltip to display a custom details

I' try this but doesn't work:

<local:TooltipVisibilityConverter x:Key="visibilityConverter"/>
<ToolTip x:Key="ToolTipControl"
Visibility="{Binding Converter={StaticResource visibilityConverter}}"
DataContext="{Binding Path=PlacementTarget, RelativeSource={x:Static RelativeSource.Self}}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Border HorizontalAlignment="Stretch"
BorderThickness="0,0,0,1"
BorderBrush="Black" Margin="5"
Grid.Row="0">
<TextBlock FontSize="14" Text="{Binding Path=Record.DataItem}"/>
</Border>
<TextBlock Grid.Row="1" Margin="10,0,5,0" Text="{Binding Path=Record.DataItem.Index}"/>
</Grid>
</ToolTip>

<Style TargetType="{x:Type igDP:DataRecordPresenter}">
<Setter Property="ToolTip" Value="{StaticResource ToolTipControl}" />
</Style>

Can you tell me how i can do that... Need a working Example Please.

Thx

Parents Reply Children
No Data