PropertyGrid.PropertyTabCollection.AddTabType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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.