Hi All,
Do any one how can i delay the tooltip on the grid field for certain seconds
Thanks
Prakash
Prakash,
Here is the working style for the LabelPresenter.
<Style TargetType="{x:Type igDP:LabelPresenter}">
<Setter Property="ToolTip"
Value="{Binding Path=Content, RelativeSource={RelativeSource Self}}" />
<Setter Property="ToolTipService.InitialShowDelay" Value="2000" />
</Style>
I am sorry for misleading you, the InitialShowDelay is attached property so I believe you have to set it to all of the tooltips.
Hi Alex,
Here is my code and i use it to apply tooltip property for the LabelPresenter
}">
=Field.(ToolTipService.ToolTip)}" />
>
<igDP:Field Name="X" ToolTipService.ToolTip="X" Label="X" Row="1" Column="0" >
Even though i apply the method ToolTipService.SetInitialDelay(grid,10000) it never works.
Can you tell me how can i do it for this type of scenario?
It depends on what you are trying to achieve. If all of your tooltips should have the same delay time, you can set this to the XamDataGrid and not for each field's tooltip.
Thanks for Reply.
Do you i need to set the Static method for each field in the grid or only to the grid which i am using?
Do you have samples done for the XamDatagrid?
Hello Prakash,
This is handled by the ToolTipService class. You can use its static methods to change that:
ToolTipService.SetBetweenShowDelay(...)
ToolTipService.SetInitialShowDelay(...)
ToolTipService.SetShowDuration(...)
Hope this helps