ButtonBar Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Specifies the button bar control to be used with a TextControl. The property value is an empty string, if there is no button bar connected. Otherwise it must be the name of an existing WPF.ButtonBar object.
Syntax
public string ButtonBar { get; set; }Public Property ButtonBar As StringExamples
The following example uses TextControl.ButtonBar to configure button bar as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.ButtonBar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.ButtonBar))
{
Console.WriteLine($"Button Bar: {textControl.ButtonBar}");
}textControl.ButtonBar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControl.ButtonBar) Then
Console.WriteLine($"Button Bar: {textControl.ButtonBar}")
End If