FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CalendarDayButtonAutomationPeer

    struct · ferroui-controls · v0.5.0

    struct CalendarDayButtonAutomationPeer
    

    An automation peer which represents a CalendarDayButton.

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

    Returns a strong reference to this object.

    Source

    is_selected

    fn is_selected(self: &Self) -> bool
    

    Gets a value that indicates whether the day is selected (the selection item provider contract).

    Source

    selection_container

    fn selection_container(self: &Self) -> Option<Rc<dyn ISelectionProvider>>
    

    Gets the selection provider of the calendar of the day button (the selection item provider contract).

    Source

    select

    fn select(self: &Self) -> Result<(), AutomationError>
    

    Clears any existing selection and then selects the day (the selection item provider contract).

    Source

    Trait implementations

    Availability

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