CanBringToFront Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. Core. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDrawing.dll
Description
Gets value that indicates whether the selected shape can be displayed as the uppermost shape of all shapes. The property returns false if no or more than one shape are selected or one of the selected shape is already the uppermost shape. In all other cases the property returns true.
Syntax
public bool CanBringToFront { get; }Public ReadOnly Property CanBringToFront As BooleanExamples
The following example checks can bring to front before performing the related operation.
if (selection.CanBringToFront)
{
selection.BringToFront();
}If selection.CanBringToFront Then
selection.BringToFront()
End IfLimitations
Read only.