IsDeleteButton Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets a value specifying the DialogButton text. The behavior changes to a Delete button, if the incorrect word (TXTextControl.MisspelledWord) is a duplicated word (TXTextControl.MisspelledWord.IsDuplicate).
Syntax
public bool IsDeleteButton { get; set; }Public Property IsDeleteButton As BooleanExamples
The following example uses DialogButton.IsDeleteButton to configure is delete button as part of the dialog button workflow. The configured value is checked before the workflow continues.
dialogButton.IsDeleteButton = true;
if (dialogButton.IsDeleteButton)
{
Console.WriteLine("Dialog Button: Is Delete Button is enabled.");
}dialogButton.IsDeleteButton = True
If dialogButton.IsDeleteButton Then
Console.WriteLine("Dialog Button: Is Delete Button is enabled.")
End If