CalendarProps
trait · ferroui-view · v0.5.0
trait CalendarProps: ElementBuilder
The properties and routed events of Calendar.
Members
first_day_of_weekis_today_highlightedheader_backgroundis_week_number_visibleweek_number_ruledisplay_modeselection_modeallow_tap_range_selectionselected_datedisplay_datedisplay_date_startdisplay_date_end
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.
is_today_highlighted
fn is_today_highlighted<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets Calendar::is_today_highlighted_property.
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.
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.
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.
display_mode
fn display_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::CalendarMode, M>) -> Self
Sets Calendar::display_mode_property.
selection_mode
fn selection_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::CalendarSelectionMode, M>) -> Self
Sets Calendar::selection_mode_property.
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.
selected_date
fn selected_date<M>(self: Self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self
Sets Calendar::selected_date_property.
display_date
fn display_date<M>(self: Self, value: impl IntoProp<ferroui_base::utilities::DateTime, M>) -> Self
Sets Calendar::display_date_property.
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.
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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.