GestureData.SourceAdorner 属性

更新:2007 年 11 月

获取视图中的源装饰器。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public ReadOnly Property SourceAdorner As DependencyObject
用法
Dim instance As GestureData
Dim value As DependencyObject

value = instance.SourceAdorner
public DependencyObject SourceAdorner { get; }
public:
property DependencyObject^ SourceAdorner {
    DependencyObject^ get ();
}
public function get SourceAdorner () : DependencyObject

属性值

类型:System.Windows.DependencyObject

作为启动了笔势的装饰器的 UIElement。如果装饰器未启动该笔势,则返回值可能为 nullnull 引用(在 Visual Basic 中为 Nothing)。

权限

另请参见

参考

GestureData 类

GestureData 成员

Microsoft.Windows.Design.Interaction 命名空间

其他资源

了解 WPF 设计器扩展性