TextBoxWidth Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the width, in 1/96 inch, of the text box. The default value is 50/96 inch.
Syntax
public int TextBoxWidth { get; set; }Public Property TextBoxWidth As IntegerExamples
The following example uses RibbonTextBox.TextBoxWidth to configure text box width as part of the ribbon text box workflow. The change is then applied to the active document or user interface.
ribbonTextBox.TextBoxWidth = 100;
ribbonTextBox.Update();ribbonTextBox.TextBoxWidth = 100
ribbonTextBox.Update()