'Declaration Protected Overridable Sub OnItemActivated( _ ByVal args As RoutedEventArgs _ )
protected virtual void OnItemActivated( RoutedEventArgs args )
The ActivationActionDelay and ActivationInitialActionDelay properties and ItemActivated event can be used to simulate the Live Preview functionality found in Office 2007 applications (e.g., Word). Specify a delay that makes sense for the preview you are doing (e.g., longer delay for more expensive previews so that your application is not constructing previews everytime a GalleryItem is moused over), and handle the ItemActivated event to display the preview.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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