#[repr(C)]pub struct VirtualizingPanelVTable {
pub base: <Panel as ObjectType>::VTable,
pub scroll_into_view: fn(&VirtualizingPanel, i32) -> Option<Ref<Control>>,
pub container_from_index: fn(&VirtualizingPanel, i32) -> Option<Ref<Control>>,
pub index_from_container: fn(&VirtualizingPanel, &Ref<Control>) -> i32,
pub get_realized_containers: fn(&VirtualizingPanel) -> Option<Vec<Ref<Control>>>,
pub get_control_in_direction: fn(&VirtualizingPanel, NavigationDirection, Option<&Ref<InputElement>>, bool) -> Option<Ref<InputElement>>,
pub on_items_control_changed: fn(&VirtualizingPanel, Option<&Ref<ItemsControl>>),
pub on_items_changed: fn(&VirtualizingPanel, &Rc<ItemsSourceView>, &ItemsChangedEventArgs<'_>),
}Expand description
The virtual table of the class.
Fields§
§base: <Panel as ObjectType>::VTable§scroll_into_view: fn(&VirtualizingPanel, i32) -> Option<Ref<Control>>§container_from_index: fn(&VirtualizingPanel, i32) -> Option<Ref<Control>>§index_from_container: fn(&VirtualizingPanel, &Ref<Control>) -> i32§get_realized_containers: fn(&VirtualizingPanel) -> Option<Vec<Ref<Control>>>§get_control_in_direction: fn(&VirtualizingPanel, NavigationDirection, Option<&Ref<InputElement>>, bool) -> Option<Ref<InputElement>>§on_items_control_changed: fn(&VirtualizingPanel, Option<&Ref<ItemsControl>>)§on_items_changed: fn(&VirtualizingPanel, &Rc<ItemsSourceView>, &ItemsChangedEventArgs<'_>)Trait Implementations§
Source§impl Clone for VirtualizingPanelVTable
impl Clone for VirtualizingPanelVTable
impl Copy for VirtualizingPanelVTable
Auto Trait Implementations§
impl Freeze for VirtualizingPanelVTable
impl RefUnwindSafe for VirtualizingPanelVTable
impl Send for VirtualizingPanelVTable
impl Sync for VirtualizingPanelVTable
impl Unpin for VirtualizingPanelVTable
impl UnsafeUnpin for VirtualizingPanelVTable
impl UnwindSafe for VirtualizingPanelVTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more