共用方式為


GestureData.Adorners 屬性

取得內容中儲存之設計工具檢視的裝飾項集合。

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

語法

'宣告
Public ReadOnly Property Adorners As ICollection(Of UIElement)
    Get
public ICollection<UIElement> Adorners { get; }
public:
property ICollection<UIElement^>^ Adorners {
    ICollection<UIElement^>^ get ();
}
member Adorners : ICollection<UIElement>
function get Adorners () : ICollection<UIElement>

屬性值

型別:System.Collections.Generic.ICollection<UIElement>
ICollection<T> ,包含這個內容的設計工具檢視的裝飾項集合。

備註

您可以在這個集合中新增和移除裝飾項。 請勿清除這個集合,因為其中的裝飾項可能來自許多來源。

.NET Framework 安全性

請參閱

參考

GestureData 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

了解 WPF 設計工具擴充性