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

属性值

包含控件信息的 IDictionaryAn 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.

适用于

另请参阅