See Also

ToolbarItemCollection Class  | ToolbarItemCollection Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

type
The ToolbarItemType to check against the Type property of each BaseToolbarItem.
See Also Languages PowerWEB TextBox for ASP.NET

GetByType Method

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 )

Parameters

type
The ToolbarItemType to check against the Type property of each BaseToolbarItem.

Return Type

If type matches the Type property of a BaseToolbarItem in the collection, this BaseToolbarItem is returned; null otherwise.

Remarks

This method enables easy retrieval of a BaseToolbarItem based on the Type property of the control.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

ToolbarItemCollection Class  | ToolbarItemCollection Members


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.