Class ParentOption

One selectable parent for a segment. ToString() is what the ComboBox shows.

Inheritance
ParentOption
Implements
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.

Overrides
object.ToString()

Implements

IEquatable<T>

Search documentation

Start typing to search the documentation.