ClassGroupDefinition
Provides information about a group of PropertyDefinition.
Definition
Namespace:Telerik.Windows.Controls.Data.PropertyGrid
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
public class GroupDefinition : DependencyObject, INotifyPropertyChanged
Inheritance: objectGroupDefinition
Implements:
Constructors
GroupDefinition(object, IEnumerable<PropertyDefinition>)
Initializes a new instance of the GroupDefinition class.
Declaration
public GroupDefinition(object key, IEnumerable<PropertyDefinition> elements)
Parameters
key
The key.
elements
IEnumerable<PropertyDefinition>
The elements.
GroupDefinition(object, bool, IEnumerable<PropertyDefinition>)
Initializes a new instance of the GroupDefinition class.
Declaration
public GroupDefinition(object key, bool isExpanded, IEnumerable<PropertyDefinition> elements)
Parameters
key
The key.
isExpanded
The group's expanded state.
elements
IEnumerable<PropertyDefinition>
The elements.
Properties
DisplayName
Gets or sets the DisplayName of the group.
Declaration
public string DisplayName { get; set; }
Property Value
The display name.
Elements
Gets the elements of the group.
Declaration
public IEnumerable<PropertyDefinition> Elements { get; }
Property Value
IEnumerable<PropertyDefinition>
The elements.
GroupContainerStyle
Gets or sets the group button style.
Declaration
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
public bool IsExpanded { get; set; }
Property Value
The is expanded.
Key
Gets the group key.
OrderIndex
Gets or sets the OrderIndex of the group.
Declaration
public int OrderIndex { get; set; }
Property Value
The index of the order.
Methods
OnPropertyChanged(string)
Raises the PropertyChanged event.
Declaration
protected void OnPropertyChanged(string name)
Parameters
name
The name.
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements