Class
GroupDefinition

Provides information about a group of PropertyDefinition.

Definition

Namespace:Telerik.Windows.Controls.Data.PropertyGrid

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class GroupDefinition : DependencyObject, INotifyPropertyChanged

Inheritance: objectGroupDefinition

Implements: INotifyPropertyChanged

Constructors

GroupDefinition(object, IEnumerable<PropertyDefinition>)

Initializes a new instance of the GroupDefinition class.

Declaration

cs-api-definition
public GroupDefinition(object key, IEnumerable<PropertyDefinition> elements)

Parameters

key

object

The key.

elements

IEnumerable<PropertyDefinition>

The elements.

GroupDefinition(object, bool, IEnumerable<PropertyDefinition>)

Initializes a new instance of the GroupDefinition class.

Declaration

cs-api-definition
public GroupDefinition(object key, bool isExpanded, IEnumerable<PropertyDefinition> elements)

Parameters

key

object

The key.

isExpanded

bool

The group's expanded state.

elements

IEnumerable<PropertyDefinition>

The elements.

Properties

DisplayName

Gets or sets the DisplayName of the group.

Declaration

cs-api-definition
public string DisplayName { get; set; }

Property Value

string

The display name.

Elements

Gets the elements of the group.

Declaration

cs-api-definition
public IEnumerable<PropertyDefinition> Elements { get; }

Property Value

IEnumerable<PropertyDefinition>

The elements.

GroupContainerStyle

Gets or sets the group button style.

Declaration

cs-api-definition
public Style GroupContainerStyle { get; set; }

Property Value

Style

The group button style.

IsExpanded

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

Declaration

cs-api-definition
public bool IsExpanded { get; set; }

Property Value

bool

The is expanded.

Key

Gets the group key.

Declaration

cs-api-definition
public object Key { get; }

Property Value

object

The key.

OrderIndex

Gets or sets the OrderIndex of the group.

Declaration

cs-api-definition
public int OrderIndex { get; set; }

Property Value

int

The index of the order.

Methods

OnPropertyChanged(string)

Raises the PropertyChanged event.

Declaration

cs-api-definition
protected void OnPropertyChanged(string name)

Parameters

name

string

The name.

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged