ActivateEditItemTextBox Method
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Displays a text box to edit the specified RibbonListViewItem.
Syntax
public void ActivateEditItemTextBox(RibbonListView.RibbonListViewItem item);Public Sub ActivateEditItemTextBox(item As RibbonListView.RibbonListViewItem)Parameters
| Parameter | Description |
|---|---|
| item | The specified RibbonListViewItem to edit. |
Examples
The following example uses Activate Edit Item Text Box in a focused Ribbon List View workflow. The created object is then available to the surrounding document workflow.
ribbonListView.ActivateEditItemTextBox(new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem());
Console.WriteLine("Ribbon List View is ready for use.");ribbonListView.ActivateEditItemTextBox(New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem())
Console.WriteLine("Ribbon List View is ready for use.")Limitations
The text box only appears for the specified item, if its IsEditable property is set to true.