FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BindPointerOverBehavior

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

    struct BindPointerOverBehavior
    

    Binds is_pointer_over to whether the pointer is over the associated control.

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

    Returns a strong reference to this object.

    Source

    is_pointer_over_property

    fn is_pointer_over_property() -> &'static StyledProperty<bool>
    

    Identifies the IsPointerOver 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

    is_pointer_over

    fn is_pointer_over(self: &Self) -> bool
    

    Gets or sets whether the pointer is over the associated control. This is a property of the object model, bound in both directions by default.

    Source

    set_is_pointer_over

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

    Source

    Trait implementations

    Availability

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