HitTestInfo.SelectableObject 属性
定义
获取与点击区域关联的可选择对象。Gets a selectable object associated with the hit area.
public:
virtual property System::Object ^ SelectableObject { System::Object ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual object SelectableObject { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectableObject : obj
Public Overridable ReadOnly Property SelectableObject As Object
属性值
一个与点击区域关联的可选择对象;如果设计器不与 Nothing 关联,则为空引用(在 Visual Basic 中为 HitTestInfo)。A selectable object associated with the hit area or a null reference (Nothing in Visual Basic) if no designer is associated with the HitTestInfo.
- 属性
注解
使用 SelectableObject 可获取与点击区域关联的可选择对象。Use SelectableObject to get the selectable object associated with the hit area. 如果设计器与 HitTestInfo 关联,则 SelectableObject 将返回与设计器关联的活动;如果没有任何设计器与 Nothing 关联,则返回空引用 (HitTestInfo)。If a designer is associated with the HitTestInfo, SelectableObject will return the activity associated with the designer, or null reference (Nothing) if no designer is associated with the HitTestInfo.