pub struct TableViewSortingEventArgs<T> { /* private fields */ }Expand description
XAML TableViewSortingEventArgs, raised before a sort is applied.
Implementations§
Source§impl<T> TableViewSortingEventArgs<T>
impl<T> TableViewSortingEventArgs<T>
Sourcepub fn column(&self) -> Option<Handle<TableViewColumn<T>>>
pub fn column(&self) -> Option<Handle<TableViewColumn<T>>>
Column: the column to sort; None when every sort is being cleared.
Sourcepub fn direction(&self) -> SortDirection
pub fn direction(&self) -> SortDirection
Direction: the direction about to be applied.
Sourcepub fn cancel(&self) -> bool
pub fn cancel(&self) -> bool
Cancel: whether the table leaves its sort as it is, the application ordering the rows itself.
Sourcepub fn set_cancel(&self, cancel: bool)
pub fn set_cancel(&self, cancel: bool)
Sets Cancel.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for TableViewSortingEventArgs<T>
impl<T> !RefUnwindSafe for TableViewSortingEventArgs<T>
impl<T> !Sync for TableViewSortingEventArgs<T>
impl<T> Forget for TableViewSortingEventArgs<T>
impl<T> Move for TableViewSortingEventArgs<T>
impl<T> Send for TableViewSortingEventArgs<T>
impl<T> Unpin for TableViewSortingEventArgs<T>
impl<T> UnsafeUnpin for TableViewSortingEventArgs<T>
impl<T> UnwindSafe for TableViewSortingEventArgs<T>
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