ClassGroup
Represents a group.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class Group : IGroup, IGroupable, INotifyPropertyChanged
Inheritance: objectGroup
Implements:
Constructors
Group(string)
Initializes a new instance of the Group class.
Declaration
public Group(string name)
Parameters
name
The name of the new group.
Properties
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
True if this instance is selected; otherwise, false.
Implements
Items
Gets the items.
Declaration
public IList<IGroupable> Items { get; }
Property Value
Implements
Name
Gets the name.
ParentGroup
Gets or sets the parent.
Declaration
public IGroup ParentGroup { get; set; }
Property Value
The parent.
Implements
Methods
OnPropertyChanged(string)
Called when a property has changed.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
Name of the property.
Events
ItemsChanged
Occurs when the collection of items this group contains has changed.
Declaration
public event NotifyCollectionChangedEventHandler ItemsChanged
Event Value
Implements
ParentGroupChanged
Occurs when the group to which this item belongs has changed.
Declaration
public event EventHandler<PropertyEventArgs<IGroup>> ParentGroupChanged
Event Value
Implements
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements
SelectionChanged
Occurs when the selected item within this group has changed.
Declaration
public event EventHandler SelectionChanged
Event Value
Implements