mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 09:01:32 -07:00
move to selections
This commit is contained in:
parent
150e3d6de4
commit
520f0bda48
@ -3,5 +3,16 @@
|
||||
static class BootstrapperStyleEx
|
||||
{
|
||||
public static IBootstrapperDialog GetNew(this BootstrapperStyle bootstrapperStyle) => Frontend.GetBootstrapperDialog(bootstrapperStyle);
|
||||
|
||||
public static IReadOnlyCollection<BootstrapperStyle> Selections => new BootstrapperStyle[]
|
||||
{
|
||||
BootstrapperStyle.FluentDialog,
|
||||
BootstrapperStyle.ProgressFluentDialog,
|
||||
BootstrapperStyle.ProgressFluentAeroDialog,
|
||||
BootstrapperStyle.ByfronDialog,
|
||||
BootstrapperStyle.LegacyDialog2011,
|
||||
BootstrapperStyle.LegacyDialog2008,
|
||||
BootstrapperStyle.VistaDialog
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -65,16 +65,7 @@ namespace Bloxstrap.UI.ViewModels.Menu
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<BootstrapperStyle> Dialogs { get; } = new BootstrapperStyle[]
|
||||
{
|
||||
BootstrapperStyle.FluentDialog,
|
||||
BootstrapperStyle.ProgressFluentDialog,
|
||||
BootstrapperStyle.ProgressFluentAeroDialog,
|
||||
BootstrapperStyle.ByfronDialog,
|
||||
BootstrapperStyle.LegacyDialog2011,
|
||||
BootstrapperStyle.LegacyDialog2008,
|
||||
BootstrapperStyle.VistaDialog
|
||||
};
|
||||
public IEnumerable<BootstrapperStyle> Dialogs { get; } = BootstrapperStyleEx.Selections;
|
||||
|
||||
public BootstrapperStyle Dialog
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user