Class SelectOptionsDialog
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
DoOK
public ICommand DoOK { get; }
Property Value
First
public IProperty<IOptionModel<Guid>?> First { get; }
Property Value
FirstChoices
public ObservableCollection<IOptionModel<Guid>> FirstChoices { get; }
Property Value
FirstLabel
public string FirstLabel { get; }
Property Value
Second
public IProperty<IOptionModel<Guid>?> Second { get; }
Property Value
SecondChoices
public ObservableCollection<IOptionModel<Guid>> SecondChoices { get; }
Property Value
SecondLabel
public string SecondLabel { get; }
Property Value
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
firstLabelstringfirstChoicesIEnumerable<T>getFirstDocFunc<T, string>secondLabelstringgetSecondFunc<T, IEnumerable<U>>getSecondDocFunc<U, string>
Returns
Type Parameters
TU