FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WinUIThemeResourcePolicy

    enum · ferroui-markup-xaml-winui · v0.5.0

    enum WinUIThemeResourcePolicy
    

    How WinUI theme lookups are adapted. The default requires an explicit decision.

    View source

    Members

    Reject

    Reject
    

    Report the use; do not silently turn a theme lookup into another lookup.

    Source

    DynamicResource

    DynamicResource
    

    Use the framework's live resource lookup. The caller supplies the ported dictionaries and theme scopes; this does not import WinUI resources or emulate Windows settings.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq

    Availability

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