Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GridViewRowPresenterBase.Columns Property


Gets or sets a GridViewColumnCollection.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public GridViewColumnCollection Columns { get; set; }

Property Value

Type: System.Windows.Controls.GridViewColumnCollection

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

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


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


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

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft