Class ParentOption
One selectable parent for a segment. ToString() is what the ComboBox shows.
Implements
Inherited Members
Namespace: MOSAIC.ViewModels.Devices
Assembly: MOSAIC.dll
Syntax
public sealed record ParentOption : IEquatable<ParentOption>
Constructors
ParentOption(int, string)
One selectable parent for a segment. ToString() is what the ComboBox shows.
Declaration
public ParentOption(int Index, string Label)
Parameters
| Type | Name | Description |
|---|---|---|
| int | Index | |
| string | Label |
Properties
Index
Declaration
public int Index { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Label
Declaration
public string Label { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |