Table of Contents

Class SelectOptionsDialog

Namespace
The.Model.Editor
Assembly
Instagile.Model.dll

Two-level hierarchical option picker

public sealed class SelectOptionsDialog : DialogBase<Tuple<Guid, Guid?>>, IDialog<Tuple<Guid, Guid?>>, IDialog
Inheritance
SelectOptionsDialog
Implements
Inherited Members

Properties

DoCancel

public ICommand DoCancel { get; }

Property Value

ICommand

DoOK

public ICommand DoOK { get; }

Property Value

ICommand

First

public IProperty<IOptionModel<Guid>?> First { get; }

Property Value

IProperty<IOptionModel<Guid>>

FirstChoices

public ObservableCollection<IOptionModel<Guid>> FirstChoices { get; }

Property Value

ObservableCollection<IOptionModel<Guid>>

FirstLabel

public string FirstLabel { get; }

Property Value

string

Second

public IProperty<IOptionModel<Guid>?> Second { get; }

Property Value

IProperty<IOptionModel<Guid>>

SecondChoices

public ObservableCollection<IOptionModel<Guid>> SecondChoices { get; }

Property Value

ObservableCollection<IOptionModel<Guid>>

SecondLabel

public string SecondLabel { get; }

Property Value

string

Methods

Create<T, U>(string, IEnumerable<T>, Func<T, string?>, string, Func<T, IEnumerable<U>>, Func<U, string?>)

public static SelectOptionsDialog Create<T, U>(string firstLabel, IEnumerable<T> firstChoices, Func<T, string?> getFirstDoc, string secondLabel, Func<T, IEnumerable<U>> getSecond, Func<U, string?> getSecondDoc) where T : IOptionModel<Guid> where U : IOptionModel<Guid>

Parameters

firstLabel string
firstChoices IEnumerable<T>
getFirstDoc Func<T, string>
secondLabel string
getSecond Func<T, IEnumerable<U>>
getSecondDoc Func<U, string>

Returns

SelectOptionsDialog

Type Parameters

T
U