FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DelayedLoadBehavior

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct DelayedLoadBehavior
    

    Hides the associated control when it is attached to the visual tree and shows it again after a delay.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<DelayedLoadBehavior>
    

    Returns a strong reference to this object.

    Source

    delay_property

    fn delay_property() -> &'static StyledProperty<Duration>
    

    Identifies the Delay property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    delay

    fn delay(self: &Self) -> Duration
    

    Gets or sets the delay before the associated control is shown. This is a property of the object model.

    Source

    set_delay

    fn set_delay(self: &Self, value: Duration)
    

    Source

    Trait implementations

    Availability

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