FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MicaBackdrop

    struct · ferroui-controls · v0.5.0

    struct MicaBackdrop
    

    The Mica backdrop of a window (WinUI Microsoft.UI.Xaml.Media.MicaBackdrop): a MicaController of its kind for each target.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<MicaBackdrop>
    

    Returns a strong reference to this object.

    Source

    kind_property

    fn kind_property() -> &'static StyledProperty<MicaKind>
    

    Kind (default Base).

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    kind

    fn kind(self: &Self) -> MicaKind
    

    Source

    set_kind

    fn set_kind(self: &Self, value: MicaKind)
    

    Source

    controller_of

    fn controller_of(self: &Self, target: &Rc<dyn ICompositionSupportsSystemBackdrop>) -> Option<Rc<SystemBackdropController>>
    

    The controller of target, while the backdrop is connected to it.

    Source

    Trait implementations

    Availability

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