StyleSheetRule record Core

One rule of a StyleSheet: the elements it styles and the style.

public sealed record StyleSheetRule
Namespace
ArionUI.Presentation.Controls
Package
ArionUI.Presentation · dotnet add package ArionUI.Presentation --prerelease

Constructors

StyleSheetRule

public StyleSheetRule(ArionStyleSelector Selector, ArionStyle Style);

One rule of a StyleSheet: the elements it styles and the style.

Parameters

Selector

Which tiles or controls.

Style

What they get.

Properties

Selector

public ArionStyleSelector Selector { get; init; }

Which tiles or controls.

Style

public ArionStyle Style { get; init; }

What they get.