Compartir vía


PresentationSource.FromDependencyObject(DependencyObject) Método

Definición

Devuelve el origen en el que se presenta el objeto DependencyObject especificado.

public:
 static System::Windows::PresentationSource ^ FromDependencyObject(System::Windows::DependencyObject ^ dependencyObject);
[System.Security.SecurityCritical]
public static System.Windows.PresentationSource FromDependencyObject (System.Windows.DependencyObject dependencyObject);
public static System.Windows.PresentationSource FromDependencyObject (System.Windows.DependencyObject dependencyObject);
[<System.Security.SecurityCritical>]
static member FromDependencyObject : System.Windows.DependencyObject -> System.Windows.PresentationSource
static member FromDependencyObject : System.Windows.DependencyObject -> System.Windows.PresentationSource
Public Shared Function FromDependencyObject (dependencyObject As DependencyObject) As PresentationSource

Parámetros

dependencyObject
DependencyObject

Objeto DependencyObject cuyo origen se va a buscar.

Devoluciones

PresentationSource en el que se presenta el objeto de dependencia.

Atributos

Se aplica a