LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
BringToFront Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : BringToFront Method



first
true to bring the object(s) to the top of the Z-order; false to bring the object(s) one level up only

The BringToFront Method supports WPF/Silverlight.

The BringToFront Method is available in LEADTOOLS Document and Medical Imaging toolkits.

first
true to bring the object(s) to the top of the Z-order; false to bring the object(s) one level up only
Brings the currently selected object(s) up in the Z-order. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable Sub BringToFront( _
   ByVal first As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
Dim first As Boolean
 
instance.BringToFront(first)
C# 
public virtual void BringToFront( 
   bool first
)
C++/CLI 
public:
virtual void BringToFront( 
   bool first
) 

Parameters

first
true to bring the object(s) to the top of the Z-order; false to bring the object(s) one level up only

Example

For C#/VB examples, refer to CanBringToFront.

Remarks

Use this method with first set to true to bring the object(s) to the top of the Z-order, and set first to false to bring the object(s) up one level. You can determine whether you can bring the objects up or to the top by calling the CanBringToFront and CanBringToFirst properties, respectively.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

BringToFront requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.