ValidationMode 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 RibbonTextBox's input validation mode that is used to validate the inserted text in the text box.
Syntax
public RibbonTextBox.InputValidationMode ValidationMode { get; set; }Public Property ValidationMode As RibbonTextBox.InputValidationModeExamples
The following example uses RibbonTextBox.ValidationMode to configure validation mode as part of the ribbon text box workflow. The change is then applied to the active document or user interface.
ribbonTextBox.ValidationMode = TXTextControl.Windows.Forms.Ribbon.RibbonTextBox.InputValidationMode.All;
ribbonTextBox.Update();ribbonTextBox.ValidationMode = TXTextControl.Windows.Forms.Ribbon.RibbonTextBox.InputValidationMode.All
ribbonTextBox.Update()