GridItem::Label Property

 

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

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

public:
property String^ Label {
	virtual String^ get() abstract;
}

Property Value

Type: System::String^

A String representing the text associated with this GridItem.

This class gets the text that displays in the left column of the grid. The text retrieved can be different from the actual property name of the property represented by this GridItem. You can get the name for a GridItem of type GridItemType::Property by retrieving the PropertyDescriptor and checking its Name property.

.NET Framework
Available since 1.1
Return to top
Show: