Textbox.CanShrink Property

Definition

Indicates whether the text box height can decrease to match the contents.

public:
 property bool CanShrink { bool get(); void set(bool value); };
[System.ComponentModel.DefaultValue(false)]
public bool CanShrink { get; set; }
[<System.ComponentModel.DefaultValue(false)>]
member this.CanShrink : bool with get, set
Public Property CanShrink As Boolean

Property Value

True if the text box height can decrease to match the contents; otherwise, false.

Attributes

Applies to