FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TemplatedControlImpl

    trait · ferroui-controls · v0.5.0

    trait TemplatedControlImpl: ControlImpl + $crate::Upcast<TemplatedControl>
    

    The overridable members introduced by the class.

    View source

    Members

    on_apply_template

    fn on_apply_template(this: &Self, e: &TemplateAppliedEventArgs)
    

    Called when the control's template is applied.

    In simple terms, this means the method is called just before the control is displayed.

    Source

    on_template_changed

    fn on_template_changed(this: &Self, e: &FerroPropertyChangedEventArgs<'_>)
    

    Called when the Template property changes.

    Source

    Trait implementations

    Availability

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