PresentationSource.FromVisual(Visual) Methode

Definitie

Retourneert de bron waarin een opgegeven Visual wordt weergegeven.

public:
 static System::Windows::PresentationSource ^ FromVisual(System::Windows::Media::Visual ^ visual);
[System.Security.SecurityCritical]
public static System.Windows.PresentationSource FromVisual(System.Windows.Media.Visual visual);
public static System.Windows.PresentationSource FromVisual(System.Windows.Media.Visual visual);
[<System.Security.SecurityCritical>]
static member FromVisual : System.Windows.Media.Visual -> System.Windows.PresentationSource
static member FromVisual : System.Windows.Media.Visual -> System.Windows.PresentationSource
Public Shared Function FromVisual (visual As Visual) As PresentationSource

Parameters

visual
Visual

De Visual bron voor zoeken.

Retouren

De PresentationSource visual waarin de visual wordt weergegeven of null als visual deze wordt verwijderd.

Kenmerken

Uitzonderingen

visual is null.

Van toepassing op