Editar

Compartir vía


GridViewRowPresenterBase.Columns Property

Definition

Gets or sets a GridViewColumnCollection.

public:
 property System::Windows::Controls::GridViewColumnCollection ^ Columns { System::Windows::Controls::GridViewColumnCollection ^ get(); void set(System::Windows::Controls::GridViewColumnCollection ^ value); };
public System.Windows.Controls.GridViewColumnCollection Columns { get; set; }
member this.Columns : System.Windows.Controls.GridViewColumnCollection with get, set
Public Property Columns As GridViewColumnCollection

Property Value

A collection of GridViewColumn objects that display data. The default is null.

Remarks

XAML Attribute Usage

<object Columns="{ResourceExtension ColumnsKey}"/>  

XAML Values

ResourceExtension
A markup extension that identifies how to reference the template resource, either StaticResource or DynamicResource. See XAML Resources.

ColumnsKey
The key that identifies the requested GridViewColumnCollection. The key refers to an existing resource in a ResourceDictionary.

Dependency Property Information

Identifier field ColumnsProperty
Metadata properties set to true AffectsMeasure

Applies to