Redigera

Dela via


GridItem.Label Property

Definition

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

public:
 abstract property System::String ^ Label { System::String ^ get(); };
public abstract string Label { get; }
public abstract string? Label { get; }
member this.Label : string
Public MustOverride ReadOnly Property Label As String

Property Value

A String representing the text associated with this GridItem.

Remarks

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.

Applies to

See also