FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WinUIXamlOptions

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

    struct WinUIXamlOptions
    

    Per-document compatibility policy; never stored globally. Custom mappings take precedence over built-in aliases. Duplicate/conflicting mappings are rejected before any edits.

    View source

    Members

    namespaces

    namespaces: Vec<WinUIXamlNamespaceMapping>
    

    Source

    types

    types: Vec<WinUIXamlTypeMapping>
    

    Source

    members

    members: Vec<WinUIXamlMemberMapping>
    

    Source

    theme_resources

    theme_resources: WinUIThemeResourcePolicy
    

    Source

    x_bind

    x_bind: WinUIXBindPolicy
    

    Source

    style_resources

    style_resources: Vec<String>
    

    WinUI Style resource keys explicitly known to be ported ControlTheme resources.

    Source

    asset_base_uri

    asset_base_uri: Option<String>
    

    Replaces ms-appx:/// in resource-bearing URI attributes. For example, Some("ferres://WinUIGallery/".into()). Must be an absolute URI ending in /.

    Source

    new

    fn new() -> Self
    

    Source

    for_winui_theme

    fn for_winui_theme() -> Self
    

    Policy for an application that installs ferroui-themes-winui. These keys exist as ControlTheme resources in that crate. This call does not install the theme.

    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
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq

    Availability

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