Share via


TextBox.CanShrink Property

Definition

Gets a value that indicates whether the text box height can be decreased to match the contents.

public:
 property bool CanShrink { bool get(); };
public bool CanShrink { get; }
member this.CanShrink : bool
Public ReadOnly Property CanShrink As Boolean

Property Value

true if the text box height can be decreased to match the contents; otherwise, false.

Applies to