C# 在属性框显示UserControl的Text属性

[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Bindable(true)]
public override string Text { get; set; }

[EditorBrowsable(EditorBrowsableState.Always),Browsable(true),
         DesignerSerializationVisibility(DesignerSerializationVisibility.Visible),
         Bindable(true)]
public override string Text { get; set; }

你可能感兴趣的:(C#,c#,UserControl,Text)