StackPanelProps
trait · ferroui-view · v0.5.0
trait StackPanelProps: ElementBuilder
The properties and routed events of StackPanel.
Members
spacingorientationare_horizontal_snap_points_regularare_vertical_snap_points_regularon_horizontal_snap_points_changedon_vertical_snap_points_changed
spacing
fn spacing<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets StackPanel::spacing_property.
orientation
fn orientation<M>(self: Self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self
Sets StackPanel::orientation_property.
are_horizontal_snap_points_regular
fn are_horizontal_snap_points_regular<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets StackPanel::are_horizontal_snap_points_regular_property.
are_vertical_snap_points_regular
fn are_vertical_snap_points_regular<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets StackPanel::are_vertical_snap_points_regular_property.
on_horizontal_snap_points_changed
fn on_horizontal_snap_points_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles StackPanel::horizontal_snap_points_changed_event.
on_vertical_snap_points_changed
fn on_vertical_snap_points_changed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
Handles StackPanel::vertical_snap_points_changed_event.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.