InnerVerticalFrameLines Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value specifying whether all inner vertical frame lines are set for the selected text. If the selected text contains no table, this property has no meaning.
Syntax
public bool InnerVerticalFrameLines { get; set; }Public Property InnerVerticalFrameLines As BooleanExamples
The following XAML example shows how to bind the InnerVerticalFrameLines property to a checkable menu item.
<MenuItem
IsCheckable="True"
Header="Inner Vertical Frame Lines"
IsChecked="{Binding ElementName=textControl1, Path=InputFormat.InnerVerticalFrameLines}" />The following example changes the formatting applied to text entered at the end of a document by using InputFormat.InnerVerticalFrameLines.
textControl.Text = "Project summary";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
InputFormat inputFormat = textControl.InputFormat;
inputFormat.InnerVerticalFrameLines = true;
if (inputFormat.InnerVerticalFrameLines)
{
Console.WriteLine("Input Format: Inner Vertical Frame Lines is enabled.");
}textControl.Text = "Project summary"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
Dim inputFormat As InputFormat = textControl.InputFormat
inputFormat.InnerVerticalFrameLines = True
If inputFormat.InnerVerticalFrameLines Then
Console.WriteLine("Input Format: Inner Vertical Frame Lines is enabled.")
End If