IControlDesignerAccessor.UserData IControlDesignerAccessor.UserData IControlDesignerAccessor.UserData IControlDesignerAccessor.UserData Property

定義

實作時,取得控制項設計工具可存取的資訊集合。When implemented, gets a collection of information that can be accessed by a control designer.

public:
 property System::Collections::IDictionary ^ UserData { System::Collections::IDictionary ^ get(); };
public System.Collections.IDictionary UserData { get; }
member this.UserData : System.Collections.IDictionary
Public ReadOnly Property UserData As IDictionary

屬性值

IDictionary,包含關於控制項的資訊。An IDictionary containing information about the control.

備註

控制項的屬性和內容就會保留,使控制項維持在設計階段環境中的狀態。A control's properties and content can be persisted, so that the control maintains state in the design-time environment. 這個屬性僅供控制項設計工具。This property is used only by control designers.

適用於

另請參閱