Property Value
A System.Boolean value wheretrue
indicates the textbox size can shrink to fit the contents; otherwise, false
. The default is false
.true
indicates the textbox size can shrink to fit the contents; otherwise, false
. The default is false
.TextBox textBox = new TextBox(); textBox.CanShrink = true;