FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CalendarProps

    trait · ferroui-view · v0.5.0

    trait CalendarProps: ElementBuilder
    

    The properties and routed events of Calendar.

    View source

    Members

    first_day_of_week

    fn first_day_of_week<M>(self: Self, value: impl IntoProp<ferroui_base::utilities::DayOfWeek, M>) -> Self
    

    Sets Calendar::first_day_of_week_property.

    Source

    is_today_highlighted

    fn is_today_highlighted<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets Calendar::is_today_highlighted_property.

    Source

    header_background

    fn header_background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
    

    Sets Calendar::header_background_property.

    Source

    is_week_number_visible

    fn is_week_number_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets Calendar::is_week_number_visible_property.

    Source

    week_number_rule

    fn week_number_rule<M>(self: Self, value: impl IntoProp<ferroui_base::utilities::CalendarWeekRule, M>) -> Self
    

    Sets Calendar::week_number_rule_property.

    Source

    display_mode

    fn display_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::CalendarMode, M>) -> Self
    

    Sets Calendar::display_mode_property.

    Source

    selection_mode

    fn selection_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::CalendarSelectionMode, M>) -> Self
    

    Sets Calendar::selection_mode_property.

    Source

    allow_tap_range_selection

    fn allow_tap_range_selection<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets Calendar::allow_tap_range_selection_property.

    Source

    selected_date

    fn selected_date<M>(self: Self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self
    

    Sets Calendar::selected_date_property.

    Source

    display_date

    fn display_date<M>(self: Self, value: impl IntoProp<ferroui_base::utilities::DateTime, M>) -> Self
    

    Sets Calendar::display_date_property.

    Source

    display_date_start

    fn display_date_start<M>(self: Self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self
    

    Sets Calendar::display_date_start_property.

    Source

    display_date_end

    fn display_date_end<M>(self: Self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self
    

    Sets Calendar::display_date_end_property.

    Source

    Trait implementations

    Availability

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