pub struct PseudoClassViewModel { /* private fields */ }Expand description
A pseudo-class a control declares, with whether it is set on the control. Setting
is_active sets or clears the pseudo-class on the control.
Implementations§
Trait Implementations§
Source§impl INotifyPropertyChanged for PseudoClassViewModel
impl INotifyPropertyChanged for PseudoClassViewModel
Source§fn property_changed(&self) -> &Event<str>
fn property_changed(&self) -> &Event<str>
The event raised when a property value changes.
Source§fn as_notify_property_changing(&self) -> Option<&dyn INotifyPropertyChanging>
fn as_notify_property_changing(&self) -> Option<&dyn INotifyPropertyChanging>
The object as
INotifyPropertyChanging, when it also raises the event of a property
that is about to change; None by default. Read moreSource§impl MarkupTyped for PseudoClassViewModel
impl MarkupTyped for PseudoClassViewModel
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl !Freeze for PseudoClassViewModel
impl !RefUnwindSafe for PseudoClassViewModel
impl !Send for PseudoClassViewModel
impl !Sync for PseudoClassViewModel
impl !UnwindSafe for PseudoClassViewModel
impl Unpin for PseudoClassViewModel
impl UnsafeUnpin for PseudoClassViewModel
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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