You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Dialog/DialogOptions.cs

51 lines
1.1 KiB

// Copyright (c) 2020 Jonny Larsson
// License: MIT
// See https://github.com/MudBlazor/MudBlazor
// Modified version of Blazored Modal
// Copyright (c) 2019 Blazored
// License: MIT
// See https://github.com/Blazored
using System.ComponentModel;
namespace Connected.Components;
public class DialogOptions
{
public DialogPosition? Position { get; set; }
public MaxWidth? MaxWidth { get; set; }
public bool? DisableBackdropClick { get; set; }
public bool? CloseOnEscapeKey { get; set; }
public bool? NoHeader { get; set; }
public bool? CloseButton { get; set; }
public bool? FullScreen { get; set; }
public bool? FullWidth { get; set; }
}
public enum DialogPosition
{
[Description("center")]
Center,
[Description("centerleft")]
CenterLeft,
[Description("centerright")]
CenterRight,
[Description("topcenter")]
TopCenter,
[Description("topleft")]
TopLeft,
[Description("topright")]
TopRight,
[Description("bottomcenter")]
BottomCenter,
[Description("bottomleft")]
BottomLeft,
[Description("bottomright")]
BottomRight,
[Description("custom")]
Custom
}