IGlobalStyles
trait · ferroui-base · v0.5.0
trait IGlobalStyles: IStyleHost
Defines the style host that provides styles global to the application.
The application object implements this; the root elements of logical trees return it as their styling parent, which makes the global styles and resources part of every style and resource lookup.
Members
global_styles_added
fn global_styles_added(self: &Self, handler: Rc<GlobalStylesHandler>) -> Rc<dyn IDisposable>
Raised when styles are added to the global styles or a nested styles collection. Disposing the returned handle unsubscribes.
global_styles_removed
fn global_styles_removed(self: &Self, handler: Rc<GlobalStylesHandler>) -> Rc<dyn IDisposable>
Raised when styles are removed from the global styles or a nested styles collection. Disposing the returned handle unsubscribes.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.