IsEditable 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 a value indicating whether this RibbonListViewItem is editable. If the property is set to true, the RibbonListViewItem can be edited by a text box that appears on double clicking the item, pressing the F2 key or using the RibbonListView.ActivateEditItemTextBox method. The default value is false.
Syntax
public bool IsEditable { get; set; }Public Property IsEditable As BooleanExamples
The following example uses RibbonListViewItem.IsEditable to configure is editable as part of the ribbon list view item workflow. The configured value is checked before the workflow continues.
ribbonListViewItem.IsEditable = true;
if (ribbonListViewItem.IsEditable)
{
Console.WriteLine("Ribbon List View Item: Is Editable is enabled.");
}ribbonListViewItem.IsEditable = True
If ribbonListViewItem.IsEditable Then
Console.WriteLine("Ribbon List View Item: Is Editable is enabled.")
End IfLimitations
A RibbonListViewItem can only be editable, if the corresponding RibbonListView.ViewMode property is set to ListViewMode.Text or ListViewMode.Icon | ListViewMode.Text.