Show / Hide Table of Contents

Class GroupControlModel

Device control view model.

Inheritance
System.Object
DeviceListNodeViewModel
GroupControlModel
Inherited Members
DeviceListNodeViewModel.ChildrenGetter
DeviceListNodeViewModel.TreeListChildren
Namespace: Phoenix.DeviceManagement
Assembly: Phoenix.dll
Syntax
public class GroupControlModel : DeviceListNodeViewModel

Constructors

View Source

GroupControlModel(String, Guid, DeviceManagementViewModel, IDeviceManager)

Initializes a new instance of the GroupControlModel class.

Declaration
public GroupControlModel(string name, Guid id, DeviceManagementViewModel parentModel, IDeviceManager deviceManager)
Parameters
Type Name Description
System.String name

The group's name.

System.Guid id

The group's id.

DeviceManagementViewModel parentModel

The group's parent model.

IDeviceManager deviceManager

Properties

View Source

AcceptNameEdit

Gets the command to accept editing group name

Declaration
public DelegateCommand<string> AcceptNameEdit { get; }
Property Value
Type Description
DelegateCommand<System.String>
View Source

BeginNameEdit

Gets the command to begin editing the group name

Declaration
public DelegateCommand BeginNameEdit { get; }
Property Value
Type Description
DelegateCommand
View Source

CancelNameEdit

Gets the command to cancel editing group name

Declaration
public DelegateCommand CancelNameEdit { get; }
Property Value
Type Description
DelegateCommand
View Source

Id

Gets the id for the group.

Declaration
public Guid Id { get; }
Property Value
Type Description
System.Guid
View Source

IsEditingName

Gets or sets a value indicating whether the group's name is being edited.

Declaration
public bool IsEditingName { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsGroup

Gets a value indicating whether this object represents a group. True for this class.

Declaration
public override bool IsGroup { get; }
Property Value
Type Description
System.Boolean
Overrides
DeviceListNodeViewModel.IsGroup
View Source

IsNameReadOnly

Gets a value indicating whether the group's name is not being edited.

Declaration
public bool IsNameReadOnly { get; }
Property Value
Type Description
System.Boolean
View Source

Name

Gets the name of the group.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
View Source

ParentModel

Gets the parent model for the group.

Declaration
public DeviceManagementViewModel ParentModel { get; }
Property Value
Type Description
DeviceManagementViewModel

Methods

View Source

SetName(String)

Sets the name of the group.

Declaration
public void SetName(string newName)
Parameters
Type Name Description
System.String newName

The new group name.

  • View Source
In This Article
Back to top Generated by DocFX