編輯

共用方式為


PropertyGrid.PropertyTabCollection.AddTabType Method

Definition

Adds a Property tab to the collection.

Overloads

AddTabType(Type)

Adds a Property tab of the specified type to the collection.

AddTabType(Type, PropertyTabScope)

Adds a Property tab of the specified type and with the specified scope to the collection.

AddTabType(Type)

Source:
PropertyGrid.PropertyTabCollection.cs
Source:
PropertyGrid.PropertyTabCollection.cs
Source:
PropertyGrid.PropertyTabCollection.cs

Adds a Property tab of the specified type to the collection.

public:
 void AddTabType(Type ^ propertyTabType);
public void AddTabType (Type propertyTabType);
member this.AddTabType : Type -> unit
Public Sub AddTabType (propertyTabType As Type)

Parameters

propertyTabType
Type

The Property tab type to add to the grid.

Remarks

The Property tab is added to the collection with a PropertyTabScope value of Global.

See also

Applies to

AddTabType(Type, PropertyTabScope)

Source:
PropertyGrid.PropertyTabCollection.cs
Source:
PropertyGrid.PropertyTabCollection.cs
Source:
PropertyGrid.PropertyTabCollection.cs

Adds a Property tab of the specified type and with the specified scope to the collection.

public:
 void AddTabType(Type ^ propertyTabType, System::ComponentModel::PropertyTabScope tabScope);
public void AddTabType (Type propertyTabType, System.ComponentModel.PropertyTabScope tabScope);
member this.AddTabType : Type * System.ComponentModel.PropertyTabScope -> unit
Public Sub AddTabType (propertyTabType As Type, tabScope As PropertyTabScope)

Parameters

propertyTabType
Type

The Property tab type to add to the grid.

tabScope
PropertyTabScope

One of the PropertyTabScope values.

See also

Applies to