Textbox.CanShrink Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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