Changes the frame's z-order.

Introduced: X8.

ChangeZOrder(ZOrder)

public bool ChangeZOrder(ZOrder 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);