FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IThemeVariantProvider

    trait · ferroui-base · v0.5.0

    trait IThemeVariantProvider: IResourceProvider
    

    Resource provider with theme variant awareness.

    Can be used with ResourceDictionary::theme_dictionaries. This is useful for specifying multiple resource sets for different themes.

    View source

    Members

    key

    fn key(self: &Self) -> Option<ThemeVariant>
    

    The key that will be used in the theme dictionaries of the containing resource dictionary.

    Source

    set_key

    fn set_key(self: &Self, value: Option<ThemeVariant>)
    

    Source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.