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