PresentationSource.FromDependencyObject(DependencyObject) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回要在其中呈现所提供的 DependencyObject 的源。
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
参数
- dependencyObject
- DependencyObject
要查找其源的 DependencyObject。
返回
要在其中显示依赖项对象的 PresentationSource。
- 属性