Gets or sets a value that indicates whether the control resizes based on its contents.
public virtual bool AutoSize {get; set;}
'宣言
Public Overridable Property AutoSize As Boolean
プロパティ値
true if the control automatically resizes based on its contents; otherwise,
false. The default is
true.