This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

StyleEntry Pennington.UI.Styling

One resolved style slot: the effective class string plus the per-layer inputs that produced it.

Properties

DefaultValue string
The Pennington.UI component default for the slot.
Effective string
Class string the components render.
Key string
Slot key from StyleKeys.
OverrideValue string
The consumer's override, when one was supplied.
SkinValue string
The template skin's value, when the template re-skins this slot.
Source StyleSource
Layer that determined Effective.

Constructors

StyleEntry

#
public StyleEntry(string Key, string Effective, StyleSource Source, string DefaultValue, string SkinValue, string OverrideValue)

One resolved style slot: the effective class string plus the per-layer inputs that produced it.

Parameters

Key string
Slot key from StyleKeys.
Effective string
Class string the components render.
Source StyleSource
Layer that determined Effective.
DefaultValue string
The Pennington.UI component default for the slot.
SkinValue string
The template skin's value, when the template re-skins this slot.
OverrideValue string
The consumer's override, when one was supplied.

Pennington.UI.Styling.StyleEntry

namespace Pennington.UI.Styling;

/// One resolved style slot: the effective class string plus the per-layer inputs that produced it.
public record StyleEntry
{
    /// The Pennington.UI component default for the slot.
    
public string DefaultValue { get; set; }
/// Class string the components render.
public string Effective { get; set; }
/// Slot key from StyleKeys.
public string Key { get; set; }
/// The consumer's override, when one was supplied.
public string OverrideValue { get; set; }
/// The template skin's value, when the template re-skins this slot.
public string SkinValue { get; set; }
/// Layer that determined Effective.
public StyleSource Source { get; set; }
/// One resolved style slot: the effective class string plus the per-layer inputs that produced it.
public StyleEntry(string Key, string Effective, StyleSource Source, string DefaultValue, string SkinValue, string OverrideValue)
; }