Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ToolBarButton Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomationObject Class : ToolBarButton Property





Gets the toolbar button of this AnnAutomationObject.

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();
}
XAML Syntax 
For XAML information, see the System.Windows.Controls.Primitives.ToggleButton type.
XAML Syntax 
For XAML information, see the System.Windows.Controls.Primitives.ToggleButton type.

Return Value

A 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 Objects. After that, you can use this property to edit the toolbar button control if needed.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

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.