FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    new

    fn new(styled_element: &StyledElement, value_frame: Rc<dyn IValueFrameDiagnostic>, clipboard: Option<Rc<dyn IClipboard>>) -> Rc<Self>
    

    Source

    is_active

    fn is_active(self: &Self) -> bool
    

    Source

    set_is_active

    fn set_is_active(self: &Self, value: bool)
    

    Source

    is_visible

    fn is_visible(self: &Self) -> bool
    

    Source

    set_is_visible

    fn set_is_visible(self: &Self, value: bool)
    

    Source

    description

    fn description(self: &Self) -> Option<String>
    

    Source

    setters

    fn setters(self: &Self) -> &[SetterViewModelRef]
    

    Source

    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).

    Source

    update

    fn update(self: &Self)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.