ferroui_xaml_interactions_responsive
module · ferroui-xaml-interactions-responsive · v0.5.0
module ferroui_xaml_interactions_responsive
ferroui-xaml-interactions-responsive
Behaviors that switch style classes by the size of a control, ported from the
Xaml.Behaviors.Interactions.Responsive project of Xaml.Behaviors (see NOTICE.md):
AdaptiveBehaviorobserves the bounds of its control (or of its source control) and adds or removes the class of each of itsAdaptiveClassSetters as the width and the height meet the minimum and maximum of the setter;AspectRatioBehaviordoes the same with the ratio of the width to the height and the minimum and maximum ratios of itsAspectRatioClassSetters.
The namespace of the crate is FerroUI.Xaml.Interactions.Responsive, mapped into the default
XML namespace of the framework: documents name its types without a prefix once
register_types ran.
Contents
AdaptiveBehavior— structAdaptiveClassSetters— structAdaptiveClassSetter— structAspectRatioBehavior— structAspectRatioClassSetters— structAspectRatioClassSetter— structregister_types— functionASSEMBLY— static
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.