GridItem.GridItemType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When overridden in a derived class, gets the type of this GridItem.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public abstract GridItemType GridItemType { get; }

Property Value

Type: System.Windows.Forms.GridItemType

One of the GridItemType values.

For a GridItem of type GridItemType.Property, you must also ensure that the PropertyDescriptor has a valid value. For a GridItem of type GridItemType.Root the Parent property must be null.

.NET Framework
Available since 1.1
Return to top