ReadOnly Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a value determining the button bar's read only mode. When the button bar is set to read only, it still shows all formatting attributes of the connected TextControl, but formatting attributes cannot be changed.
Syntax
public bool ReadOnly { get; set; }Public Property [ReadOnly] As BooleanExamples
The following example uses ButtonBar.ReadOnly to prevent users from editing through the button bar. The change is then applied to the active document or user interface.
buttonBar.ReadOnly = true;
buttonBar.Update();buttonBar.ReadOnly = True
buttonBar.Update()