pub trait StackPanelImpl: PanelImpl + Upcast<StackPanel> {
// Provided methods
fn arrange_child(
this: &Self,
child: &Ref<Control>,
rect: Rect,
panel_size: Size,
orientation: Orientation,
) { ... }
fn get_control_in_direction(
this: &Self,
direction: NavigationDirection,
from: Option<&Ref<Control>>,
) -> Option<Ref<InputElement>> { ... }
}Expand description
The overridable members introduced by the class.
Provided Methods§
Sourcefn arrange_child(
this: &Self,
child: &Ref<Control>,
rect: Rect,
panel_size: Size,
orientation: Orientation,
)
fn arrange_child( this: &Self, child: &Ref<Control>, rect: Rect, panel_size: Size, orientation: Orientation, )
Arranges a single child in the slot computed by the panel.
Sourcefn get_control_in_direction(
this: &Self,
direction: NavigationDirection,
from: Option<&Ref<Control>>,
) -> Option<Ref<InputElement>>
fn get_control_in_direction( this: &Self, direction: NavigationDirection, from: Option<&Ref<Control>>, ) -> Option<Ref<InputElement>>
Gets the next control in the specified direction.
from is the control from which movement begins.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".