Class SelectOptionDialog
Single-level option picker
public sealed class SelectOptionDialog : DialogBase<Guid?>, IDialog<Guid?>, IDialog
- Inheritance
-
SelectOptionDialog
- Implements
- Inherited Members
Constructors
SelectOptionDialog(string, Guid, IEnumerable<IOptionModel<Guid>>, Func<IOptionModel<Guid>?, string?>)
public SelectOptionDialog(string label, Guid initialValue, IEnumerable<IOptionModel<Guid>> choices, Func<IOptionModel<Guid>?, string?> getDoc)
Parameters
labelstringinitialValueGuidchoicesIEnumerable<IOptionModel<Guid>>getDocFunc<IOptionModel<Guid>, string>
Properties
Choices
public ObservableCollection<IOptionModel<Guid>> Choices { get; }
Property Value
DoCancel
public ICommand DoCancel { get; }
Property Value
DoOK
public ICommand DoOK { get; }
Property Value
Label
public string Label { get; }
Property Value
Selection
public IProperty<IOptionModel<Guid>> Selection { get; }
Property Value
Methods
Create<T>(string, Guid, IEnumerable<T>, Func<T, string?>)
public static SelectOptionDialog Create<T>(string label, Guid initialValue, IEnumerable<T> choices, Func<T, string?> getDoc) where T : IOptionModel<Guid>
Parameters
labelstringinitialValueGuidchoicesIEnumerable<T>getDocFunc<T, string>
Returns
Type Parameters
T