'Declaration
Public Property ScrollTipContentTemplateSelector As DataTemplateSelector
'Usage
Dim instance As UIViewBase
Dim value As DataTemplateSelector
instance.ScrollTipContentTemplateSelector = value
value = instance.ScrollTipContentTemplateSelector
A reference to a DataTemplateSelector that provides a way to apply a different scroll-tip content template based on custom logic.
Remarks
To provide a custom DataTemplateSelector, a class that derives from the DataTemplateSelector class and overrides the SelectTemplate method to return the appropriate DataTemplate, must be created.
Example
All examples in this topic assume that the grid is bound to the Orders table of the Northwind database, unless stated otherwise.
The following example demonstrates how to display a scroll tip whose content and location have been modified.
The flagConverter resource represents a converter that is used to return the appropriate BitmapImage according to the value of the ShipCountry cell.
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2