FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FadeInBehavior

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

    struct FadeInBehavior
    

    Plays a simple fade in animation when the associated control is attached.

    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<FadeInBehavior>
    

    Returns a strong reference to this object.

    Source

    initial_delay_property

    fn initial_delay_property() -> &'static StyledProperty<SignedDuration>
    

    Gets or sets the delay before the animation starts.

    Source

    duration_property

    fn duration_property() -> &'static StyledProperty<SignedDuration>
    

    Gets or sets the duration of the fade in animation.

    Source

    construct

    fn construct() -> Self
    

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

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a behavior.

    Source

    initial_delay

    fn initial_delay(self: &Self) -> SignedDuration
    

    The delay before the animation starts.

    Source

    set_initial_delay

    fn set_initial_delay(self: &Self, value: SignedDuration)
    

    Source

    duration

    fn duration(self: &Self) -> SignedDuration
    

    The duration of the fade in animation.

    Source

    set_duration

    fn set_duration(self: &Self, value: SignedDuration)
    

    Source

    Trait implementations

    Availability

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