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