Export (0) Print
Expand All

GridViewHeaderRowPresenter.ColumnHeaderContainerStyle Property

Gets or sets the Style to use for the column headers.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public Style ColumnHeaderContainerStyle { get; set; }
/** @property */
public Style get_ColumnHeaderContainerStyle ()

/** @property */
public void set_ColumnHeaderContainerStyle (Style value)

public function get ColumnHeaderContainerStyle () : Style

public function set ColumnHeaderContainerStyle (value : Style)

<object ColumnHeaderContainerStyle="{ResourceExtension StyleResourceKey}"/>
 ResourceExtension  One of the following: StaticResource, or DynamicResource. See Resources Overview.  StyleResourceKey  The key that identifies the style being requested. The key refers to an existing resource in a ResourceDictionary. 

Property Value

The Style to use for the column header container. The default value is a null reference (Nothing in Visual Basic).

Identifier field

ColumnHeaderContainerStyleProperty

Metadata properties set to true

None

When you implement this class as part of a GridView view mode, the value of this property is bound to the value of the ColumnHeaderContainerStyle property on the GridView.

You can customize column headers in a GridView view mode by using a variety of properties that are found in this class and in related classes. For more information about these properties, and about the precedence between them, see GridView Column Header Styles and Templates Overview.

When you set styles, some restrictions apply. For more information, see the Styles Overview.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft