Partilhar via


PresentationSource.FromDependencyObject(DependencyObject) Método

Definição

Retorna a fonte na qual um DependencyObject fornecido é apresentado.

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

O DependencyObject para o qual localizar a fonte.

Retornos

O PresentationSource no qual o objeto de dependência está sendo apresentado.

Atributos

Aplica-se a