共用方式為


ViewItem.SelectionFrameBounds 屬性

取得選取框架的界限。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
Public MustOverride ReadOnly Property SelectionFrameBounds As Rect
    Get
public abstract Rect SelectionFrameBounds { get; }
public:
virtual property Rect SelectionFrameBounds {
    Rect get () abstract;
}
abstract SelectionFrameBounds : Rect
abstract function get SelectionFrameBounds () : Rect

屬性值

型別:System.Windows.Rect
Rect ,表示目前 ViewItem 的選取框架。

備註

使用這個屬性來放置及繪製選取項目控制碼。

.NET Framework 安全性

請參閱

參考

ViewItem 類別

Microsoft.Windows.Design.Interaction 命名空間