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

Provides information about a group of PropertyDefinition.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public class GroupDefinition : DependencyObject, INotifyPropertyChanged

Inheritance: objectGroupDefinition

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the GroupDefinition class.

C#
public GroupDefinition(object key, bool isExpanded, IEnumerable<PropertyDefinition> elements)
Parameters:keyobject

The key.

isExpandedbool

The group's expanded state.

elementsIEnumerable<PropertyDefinition>

The elements.

Initializes a new instance of the GroupDefinition class.

C#
public GroupDefinition(object key, IEnumerable<PropertyDefinition> elements)
Parameters:keyobject

The key.

elementsIEnumerable<PropertyDefinition>

The elements.

Properties

Gets or sets the DisplayName of the group.

C#
public string DisplayName { get; set; }
Property Value:

The display name.

Gets the elements of the group.

C#
public IEnumerable<PropertyDefinition> Elements { get; }
Property Value:

The elements.

Gets or sets the group button style.

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

The group button style.

Gets or sets a value that indicates whether the group is expanded.

C#
public bool IsExpanded { get; set; }
Property Value:

The is expanded.

Gets the group key.

C#
public object Key { get; }
Property Value:

The key.

Gets or sets the OrderIndex of the group.

C#
public int OrderIndex { get; set; }
Property Value:

The index of the order.

Methods

Raises the PropertyChanged event.

C#
protected void OnPropertyChanged(string name)
Parameters:namestring

The name.

Events

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged