Table of Contents

Class DialogOptions

Namespace
UraniumUI.Dialogs
Assembly
UraniumUI.dll
public class DialogOptions
Inheritance
DialogOptions
Inherited Members

Properties

Effects

public List<Func<RoutingEffect>> Effects { get; }

Property Value

List<Func<RoutingEffect>>

GetBackdropColor

Factory for backdrop color. It can be configured to return different colors based on the current theme.

public Func<Color> GetBackdropColor { get; set; }

Property Value

Func<Color>

Remarks

It can be used like this:

options.GetBackdropColor = () => Application.Current.RequestedTheme switch
{
   AppTheme.Light => Color.FromArgb("#80000000"),
   AppTheme.Dark => Color.FromArgb("#80ffffff"),
   _ => Color.FromArgb("#80808080")
}

GetDivider

public Func<View> GetDivider { get; set; }

Property Value

Func<View>

GetFooter

public DialogOptions.GetFooterDelegate GetFooter { get; set; }

Property Value

DialogOptions.GetFooterDelegate

GetHeader

public DialogOptions.GetHeaderDelegate GetHeader { get; set; }

Property Value

DialogOptions.GetHeaderDelegate