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