ValueFrameViewModel
struct · ferroui-diagnostics · v0.5.0
struct ValueFrameViewModel
A frame of the values of a control (its local values, a style or control theme that applies to it, the values its template gives it), with the setters of the frame.
Members
new
fn new(styled_element: &StyledElement, value_frame: Rc<dyn IValueFrameDiagnostic>, clipboard: Option<Rc<dyn IClipboard>>) -> Rc<Self>
is_active
fn is_active(self: &Self) -> bool
set_is_active
fn set_is_active(self: &Self, value: bool)
is_visible
fn is_visible(self: &Self) -> bool
set_is_visible
fn set_is_visible(self: &Self, value: bool)
description
fn description(self: &Self) -> Option<String>
setters
fn setters(self: &Self) -> &[SetterViewModelRef]
setters_source
fn setters_source(self: &Self) -> ItemsSource
The setters as a source of items, each as a value of its class (for the data templates of the view, which choose by the class of the setter).
update
fn update(self: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelPartialEqINotifyPropertyChangedMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.