Dart.PowerWEB.TextBox Namespace > ToolbarItemCollection Class : GetByType Method |
Returns the first BaseToolItem with a Type property that matches the passed value.
[Visual Basic]
Public Function GetByType( _
ByVal type As ToolbarItemType _
) As BaseToolbarItem
[C#]
public BaseToolbarItem GetByType(
ToolbarItemType type
);
[C++]
public: BaseToolbarItem* GetByType(
ToolbarItemType type
)
[C++/CLI]
public:
BaseToolbarItem^ GetByType(
ToolbarItemType type
)
If type matches the Type property of a BaseToolbarItem in the collection, this BaseToolbarItem is returned; null otherwise.
This method enables easy retrieval of a BaseToolbarItem based on the Type property of the control.
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
ToolbarItemCollection Class | ToolbarItemCollection Members
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.