pub struct ComboBoxSelectionChangedEventArgs {
pub removed_item: Option<ComboBoxSelectedItem>,
pub added_item: Option<ComboBoxSelectedItem>,
}Expand description
XAML SelectionChangedEventArgs of a ComboBox: what was selected and what is now.
Fields§
§removed_item: Option<ComboBoxSelectedItem>RemovedItems: what was selected, if anything.
added_item: Option<ComboBoxSelectedItem>AddedItems: what the box asks to select, if anything.
Implementations§
Source§impl ComboBoxSelectionChangedEventArgs
impl ComboBoxSelectionChangedEventArgs
Sourcepub fn selected_index(&self) -> Option<usize>
pub fn selected_index(&self) -> Option<usize>
The selected_index the box asks for.
Sourcepub fn custom_value(&self) -> Option<&str>
pub fn custom_value(&self) -> Option<&str>
The custom_value the box asks for.
Trait Implementations§
impl Eq for ComboBoxSelectionChangedEventArgs
impl StructuralPartialEq for ComboBoxSelectionChangedEventArgs
Auto Trait Implementations§
impl Forget for ComboBoxSelectionChangedEventArgs
impl Freeze for ComboBoxSelectionChangedEventArgs
impl Move for ComboBoxSelectionChangedEventArgs
impl RefUnwindSafe for ComboBoxSelectionChangedEventArgs
impl Send for ComboBoxSelectionChangedEventArgswhere
RawVecInner: Send,
impl Sync for ComboBoxSelectionChangedEventArgswhere
RawVecInner: Sync,
impl Unpin for ComboBoxSelectionChangedEventArgs
impl UnsafeUnpin for ComboBoxSelectionChangedEventArgs
impl UnwindSafe for ComboBoxSelectionChangedEventArgswhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.