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
ToolBarButton Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationObject Class : ToolBarButton Property



The ToolBarButton Property supports WPF/Silverlight.

The ToolBarButton Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets the toolbar button of this AnnAutomationObject. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property ToolBarButton As ToggleButton
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationObject
Dim value As ToggleButton
 
value = instance.ToolBarButton
C# 
public virtual ToggleButton ToolBarButton {get;}
C++/CLI 
public:
virtual property ToggleButton^ ToolBarButton {
   ToggleButton^ get();
}

Property Value

A System.Windows.Controls.Primitives.ToggleButton which represents the toolbar button of this AnnAutomationObject.

Example

For C#/VB examples, refer to AnnAutomationManager.

Remarks

(Read only) Calling CreateToolBar will create the toolbar and all the buttons for all the automation objects in AnnAutomationManager.Objects. After that, you can use this property to edit the toolbar button control if needed.

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

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