GridItem.Parent 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 parent GridItem of this GridItem, if any.

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

public abstract GridItem Parent { get; }

Property Value

Type: System.Windows.Forms.GridItem

A GridItem representing the parent of the GridItem.

If the GridItemType for the GridItem is GridItemType.Root, this value will be null.

.NET Framework
Available since 1.1
Return to top