pub trait StackPanelProps: ElementBuilder {
// Provided methods
fn spacing<M>(self, value: impl IntoProp<f64, M>) -> Self { ... }
fn orientation<M>(self, value: impl IntoProp<Orientation, M>) -> Self { ... }
fn are_horizontal_snap_points_regular<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self { ... }
fn are_vertical_snap_points_regular<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self { ... }
fn on_horizontal_snap_points_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self { ... }
fn on_vertical_snap_points_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self { ... }
}Expand description
The properties and routed events of StackPanel.
Provided Methods§
Sourcefn orientation<M>(self, value: impl IntoProp<Orientation, M>) -> Self
fn orientation<M>(self, value: impl IntoProp<Orientation, M>) -> Self
Sourcefn are_horizontal_snap_points_regular<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self
fn are_horizontal_snap_points_regular<M>( self, value: impl IntoProp<bool, M>, ) -> Self
Sourcefn are_vertical_snap_points_regular<M>(
self,
value: impl IntoProp<bool, M>,
) -> Self
fn are_vertical_snap_points_regular<M>( self, value: impl IntoProp<bool, M>, ) -> Self
Sourcefn on_horizontal_snap_points_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self
fn on_horizontal_snap_points_changed( self, handler: impl Fn(&RoutedEventArgs) + 'static, ) -> Self
Sourcefn on_vertical_snap_points_changed(
self,
handler: impl Fn(&RoutedEventArgs) + 'static,
) -> Self
fn on_vertical_snap_points_changed( self, handler: impl Fn(&RoutedEventArgs) + 'static, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".