TX Text Control .NET for Windows Forms

CanBringForward Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets value that indicates whether the selected shapes' levels can be increased by one. The property returns false if no shape is selected or one of the selected shapes is already the uppermost shape. In all other cases the property returns true.

Syntax

public bool CanBringForward { get; }

Examples

The following example checks can bring forward before performing the related operation.

if (selection.CanBringForward)
{
    selection.BringForward();
}

Limitations

Read only.