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