GridViewColumnGroup
Represents a column group in RadGridView with a ColumnGroupsViewDefinition. Each group can either have subgroups or rows which contain data columns.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridViewColumnGroup : INotifyPropertyChanged
Inheritance: objectGridViewColumnGroup
Implements:
Constructors
Initializes a new instance of the GridViewColumnGroup class.
public GridViewColumnGroup()
Initializes a new instance of the GridViewColumnGroup class.
Initializes a new instance of the GridViewColumnGroup class.
Properties
Gets or sets value indicating whether the user can hide the group.
public virtual bool AllowHide { get; set; }
Gets or sets value indicating whether the user can reorder the group using mouse.
public virtual bool AllowReorder { get; set; }
Gets a ColumnGroupCollection collection containing the subgroups of the current group.
public ColumnGroupCollection Groups { get; }
Gets or sets a value indicating whether the column group is pinned and cannot be moved from its location when a user scrolls horizontally. Only the root column groups can be pinned.
public bool IsPinned { get; set; }
Gets whether the column group is suspended.
public bool IsSuspended { get; }
The is suspended.
Gets or sets a value indicating whether the group is visible.
public bool IsVisible { get; set; }
Gets the parent column group.
[Browsable(false)]
public GridViewColumnGroup Parent { get; }
Gets the ViewDefinition of the group. Has value only on root groups.
[Browsable(false)]
public ColumnGroupsViewDefinition ParentViewDefinition { get; }
Gets or sets the pin position for the row. When the column is pinned, it cannot be moved from its location when a user scrolls horizontally.
public PinnedColumnPosition PinPosition { get; set; }
Gets the root column group.
[Browsable(false)]
public GridViewColumnGroup RootColumnGroup { get; }
Gets a ColumnGroupRowCollection collection containing the rows of the current group.
public ColumnGroupRowCollection Rows { get; }
Gets or set the vertical span of the group (the height) in pixels.
public int RowSpan { get; set; }
Gets or sets a value indicating whether group header is visible. Works only for top level groups.
public bool ShowHeader { get; set; }
true if the group header is visible; otherwise, false.
Gets or sets a value indicating whether the group will be visible in ColumnChooserElement.
public virtual bool VisibleInColumnChooser { get; set; }
Use this property if you want to hide groups from the user.
Methods
Finds the GridViewTemplate which owns this group. The method will return non-null value only when the group has been added to a view definition hierarchy and the view definition has been set to a template.
Raises the PropertyChanged event for the specified property.
protected virtual void OnNotifyPropertyChanged(string propertyName)
The name of the property that changed.
Resumes the notifications.
public void ResumeNotifications()
Suspends the notifications.
public void SuspendNotifications()
Events
Raised when a group property changes; the event arguments identify the changed property.
public event PropertyChangedEventHandler PropertyChanged
Implements: