Changes the frame's z-order.

Introduced: X8.

ChangeZOrder(ZOrder)

public bool ChangeZOrder(ZOrder zOrder);
Public Function ChangeZOrder(ByVal zOrder As ZOrder)

Parameters

Parameter Description
zOrder Specifies how the z-order is changed. It can be a value of the ZOrder enumeration.

Return Value

The return value is true, if the z-order could be changed. Otherwise, it is false.

Examples

The following example shows the FrameBase class with three of its properties and the 'ChangeZOrder' method. Here this method is used to set the 'ZOrder' of this frameBase to 'TopMost'.

TXTextControl.FrameBase frameBase = new TXTextControl.FrameBase();

frameBase.Name = "points";
frameBase.Moveable = true;
frameBase.Alignment = TXTextControl.HorizontalAlignment.Left;
frameBase.ChangeZOrder(TXTextControl.ZOrder.TopMost);
Dim frameBase As TXTextControl.FrameBase = New TXTextControl.FrameBase()

frameBase.Name = "points"
frameBase.Moveable = True
frameBase.Alignment = TXTextControl.HorizontalAlignment.Left
frameBase.ChangeZOrder(TXTextControl.ZOrder.TopMost)