New to Telerik UI for WPFStart a free 30-day trial

Represents a group of columns with a common header.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewColumnGroup : DependencyObject

Inheritance: objectGridViewColumnGroup

Constructors

Initializes a new instance of the GridViewColumnGroup class.

C#
public GridViewColumnGroup()

Fields

HeaderProperty

DependencyProperty

Represents the Header dependency property.

C#
public static readonly DependencyProperty HeaderProperty

HeaderStyleProperty

DependencyProperty

Identifies the HeaderCellStyle dependency property.

C#
public static readonly DependencyProperty HeaderStyleProperty

HeaderTemplateProperty

DependencyProperty

Identifies the HeaderTemplate property.

C#
public static readonly DependencyProperty HeaderTemplateProperty

Properties

Gets or sets the subgroups of a column group.

C#
public ObservableCollection<GridViewColumnGroup> ChildGroups { get; }

Gets or sets the content to be displayed in the column group header.

C#
public object Header { get; set; }

Gets or sets the style to be applied for the common column header in that group.

C#
public Style HeaderStyle { get; set; }
Property Value:

The cell style.

HeaderTemplate

DataTemplate

Gets or sets the data template for the common header.

C#
public DataTemplate HeaderTemplate { get; set; }

Gets or sets the name of the column group.

C#
public string Name { get; set; }