Skip to main content

TopLevelProps

Trait TopLevelProps 

Source
pub trait TopLevelProps: ElementBuilder {
    // Provided methods
    fn transparency_level_hint<M>(
        self,
        value: impl IntoProp<WindowTransparencyLevelCollection, M>,
    ) -> Self { ... }
    fn transparency_background_fallback<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IBrush>>, M>,
    ) -> Self { ... }
    fn system_bar_color<M>(
        self,
        value: impl IntoProp<Option<Ref<SolidColorBrush>>, M>,
    ) -> Self { ... }
    fn auto_safe_area_padding<M>(self, value: impl IntoProp<bool, M>) -> Self { ... }
    fn on_back_requested(
        self,
        handler: impl Fn(&RoutedEventArgs) + 'static,
    ) -> Self { ... }
}
Expand description

The properties and routed events of TopLevel.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§