TX Text Control .NET for Windows Forms

EditItemTextBoxEmptyWidth Property

Property|Introduced in 28.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value, in 1/96 inch, specifying the width of the edit item text box for an item where no text is set. The default value is 0.

Syntax

public int EditItemTextBoxEmptyWidth { get; set; }

Examples

The following example uses RibbonListView.EditItemTextBoxEmptyWidth to configure edit item text box empty width as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

ribbonListView.EditItemTextBoxEmptyWidth = 100;
ribbonListView.Update();

Limitations & Remarks

The property value cannot be greater than MaxColumnWidth.