Table of Contents

Class ThemeScrollDirectionValueExtension

Namespace
Nalu
Assembly
Nalu.Maui.Scaffold.dll

The theme-aware ScrollDirectionValueExtension: endpoints are declared per app theme and a theme change re-evaluates the value immediately — Background="{nalu:ThemeScrollDirectionValue DeactivatedLight=White, ActivatedLight=Transparent, DeactivatedDark=Black}" (dark endpoints fall back to the light ones when omitted).

[RequireService(new Type[] { typeof(IProvideValueTarget) })]
public sealed class ThemeScrollDirectionValueExtension : ScrollDirectionValueExtensionBase, IMarkupExtension<BindingBase>, IMarkupExtension
Inheritance
ThemeScrollDirectionValueExtension
Implements
Inherited Members

Properties

ActivatedDark

Gets or sets the dark-theme value of the activated state (falls back to ActivatedLight).

public object? ActivatedDark { get; set; }

Property Value

object

ActivatedLight

Gets or sets the light-theme value of the activated state.

public object? ActivatedLight { get; set; }

Property Value

object

DeactivatedDark

Gets or sets the dark-theme value of the deactivated state (falls back to DeactivatedLight).

public object? DeactivatedDark { get; set; }

Property Value

object

DeactivatedLight

Gets or sets the light-theme value of the deactivated state (the initial one).

public object? DeactivatedLight { get; set; }

Property Value

object