Table of Contents

Interface IHasElevation

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.Core.dll

Indicates the component supports an Elevation parameter — a Material Design elevation level (0–24) that resolves at render to (a) a derived box-shadow via Elevation(int, string?) and (b) a surface-tint percentage that consuming components can apply to lift the surface in dark mode.

Precedence: when a component implements both IHasShadow and IHasElevation, an explicit Shadow value wins for --bob-inline-shadow; Elevation is still consulted to emit data-bob-elevation and --bob-inline-elevation-tint.

public interface IHasElevation

Properties

Elevation

Material Design elevation level. Clamped to 0..24 at render. null disables elevation entirely (no data-bob-elevation, no derived shadow, no tint var).

int? Elevation { get; set; }

Property Value

int?