#![allow(clippy::too_many_arguments, missing_docs)]
use crate::builder::{El, ElementBuilder, IntoProp, ViewClass};
use ferroui_base::{ObjectType, Upcast};
pub use ferroui_controls::primitives::AccessText;
impl ViewClass for ferroui_controls::primitives::AccessText {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::AccessText>::new()
}
}
pub fn access_text() -> El<ferroui_controls::primitives::AccessText> {
El::new()
}
pub use ferroui_controls::shapes::Arc;
impl ViewClass for ferroui_controls::shapes::Arc {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Arc>::new()
}
}
pub fn arc() -> El<ferroui_controls::shapes::Arc> {
El::new()
}
pub use ferroui_controls::AutoCompleteBox;
impl ViewClass for ferroui_controls::AutoCompleteBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::AutoCompleteBox>::new()
}
}
pub fn auto_complete_box() -> El<ferroui_controls::AutoCompleteBox> {
El::new()
}
pub use ferroui_controls::Border;
impl ViewClass for ferroui_controls::Border {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Border>::new()
}
}
pub fn border() -> El<ferroui_controls::Border> {
El::new()
}
pub use ferroui_controls::Button;
impl ViewClass for ferroui_controls::Button {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Button>::new()
}
}
pub fn button() -> El<ferroui_controls::Button> {
El::new()
}
pub use ferroui_controls::ButtonSpinner;
impl ViewClass for ferroui_controls::ButtonSpinner {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ButtonSpinner>::new()
}
}
pub fn button_spinner() -> El<ferroui_controls::ButtonSpinner> {
El::new()
}
pub use ferroui_controls::Calendar;
impl ViewClass for ferroui_controls::Calendar {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Calendar>::new()
}
}
pub fn calendar() -> El<ferroui_controls::Calendar> {
El::new()
}
pub use ferroui_controls::primitives::CalendarButton;
impl ViewClass for ferroui_controls::primitives::CalendarButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::CalendarButton>::new()
}
}
pub fn calendar_button() -> El<ferroui_controls::primitives::CalendarButton> {
El::new()
}
pub use ferroui_controls::CalendarDatePicker;
impl ViewClass for ferroui_controls::CalendarDatePicker {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CalendarDatePicker>::new()
}
}
pub fn calendar_date_picker() -> El<ferroui_controls::CalendarDatePicker> {
El::new()
}
pub use ferroui_controls::primitives::CalendarDayButton;
impl ViewClass for ferroui_controls::primitives::CalendarDayButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::CalendarDayButton>::new()
}
}
pub fn calendar_day_button() -> El<ferroui_controls::primitives::CalendarDayButton> {
El::new()
}
pub use ferroui_controls::primitives::CalendarItem;
impl ViewClass for ferroui_controls::primitives::CalendarItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::CalendarItem>::new()
}
}
pub fn calendar_item() -> El<ferroui_controls::primitives::CalendarItem> {
El::new()
}
pub use ferroui_controls::Canvas;
impl ViewClass for ferroui_controls::Canvas {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Canvas>::new()
}
}
pub fn canvas() -> El<ferroui_controls::Canvas> {
El::new()
}
pub use ferroui_controls::Carousel;
impl ViewClass for ferroui_controls::Carousel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Carousel>::new()
}
}
pub fn carousel() -> El<ferroui_controls::Carousel> {
El::new()
}
pub use ferroui_controls::CarouselPage;
impl ViewClass for ferroui_controls::CarouselPage {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CarouselPage>::new()
}
}
pub fn carousel_page() -> El<ferroui_controls::CarouselPage> {
El::new()
}
pub use ferroui_controls::CheckBox;
impl ViewClass for ferroui_controls::CheckBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CheckBox>::new()
}
}
pub fn check_box() -> El<ferroui_controls::CheckBox> {
El::new()
}
pub use ferroui_controls::ComboBox;
impl ViewClass for ferroui_controls::ComboBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ComboBox>::new()
}
}
pub fn combo_box() -> El<ferroui_controls::ComboBox> {
El::new()
}
pub use ferroui_controls::ComboBoxItem;
impl ViewClass for ferroui_controls::ComboBoxItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ComboBoxItem>::new()
}
}
pub fn combo_box_item() -> El<ferroui_controls::ComboBoxItem> {
El::new()
}
pub use ferroui_controls::CommandBar;
impl ViewClass for ferroui_controls::CommandBar {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CommandBar>::new()
}
}
pub fn command_bar() -> El<ferroui_controls::CommandBar> {
El::new()
}
pub use ferroui_controls::CommandBarButton;
impl ViewClass for ferroui_controls::CommandBarButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CommandBarButton>::new()
}
}
pub fn command_bar_button() -> El<ferroui_controls::CommandBarButton> {
El::new()
}
pub use ferroui_controls::CommandBarSeparator;
impl ViewClass for ferroui_controls::CommandBarSeparator {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CommandBarSeparator>::new()
}
}
pub fn command_bar_separator() -> El<ferroui_controls::CommandBarSeparator> {
El::new()
}
pub use ferroui_controls::CommandBarToggleButton;
impl ViewClass for ferroui_controls::CommandBarToggleButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::CommandBarToggleButton>::new()
}
}
pub fn command_bar_toggle_button() -> El<ferroui_controls::CommandBarToggleButton> {
El::new()
}
pub use ferroui_controls::ContentControl;
impl ViewClass for ferroui_controls::ContentControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ContentControl>::new()
}
}
pub fn content_control() -> El<ferroui_controls::ContentControl> {
El::new()
}
pub use ferroui_controls::ContentPage;
impl ViewClass for ferroui_controls::ContentPage {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ContentPage>::new()
}
}
pub fn content_page() -> El<ferroui_controls::ContentPage> {
El::new()
}
pub use ferroui_controls::presenters::ContentPresenter;
impl ViewClass for ferroui_controls::presenters::ContentPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::presenters::ContentPresenter>::new()
}
}
pub fn content_presenter() -> El<ferroui_controls::presenters::ContentPresenter> {
El::new()
}
pub use ferroui_controls::ContextMenu;
impl ViewClass for ferroui_controls::ContextMenu {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ContextMenu>::new()
}
}
pub fn context_menu() -> El<ferroui_controls::ContextMenu> {
El::new()
}
pub use ferroui_controls::Control;
impl ViewClass for ferroui_controls::Control {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Control>::new()
}
}
pub fn control() -> El<ferroui_controls::Control> {
El::new()
}
pub use ferroui_controls::DataValidationErrors;
impl ViewClass for ferroui_controls::DataValidationErrors {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::DataValidationErrors>::new()
}
}
pub fn data_validation_errors() -> El<ferroui_controls::DataValidationErrors> {
El::new()
}
pub use ferroui_controls::DatePicker;
impl ViewClass for ferroui_controls::DatePicker {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::DatePicker>::new()
}
}
pub fn date_picker() -> El<ferroui_controls::DatePicker> {
El::new()
}
pub use ferroui_controls::DatePickerPresenter;
impl ViewClass for ferroui_controls::DatePickerPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::DatePickerPresenter>::new()
}
}
pub fn date_picker_presenter() -> El<ferroui_controls::DatePickerPresenter> {
El::new()
}
pub use ferroui_controls::date_time_pickers::DateTimePickerPanel;
impl ViewClass for ferroui_controls::date_time_pickers::DateTimePickerPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::date_time_pickers::DateTimePickerPanel>::new()
}
}
pub fn date_time_picker_panel() -> El<ferroui_controls::date_time_pickers::DateTimePickerPanel> {
El::new()
}
pub use ferroui_controls::Decorator;
impl ViewClass for ferroui_controls::Decorator {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Decorator>::new()
}
}
pub fn decorator() -> El<ferroui_controls::Decorator> {
El::new()
}
pub use ferroui_controls::DockPanel;
impl ViewClass for ferroui_controls::DockPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::DockPanel>::new()
}
}
pub fn dock_panel() -> El<ferroui_controls::DockPanel> {
El::new()
}
pub use ferroui_controls::DrawerPage;
impl ViewClass for ferroui_controls::DrawerPage {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::DrawerPage>::new()
}
}
pub fn drawer_page() -> El<ferroui_controls::DrawerPage> {
El::new()
}
pub use ferroui_controls::DropDownButton;
impl ViewClass for ferroui_controls::DropDownButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::DropDownButton>::new()
}
}
pub fn drop_down_button() -> El<ferroui_controls::DropDownButton> {
El::new()
}
pub use ferroui_controls::shapes::Ellipse;
impl ViewClass for ferroui_controls::shapes::Ellipse {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Ellipse>::new()
}
}
pub fn ellipse() -> El<ferroui_controls::shapes::Ellipse> {
El::new()
}
pub use ferroui_controls::embedding::EmbeddableControlRoot;
impl ViewClass for ferroui_controls::embedding::EmbeddableControlRoot {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::embedding::EmbeddableControlRoot>::new()
}
}
pub fn embeddable_control_root() -> El<ferroui_controls::embedding::EmbeddableControlRoot> {
El::new()
}
pub use ferroui_controls::Expander;
impl ViewClass for ferroui_controls::Expander {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Expander>::new()
}
}
pub fn expander() -> El<ferroui_controls::Expander> {
El::new()
}
pub use ferroui_controls::ExperimentalAcrylicBorder;
impl ViewClass for ferroui_controls::ExperimentalAcrylicBorder {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ExperimentalAcrylicBorder>::new()
}
}
pub fn experimental_acrylic_border() -> El<ferroui_controls::ExperimentalAcrylicBorder> {
El::new()
}
pub use ferroui_controls::FlexPanel;
impl ViewClass for ferroui_controls::FlexPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::FlexPanel>::new()
}
}
pub fn flex_panel() -> El<ferroui_controls::FlexPanel> {
El::new()
}
pub use ferroui_controls::FlyoutPresenter;
impl ViewClass for ferroui_controls::FlyoutPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::FlyoutPresenter>::new()
}
}
pub fn flyout_presenter() -> El<ferroui_controls::FlyoutPresenter> {
El::new()
}
pub use ferroui_controls::Grid;
impl ViewClass for ferroui_controls::Grid {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Grid>::new()
}
}
pub fn grid() -> El<ferroui_controls::Grid> {
El::new()
}
pub use ferroui_controls::GridSplitter;
impl ViewClass for ferroui_controls::GridSplitter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::GridSplitter>::new()
}
}
pub fn grid_splitter() -> El<ferroui_controls::GridSplitter> {
El::new()
}
pub use ferroui_controls::GroupBox;
impl ViewClass for ferroui_controls::GroupBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::GroupBox>::new()
}
}
pub fn group_box() -> El<ferroui_controls::GroupBox> {
El::new()
}
pub use ferroui_controls::primitives::HeaderedContentControl;
impl ViewClass for ferroui_controls::primitives::HeaderedContentControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::HeaderedContentControl>::new()
}
}
pub fn headered_content_control() -> El<ferroui_controls::primitives::HeaderedContentControl> {
El::new()
}
pub use ferroui_controls::primitives::HeaderedItemsControl;
impl ViewClass for ferroui_controls::primitives::HeaderedItemsControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::HeaderedItemsControl>::new()
}
}
pub fn headered_items_control() -> El<ferroui_controls::primitives::HeaderedItemsControl> {
El::new()
}
pub use ferroui_controls::primitives::HeaderedSelectingItemsControl;
impl ViewClass for ferroui_controls::primitives::HeaderedSelectingItemsControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::HeaderedSelectingItemsControl>::new()
}
}
pub fn headered_selecting_items_control() -> El<ferroui_controls::primitives::HeaderedSelectingItemsControl> {
El::new()
}
pub use ferroui_controls::HyperlinkButton;
impl ViewClass for ferroui_controls::HyperlinkButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::HyperlinkButton>::new()
}
}
pub fn hyperlink_button() -> El<ferroui_controls::HyperlinkButton> {
El::new()
}
pub use ferroui_controls::Image;
impl ViewClass for ferroui_controls::Image {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Image>::new()
}
}
pub fn image() -> El<ferroui_controls::Image> {
El::new()
}
pub use ferroui_controls::InputPaneAwareDecorator;
impl ViewClass for ferroui_controls::InputPaneAwareDecorator {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::InputPaneAwareDecorator>::new()
}
}
pub fn input_pane_aware_decorator() -> El<ferroui_controls::InputPaneAwareDecorator> {
El::new()
}
pub use ferroui_controls::ItemsControl;
impl ViewClass for ferroui_controls::ItemsControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ItemsControl>::new()
}
}
pub fn items_control() -> El<ferroui_controls::ItemsControl> {
El::new()
}
pub use ferroui_controls::presenters::ItemsPresenter;
impl ViewClass for ferroui_controls::presenters::ItemsPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::presenters::ItemsPresenter>::new()
}
}
pub fn items_presenter() -> El<ferroui_controls::presenters::ItemsPresenter> {
El::new()
}
pub use ferroui_controls::Label;
impl ViewClass for ferroui_controls::Label {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Label>::new()
}
}
pub fn label() -> El<ferroui_controls::Label> {
El::new()
}
pub use ferroui_controls::LayoutTransformControl;
impl ViewClass for ferroui_controls::LayoutTransformControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::LayoutTransformControl>::new()
}
}
pub fn layout_transform_control() -> El<ferroui_controls::LayoutTransformControl> {
El::new()
}
pub use ferroui_controls::primitives::LightDismissOverlayLayer;
impl ViewClass for ferroui_controls::primitives::LightDismissOverlayLayer {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::LightDismissOverlayLayer>::new()
}
}
pub fn light_dismiss_overlay_layer() -> El<ferroui_controls::primitives::LightDismissOverlayLayer> {
El::new()
}
pub use ferroui_controls::shapes::Line;
impl ViewClass for ferroui_controls::shapes::Line {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Line>::new()
}
}
pub fn line() -> El<ferroui_controls::shapes::Line> {
El::new()
}
pub use ferroui_controls::ListBox;
impl ViewClass for ferroui_controls::ListBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ListBox>::new()
}
}
pub fn list_box() -> El<ferroui_controls::ListBox> {
El::new()
}
pub use ferroui_controls::ListBoxItem;
impl ViewClass for ferroui_controls::ListBoxItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ListBoxItem>::new()
}
}
pub fn list_box_item() -> El<ferroui_controls::ListBoxItem> {
El::new()
}
pub use ferroui_controls::MaskedTextBox;
impl ViewClass for ferroui_controls::MaskedTextBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::MaskedTextBox>::new()
}
}
pub fn masked_text_box() -> El<ferroui_controls::MaskedTextBox> {
El::new()
}
pub use ferroui_controls::Menu;
impl ViewClass for ferroui_controls::Menu {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Menu>::new()
}
}
pub fn menu() -> El<ferroui_controls::Menu> {
El::new()
}
pub use ferroui_controls::MenuFlyoutPresenter;
impl ViewClass for ferroui_controls::MenuFlyoutPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::MenuFlyoutPresenter>::new()
}
}
pub fn menu_flyout_presenter() -> El<ferroui_controls::MenuFlyoutPresenter> {
El::new()
}
pub use ferroui_controls::MenuItem;
impl ViewClass for ferroui_controls::MenuItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::MenuItem>::new()
}
}
pub fn menu_item() -> El<ferroui_controls::MenuItem> {
El::new()
}
pub use ferroui_controls::NativeControlHost;
impl ViewClass for ferroui_controls::NativeControlHost {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::NativeControlHost>::new()
}
}
pub fn native_control_host() -> El<ferroui_controls::NativeControlHost> {
El::new()
}
pub use ferroui_controls::NativeMenuBar;
impl ViewClass for ferroui_controls::NativeMenuBar {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::NativeMenuBar>::new()
}
}
pub fn native_menu_bar() -> El<ferroui_controls::NativeMenuBar> {
El::new()
}
pub use ferroui_controls::NavigationPage;
impl ViewClass for ferroui_controls::NavigationPage {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::NavigationPage>::new()
}
}
pub fn navigation_page() -> El<ferroui_controls::NavigationPage> {
El::new()
}
pub use ferroui_controls::NotificationCard;
impl ViewClass for ferroui_controls::NotificationCard {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::NotificationCard>::new()
}
}
pub fn notification_card() -> El<ferroui_controls::NotificationCard> {
El::new()
}
pub use ferroui_controls::NumericUpDown;
impl ViewClass for ferroui_controls::NumericUpDown {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::NumericUpDown>::new()
}
}
pub fn numeric_up_down() -> El<ferroui_controls::NumericUpDown> {
El::new()
}
pub use ferroui_controls::PageNavigationHost;
impl ViewClass for ferroui_controls::PageNavigationHost {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::PageNavigationHost>::new()
}
}
pub fn page_navigation_host() -> El<ferroui_controls::PageNavigationHost> {
El::new()
}
pub use ferroui_controls::Panel;
impl ViewClass for ferroui_controls::Panel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Panel>::new()
}
}
pub fn panel() -> El<ferroui_controls::Panel> {
El::new()
}
pub use ferroui_controls::shapes::Path;
impl ViewClass for ferroui_controls::shapes::Path {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Path>::new()
}
}
pub fn path() -> El<ferroui_controls::shapes::Path> {
El::new()
}
pub use ferroui_controls::PathIcon;
impl ViewClass for ferroui_controls::PathIcon {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::PathIcon>::new()
}
}
pub fn path_icon() -> El<ferroui_controls::PathIcon> {
El::new()
}
pub use ferroui_controls::PipsPager;
impl ViewClass for ferroui_controls::PipsPager {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::PipsPager>::new()
}
}
pub fn pips_pager() -> El<ferroui_controls::PipsPager> {
El::new()
}
pub use ferroui_controls::shapes::Polygon;
impl ViewClass for ferroui_controls::shapes::Polygon {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Polygon>::new()
}
}
pub fn polygon() -> El<ferroui_controls::shapes::Polygon> {
El::new()
}
pub use ferroui_controls::shapes::Polyline;
impl ViewClass for ferroui_controls::shapes::Polyline {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Polyline>::new()
}
}
pub fn polyline() -> El<ferroui_controls::shapes::Polyline> {
El::new()
}
pub use ferroui_controls::primitives::Popup;
impl ViewClass for ferroui_controls::primitives::Popup {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::Popup>::new()
}
}
pub fn popup() -> El<ferroui_controls::primitives::Popup> {
El::new()
}
pub use ferroui_controls::primitives::PopupOverlayLayer;
impl ViewClass for ferroui_controls::primitives::PopupOverlayLayer {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::PopupOverlayLayer>::new()
}
}
pub fn popup_overlay_layer() -> El<ferroui_controls::primitives::PopupOverlayLayer> {
El::new()
}
pub use ferroui_controls::ProgressBar;
impl ViewClass for ferroui_controls::ProgressBar {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ProgressBar>::new()
}
}
pub fn progress_bar() -> El<ferroui_controls::ProgressBar> {
El::new()
}
pub use ferroui_controls::RadioButton;
impl ViewClass for ferroui_controls::RadioButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::RadioButton>::new()
}
}
pub fn radio_button() -> El<ferroui_controls::RadioButton> {
El::new()
}
pub use ferroui_controls::shapes::Rectangle;
impl ViewClass for ferroui_controls::shapes::Rectangle {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Rectangle>::new()
}
}
pub fn rectangle() -> El<ferroui_controls::shapes::Rectangle> {
El::new()
}
pub use ferroui_controls::RefreshContainer;
impl ViewClass for ferroui_controls::RefreshContainer {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::RefreshContainer>::new()
}
}
pub fn refresh_container() -> El<ferroui_controls::RefreshContainer> {
El::new()
}
pub use ferroui_controls::RefreshVisualizer;
impl ViewClass for ferroui_controls::RefreshVisualizer {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::RefreshVisualizer>::new()
}
}
pub fn refresh_visualizer() -> El<ferroui_controls::RefreshVisualizer> {
El::new()
}
pub use ferroui_controls::RelativePanel;
impl ViewClass for ferroui_controls::RelativePanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::RelativePanel>::new()
}
}
pub fn relative_panel() -> El<ferroui_controls::RelativePanel> {
El::new()
}
pub use ferroui_controls::RepeatButton;
impl ViewClass for ferroui_controls::RepeatButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::RepeatButton>::new()
}
}
pub fn repeat_button() -> El<ferroui_controls::RepeatButton> {
El::new()
}
pub use ferroui_controls::ReversibleStackPanel;
impl ViewClass for ferroui_controls::ReversibleStackPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ReversibleStackPanel>::new()
}
}
pub fn reversible_stack_panel() -> El<ferroui_controls::ReversibleStackPanel> {
El::new()
}
pub use ferroui_controls::primitives::ScrollBar;
impl ViewClass for ferroui_controls::primitives::ScrollBar {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::ScrollBar>::new()
}
}
pub fn scroll_bar() -> El<ferroui_controls::primitives::ScrollBar> {
El::new()
}
pub use ferroui_controls::presenters::ScrollContentPresenter;
impl ViewClass for ferroui_controls::presenters::ScrollContentPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::presenters::ScrollContentPresenter>::new()
}
}
pub fn scroll_content_presenter() -> El<ferroui_controls::presenters::ScrollContentPresenter> {
El::new()
}
pub use ferroui_controls::ScrollViewer;
impl ViewClass for ferroui_controls::ScrollViewer {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ScrollViewer>::new()
}
}
pub fn scroll_viewer() -> El<ferroui_controls::ScrollViewer> {
El::new()
}
pub use ferroui_controls::shapes::Sector;
impl ViewClass for ferroui_controls::shapes::Sector {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::shapes::Sector>::new()
}
}
pub fn sector() -> El<ferroui_controls::shapes::Sector> {
El::new()
}
pub use ferroui_controls::SelectableTextBlock;
impl ViewClass for ferroui_controls::SelectableTextBlock {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::SelectableTextBlock>::new()
}
}
pub fn selectable_text_block() -> El<ferroui_controls::SelectableTextBlock> {
El::new()
}
pub use ferroui_controls::primitives::SelectingItemsControl;
impl ViewClass for ferroui_controls::primitives::SelectingItemsControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::SelectingItemsControl>::new()
}
}
pub fn selecting_items_control() -> El<ferroui_controls::primitives::SelectingItemsControl> {
El::new()
}
pub use ferroui_controls::Separator;
impl ViewClass for ferroui_controls::Separator {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Separator>::new()
}
}
pub fn separator() -> El<ferroui_controls::Separator> {
El::new()
}
pub use ferroui_controls::Slider;
impl ViewClass for ferroui_controls::Slider {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Slider>::new()
}
}
pub fn slider() -> El<ferroui_controls::Slider> {
El::new()
}
pub use ferroui_controls::SplitButton;
impl ViewClass for ferroui_controls::SplitButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::SplitButton>::new()
}
}
pub fn split_button() -> El<ferroui_controls::SplitButton> {
El::new()
}
pub use ferroui_controls::SplitView;
impl ViewClass for ferroui_controls::SplitView {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::SplitView>::new()
}
}
pub fn split_view() -> El<ferroui_controls::SplitView> {
El::new()
}
pub use ferroui_controls::StackPanel;
impl ViewClass for ferroui_controls::StackPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::StackPanel>::new()
}
}
pub fn stack_panel() -> El<ferroui_controls::StackPanel> {
El::new()
}
pub use ferroui_controls::TabControl;
impl ViewClass for ferroui_controls::TabControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TabControl>::new()
}
}
pub fn tab_control() -> El<ferroui_controls::TabControl> {
El::new()
}
pub use ferroui_controls::TabItem;
impl ViewClass for ferroui_controls::TabItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TabItem>::new()
}
}
pub fn tab_item() -> El<ferroui_controls::TabItem> {
El::new()
}
pub use ferroui_controls::primitives::TabStrip;
impl ViewClass for ferroui_controls::primitives::TabStrip {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::TabStrip>::new()
}
}
pub fn tab_strip() -> El<ferroui_controls::primitives::TabStrip> {
El::new()
}
pub use ferroui_controls::primitives::TabStripItem;
impl ViewClass for ferroui_controls::primitives::TabStripItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::TabStripItem>::new()
}
}
pub fn tab_strip_item() -> El<ferroui_controls::primitives::TabStripItem> {
El::new()
}
pub use ferroui_controls::TabbedPage;
impl ViewClass for ferroui_controls::TabbedPage {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TabbedPage>::new()
}
}
pub fn tabbed_page() -> El<ferroui_controls::TabbedPage> {
El::new()
}
pub use ferroui_controls::TableView;
impl ViewClass for ferroui_controls::TableView {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TableView>::new()
}
}
pub fn table_view() -> El<ferroui_controls::TableView> {
El::new()
}
pub use ferroui_controls::TableViewCell;
impl ViewClass for ferroui_controls::TableViewCell {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TableViewCell>::new()
}
}
pub fn table_view_cell() -> El<ferroui_controls::TableViewCell> {
El::new()
}
pub use ferroui_controls::presenters::TableViewCellsPresenter;
impl ViewClass for ferroui_controls::presenters::TableViewCellsPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::presenters::TableViewCellsPresenter>::new()
}
}
pub fn table_view_cells_presenter() -> El<ferroui_controls::presenters::TableViewCellsPresenter> {
El::new()
}
pub use ferroui_controls::TableViewColumnHeader;
impl ViewClass for ferroui_controls::TableViewColumnHeader {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TableViewColumnHeader>::new()
}
}
pub fn table_view_column_header() -> El<ferroui_controls::TableViewColumnHeader> {
El::new()
}
pub use ferroui_controls::presenters::TableViewColumnHeadersPresenter;
impl ViewClass for ferroui_controls::presenters::TableViewColumnHeadersPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::presenters::TableViewColumnHeadersPresenter>::new()
}
}
pub fn table_view_column_headers_presenter() -> El<ferroui_controls::presenters::TableViewColumnHeadersPresenter> {
El::new()
}
pub use ferroui_controls::TableViewRow;
impl ViewClass for ferroui_controls::TableViewRow {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TableViewRow>::new()
}
}
pub fn table_view_row() -> El<ferroui_controls::TableViewRow> {
El::new()
}
pub use ferroui_controls::primitives::TemplatedControl;
impl ViewClass for ferroui_controls::primitives::TemplatedControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::TemplatedControl>::new()
}
}
pub fn templated_control() -> El<ferroui_controls::primitives::TemplatedControl> {
El::new()
}
pub use ferroui_controls::TextBlock;
impl ViewClass for ferroui_controls::TextBlock {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TextBlock>::new()
}
}
pub fn text_block() -> El<ferroui_controls::TextBlock> {
El::new()
}
pub use ferroui_controls::TextBox;
impl ViewClass for ferroui_controls::TextBox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TextBox>::new()
}
}
pub fn text_box() -> El<ferroui_controls::TextBox> {
El::new()
}
pub use ferroui_controls::presenters::TextPresenter;
impl ViewClass for ferroui_controls::presenters::TextPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::presenters::TextPresenter>::new()
}
}
pub fn text_presenter() -> El<ferroui_controls::presenters::TextPresenter> {
El::new()
}
pub use ferroui_controls::primitives::TextSelectionHandle;
impl ViewClass for ferroui_controls::primitives::TextSelectionHandle {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::TextSelectionHandle>::new()
}
}
pub fn text_selection_handle() -> El<ferroui_controls::primitives::TextSelectionHandle> {
El::new()
}
pub use ferroui_controls::primitives::TextSelectionHandleCanvas;
impl ViewClass for ferroui_controls::primitives::TextSelectionHandleCanvas {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::TextSelectionHandleCanvas>::new()
}
}
pub fn text_selection_handle_canvas() -> El<ferroui_controls::primitives::TextSelectionHandleCanvas> {
El::new()
}
pub use ferroui_controls::primitives::TextSelectorLayer;
impl ViewClass for ferroui_controls::primitives::TextSelectorLayer {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::TextSelectorLayer>::new()
}
}
pub fn text_selector_layer() -> El<ferroui_controls::primitives::TextSelectorLayer> {
El::new()
}
pub use ferroui_controls::ThemeVariantScope;
impl ViewClass for ferroui_controls::ThemeVariantScope {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ThemeVariantScope>::new()
}
}
pub fn theme_variant_scope() -> El<ferroui_controls::ThemeVariantScope> {
El::new()
}
pub use ferroui_controls::primitives::Thumb;
impl ViewClass for ferroui_controls::primitives::Thumb {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::Thumb>::new()
}
}
pub fn thumb() -> El<ferroui_controls::primitives::Thumb> {
El::new()
}
pub use ferroui_controls::TickBar;
impl ViewClass for ferroui_controls::TickBar {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TickBar>::new()
}
}
pub fn tick_bar() -> El<ferroui_controls::TickBar> {
El::new()
}
pub use ferroui_controls::TimePicker;
impl ViewClass for ferroui_controls::TimePicker {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TimePicker>::new()
}
}
pub fn time_picker() -> El<ferroui_controls::TimePicker> {
El::new()
}
pub use ferroui_controls::TimePickerPresenter;
impl ViewClass for ferroui_controls::TimePickerPresenter {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TimePickerPresenter>::new()
}
}
pub fn time_picker_presenter() -> El<ferroui_controls::TimePickerPresenter> {
El::new()
}
pub use ferroui_controls::primitives::ToggleButton;
impl ViewClass for ferroui_controls::primitives::ToggleButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::ToggleButton>::new()
}
}
pub fn toggle_button() -> El<ferroui_controls::primitives::ToggleButton> {
El::new()
}
pub use ferroui_controls::ToggleSplitButton;
impl ViewClass for ferroui_controls::ToggleSplitButton {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ToggleSplitButton>::new()
}
}
pub fn toggle_split_button() -> El<ferroui_controls::ToggleSplitButton> {
El::new()
}
pub use ferroui_controls::ToggleSwitch;
impl ViewClass for ferroui_controls::ToggleSwitch {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ToggleSwitch>::new()
}
}
pub fn toggle_switch() -> El<ferroui_controls::ToggleSwitch> {
El::new()
}
pub use ferroui_controls::ToolTip;
impl ViewClass for ferroui_controls::ToolTip {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::ToolTip>::new()
}
}
pub fn tool_tip() -> El<ferroui_controls::ToolTip> {
El::new()
}
pub use ferroui_controls::primitives::Track;
impl ViewClass for ferroui_controls::primitives::Track {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::Track>::new()
}
}
pub fn track() -> El<ferroui_controls::primitives::Track> {
El::new()
}
pub use ferroui_controls::TransitioningContentControl;
impl ViewClass for ferroui_controls::TransitioningContentControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TransitioningContentControl>::new()
}
}
pub fn transitioning_content_control() -> El<ferroui_controls::TransitioningContentControl> {
El::new()
}
pub use ferroui_controls::TreeView;
impl ViewClass for ferroui_controls::TreeView {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TreeView>::new()
}
}
pub fn tree_view() -> El<ferroui_controls::TreeView> {
El::new()
}
pub use ferroui_controls::TreeViewItem;
impl ViewClass for ferroui_controls::TreeViewItem {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::TreeViewItem>::new()
}
}
pub fn tree_view_item() -> El<ferroui_controls::TreeViewItem> {
El::new()
}
pub use ferroui_controls::primitives::UniformGrid;
impl ViewClass for ferroui_controls::primitives::UniformGrid {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::UniformGrid>::new()
}
}
pub fn uniform_grid() -> El<ferroui_controls::primitives::UniformGrid> {
El::new()
}
pub use ferroui_controls::UserControl;
impl ViewClass for ferroui_controls::UserControl {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::UserControl>::new()
}
}
pub fn user_control() -> El<ferroui_controls::UserControl> {
El::new()
}
pub use ferroui_controls::Viewbox;
impl ViewClass for ferroui_controls::Viewbox {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Viewbox>::new()
}
}
pub fn viewbox() -> El<ferroui_controls::Viewbox> {
El::new()
}
pub use ferroui_controls::VirtualizingCarouselPanel;
impl ViewClass for ferroui_controls::VirtualizingCarouselPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::VirtualizingCarouselPanel>::new()
}
}
pub fn virtualizing_carousel_panel() -> El<ferroui_controls::VirtualizingCarouselPanel> {
El::new()
}
pub use ferroui_controls::VirtualizingStackPanel;
impl ViewClass for ferroui_controls::VirtualizingStackPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::VirtualizingStackPanel>::new()
}
}
pub fn virtualizing_stack_panel() -> El<ferroui_controls::VirtualizingStackPanel> {
El::new()
}
pub use ferroui_controls::primitives::VisualLayerManager;
impl ViewClass for ferroui_controls::primitives::VisualLayerManager {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::primitives::VisualLayerManager>::new()
}
}
pub fn visual_layer_manager() -> El<ferroui_controls::primitives::VisualLayerManager> {
El::new()
}
pub use ferroui_controls::Window;
impl ViewClass for ferroui_controls::Window {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::Window>::new()
}
}
pub fn window() -> El<ferroui_controls::Window> {
El::new()
}
pub use ferroui_controls::WindowNotificationManager;
impl ViewClass for ferroui_controls::WindowNotificationManager {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::WindowNotificationManager>::new()
}
}
pub fn window_notification_manager() -> El<ferroui_controls::WindowNotificationManager> {
El::new()
}
pub use ferroui_controls::WrapPanel;
impl ViewClass for ferroui_controls::WrapPanel {
fn create() -> ferroui_base::Ref<Self> {
<ferroui_controls::WrapPanel>::new()
}
}
pub fn wrap_panel() -> El<ferroui_controls::WrapPanel> {
El::new()
}
pub trait AccessTextProps: ElementBuilder {
fn show_access_key<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::AccessText>::show_access_key_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::AccessText>> AccessTextProps for El<T> {}
pub trait AdornerLayerProps: ElementBuilder {
fn is_clip_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::AdornerLayer>::is_clip_enabled_property(), value)
}
fn adorner<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::AdornerLayer>::adorner_property(), value)
}
fn default_focus_adorner<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Control>>>>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::AdornerLayer>::default_focus_adorner_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::AdornerLayer>> AdornerLayerProps for El<T> {}
pub trait AnimatableProps: ElementBuilder {
fn clock<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IClock>>, M>) -> Self {
self.prop(<ferroui_base::animation::Animatable>::clock_property(), value)
}
fn transitions<M>(self, value: impl IntoProp<Option<ferroui_base::animation::Transitions>, M>) -> Self {
self.prop(<ferroui_base::animation::Animatable>::transitions_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::animation::Animatable>> AnimatableProps for El<T> {}
pub trait AnimationProps: ElementBuilder {
fn easing<M>(self, value: impl IntoProp<ferroui_base::animation::easings::Easing, M>) -> Self {
self.prop(<ferroui_base::animation::Animation>::easing_property(), value)
}
fn speed_ratio<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::animation::Animation>::speed_ratio_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::animation::Animation>> AnimationProps for El<T> {}
pub trait AnimatorKeyFrameProps: ElementBuilder {
fn value<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_base::animation::AnimatorKeyFrame>::value_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::animation::AnimatorKeyFrame>> AnimatorKeyFrameProps for El<T> {}
pub trait ApplicationProps: ElementBuilder {
fn data_context<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Application>::data_context_property(), value)
}
fn actual_theme_variant<M>(self, value: impl IntoProp<Option<ferroui_base::styling::ThemeVariant>, M>) -> Self {
self.prop(<ferroui_controls::Application>::actual_theme_variant_property(), value)
}
fn requested_theme_variant<M>(self, value: impl IntoProp<Option<ferroui_base::styling::ThemeVariant>, M>) -> Self {
self.prop(<ferroui_controls::Application>::requested_theme_variant_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Application>> ApplicationProps for El<T> {}
pub trait ArcProps: ElementBuilder {
fn start_angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Arc>::start_angle_property(), value)
}
fn sweep_angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Arc>::sweep_angle_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Arc>> ArcProps for El<T> {}
pub trait ArcSegmentProps: ElementBuilder {
fn is_large_arc<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::ArcSegment>::is_large_arc_property(), value)
}
fn point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::ArcSegment>::point_property(), value)
}
fn rotation_angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ArcSegment>::rotation_angle_property(), value)
}
fn size<M>(self, value: impl IntoProp<ferroui_base::Size, M>) -> Self {
self.prop(<ferroui_base::media::ArcSegment>::size_property(), value)
}
fn sweep_direction<M>(self, value: impl IntoProp<ferroui_base::media::SweepDirection, M>) -> Self {
self.prop(<ferroui_base::media::ArcSegment>::sweep_direction_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::ArcSegment>> ArcSegmentProps for El<T> {}
pub trait AutoCompleteBoxProps: ElementBuilder {
fn caret_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::caret_index_property(), value)
}
fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::placeholder_text_property(), value)
}
fn placeholder_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::placeholder_foreground_property(), value)
}
fn minimum_prefix_length<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::minimum_prefix_length_property(), value)
}
fn minimum_populate_delay<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::minimum_populate_delay_property(), value)
}
fn max_drop_down_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::max_drop_down_height_property(), value)
}
fn is_text_completion_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::is_text_completion_enabled_property(), value)
}
fn item_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::item_template_property(), value)
}
fn clear_selection_on_lost_focus<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::clear_selection_on_lost_focus_property(), value)
}
fn is_drop_down_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::is_drop_down_open_property(), value)
}
fn selected_item<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::selected_item_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::text_property(), value)
}
fn filter_mode<M>(self, value: impl IntoProp<ferroui_controls::AutoCompleteFilterMode, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::filter_mode_property(), value)
}
fn items_source<M>(self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::items_source_property(), value)
}
fn max_length<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::max_length_property(), value)
}
fn inner_left_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::inner_left_content_property(), value)
}
fn inner_right_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::AutoCompleteBox>::inner_right_content_property(), value)
}
fn on_selection_changed(self, handler: impl Fn(&ferroui_controls::SelectionChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::AutoCompleteBox>::selection_changed_event(), move |_, e| handler(e))
}
fn on_text_changed(self, handler: impl Fn(&ferroui_controls::TextChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::AutoCompleteBox>::text_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::AutoCompleteBox>> AutoCompleteBoxProps for El<T> {}
pub trait BezierSegmentProps: ElementBuilder {
fn point1<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::BezierSegment>::point1_property(), value)
}
fn point2<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::BezierSegment>::point2_property(), value)
}
fn point3<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::BezierSegment>::point3_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::BezierSegment>> BezierSegmentProps for El<T> {}
pub trait BindingEvaluatorProps: ElementBuilder {
fn value<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::utils::BindingEvaluator>::value_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::utils::BindingEvaluator>> BindingEvaluatorProps for El<T> {}
pub trait BitmapCacheProps: ElementBuilder {
fn render_at_scale<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::BitmapCache>::render_at_scale_property(), value)
}
fn snaps_to_device_pixels<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::BitmapCache>::snaps_to_device_pixels_property(), value)
}
fn enable_clear_type<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::BitmapCache>::enable_clear_type_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::BitmapCache>> BitmapCacheProps for El<T> {}
pub trait BlurEffectProps: ElementBuilder {
fn radius<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::BlurEffect>::radius_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::BlurEffect>> BlurEffectProps for El<T> {}
pub trait BorderProps: ElementBuilder {
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::Border>::background_property(), value)
}
fn background_sizing<M>(self, value: impl IntoProp<ferroui_base::media::BackgroundSizing, M>) -> Self {
self.prop(<ferroui_controls::Border>::background_sizing_property(), value)
}
fn border_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::Border>::border_brush_property(), value)
}
fn border_thickness<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::Border>::border_thickness_property(), value)
}
fn corner_radius<M>(self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self {
self.prop(<ferroui_controls::Border>::corner_radius_property(), value)
}
fn box_shadow<M>(self, value: impl IntoProp<ferroui_base::media::BoxShadows, M>) -> Self {
self.prop(<ferroui_controls::Border>::box_shadow_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Border>> BorderProps for El<T> {}
pub trait BrushProps: ElementBuilder {
fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Brush>::opacity_property(), value)
}
fn transform<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::ITransform>>, M>) -> Self {
self.prop(<ferroui_base::media::Brush>::transform_property(), value)
}
fn transform_origin<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::media::Brush>::transform_origin_property(), value)
}
fn relative_transform<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::ITransform>>, M>) -> Self {
self.prop(<ferroui_base::media::Brush>::relative_transform_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::Brush>> BrushProps for El<T> {}
pub trait ButtonProps: ElementBuilder {
fn click_mode<M>(self, value: impl IntoProp<ferroui_controls::ClickMode, M>) -> Self {
self.prop(<ferroui_controls::Button>::click_mode_property(), value)
}
fn command<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self {
self.prop(<ferroui_controls::Button>::command_property(), value)
}
fn hot_key<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_controls::Button>::hot_key_property(), value)
}
fn command_parameter<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Button>::command_parameter_property(), value)
}
fn is_default<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Button>::is_default_property(), value)
}
fn is_cancel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Button>::is_cancel_property(), value)
}
fn flyout<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::FlyoutBase>>, M>) -> Self {
self.prop(<ferroui_controls::Button>::flyout_property(), value)
}
fn on_click(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Button>::click_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Button>> ButtonProps for El<T> {}
pub trait ButtonSpinnerProps: ElementBuilder {
fn allow_spin<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ButtonSpinner>::allow_spin_property(), value)
}
fn show_button_spinner<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ButtonSpinner>::show_button_spinner_property(), value)
}
fn button_spinner_location<M>(self, value: impl IntoProp<ferroui_controls::Location, M>) -> Self {
self.prop(<ferroui_controls::ButtonSpinner>::button_spinner_location_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ButtonSpinner>> ButtonSpinnerProps for El<T> {}
pub trait CalendarProps: ElementBuilder {
fn first_day_of_week<M>(self, value: impl IntoProp<ferroui_base::utilities::DayOfWeek, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::first_day_of_week_property(), value)
}
fn is_today_highlighted<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::is_today_highlighted_property(), value)
}
fn header_background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::header_background_property(), value)
}
fn is_week_number_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::is_week_number_visible_property(), value)
}
fn week_number_rule<M>(self, value: impl IntoProp<ferroui_base::utilities::CalendarWeekRule, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::week_number_rule_property(), value)
}
fn display_mode<M>(self, value: impl IntoProp<ferroui_controls::CalendarMode, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::display_mode_property(), value)
}
fn selection_mode<M>(self, value: impl IntoProp<ferroui_controls::CalendarSelectionMode, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::selection_mode_property(), value)
}
fn allow_tap_range_selection<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::allow_tap_range_selection_property(), value)
}
fn selected_date<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::selected_date_property(), value)
}
fn display_date<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTime, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::display_date_property(), value)
}
fn display_date_start<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::display_date_start_property(), value)
}
fn display_date_end<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self {
self.prop(<ferroui_controls::Calendar>::display_date_end_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Calendar>> CalendarProps for El<T> {}
pub trait CalendarDatePickerProps: ElementBuilder {
fn display_date<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTime, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::display_date_property(), value)
}
fn display_date_start<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::display_date_start_property(), value)
}
fn display_date_end<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::display_date_end_property(), value)
}
fn first_day_of_week<M>(self, value: impl IntoProp<ferroui_base::utilities::DayOfWeek, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::first_day_of_week_property(), value)
}
fn is_drop_down_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::is_drop_down_open_property(), value)
}
fn is_today_highlighted<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::is_today_highlighted_property(), value)
}
fn selected_date<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTime>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::selected_date_property(), value)
}
fn selected_date_format<M>(self, value: impl IntoProp<ferroui_controls::CalendarDatePickerFormat, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::selected_date_format_property(), value)
}
fn custom_date_format_string<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::custom_date_format_string_property(), value)
}
fn text_converter<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::data::converters::IValueConverter>>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::text_converter_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::text_property(), value)
}
fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::placeholder_text_property(), value)
}
fn use_floating_placeholder<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::use_floating_placeholder_property(), value)
}
fn placeholder_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::placeholder_foreground_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::vertical_content_alignment_property(), value)
}
fn is_week_number_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::is_week_number_visible_property(), value)
}
fn week_number_rule<M>(self, value: impl IntoProp<ferroui_base::utilities::CalendarWeekRule, M>) -> Self {
self.prop(<ferroui_controls::CalendarDatePicker>::week_number_rule_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::CalendarDatePicker>> CalendarDatePickerProps for El<T> {}
pub trait CalendarItemProps: ElementBuilder {
fn header_background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::CalendarItem>::header_background_property(), value)
}
fn day_title_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Control>>>>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::CalendarItem>::day_title_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::CalendarItem>> CalendarItemProps for El<T> {}
pub trait CanvasProps: ElementBuilder {
fn left<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::left_property(), value)
}
fn top<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::top_property(), value)
}
fn right<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::right_property(), value)
}
fn bottom<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::bottom_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Canvas>> CanvasProps for El<T> {}
pub trait CarouselProps: ElementBuilder {
fn page_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::Carousel>::page_transition_property(), value)
}
fn is_swipe_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Carousel>::is_swipe_enabled_property(), value)
}
fn viewport_fraction<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Carousel>::viewport_fraction_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Carousel>> CarouselProps for El<T> {}
pub trait CarouselPageProps: ElementBuilder {
fn items_panel<M>(self, value: impl IntoProp<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Panel>>>>, M>) -> Self {
self.prop(<ferroui_controls::CarouselPage>::items_panel_property(), value)
}
fn page_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::CarouselPage>::page_transition_property(), value)
}
fn is_gesture_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CarouselPage>::is_gesture_enabled_property(), value)
}
fn is_keyboard_navigation_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CarouselPage>::is_keyboard_navigation_enabled_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::CarouselPage>> CarouselPageProps for El<T> {}
pub trait ColumnDefinitionProps: ElementBuilder {
fn max_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ColumnDefinition>::max_width_property(), value)
}
fn min_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ColumnDefinition>::min_width_property(), value)
}
fn width<M>(self, value: impl IntoProp<ferroui_controls::GridLength, M>) -> Self {
self.prop(<ferroui_controls::ColumnDefinition>::width_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ColumnDefinition>> ColumnDefinitionProps for El<T> {}
pub trait CombinedGeometryProps: ElementBuilder {
fn geometry1<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_base::media::CombinedGeometry>::geometry1_property(), value)
}
fn geometry2<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_base::media::CombinedGeometry>::geometry2_property(), value)
}
fn geometry_combine_mode<M>(self, value: impl IntoProp<ferroui_base::media::GeometryCombineMode, M>) -> Self {
self.prop(<ferroui_base::media::CombinedGeometry>::geometry_combine_mode_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::CombinedGeometry>> CombinedGeometryProps for El<T> {}
pub trait ComboBoxProps: ElementBuilder {
fn is_drop_down_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::is_drop_down_open_property(), value)
}
fn is_editable<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::is_editable_property(), value)
}
fn max_drop_down_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::max_drop_down_height_property(), value)
}
fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::placeholder_text_property(), value)
}
fn placeholder_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::placeholder_foreground_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::vertical_content_alignment_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::text_property(), value)
}
fn selection_box_item_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::ComboBox>::selection_box_item_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ComboBox>> ComboBoxProps for El<T> {}
pub trait CommandBarProps: ElementBuilder {
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::content_property(), value)
}
fn default_label_position<M>(self, value: impl IntoProp<ferroui_controls::CommandBarDefaultLabelPosition, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::default_label_position_property(), value)
}
fn is_dynamic_overflow_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::is_dynamic_overflow_enabled_property(), value)
}
fn overflow_button_visibility<M>(self, value: impl IntoProp<ferroui_controls::CommandBarOverflowButtonVisibility, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::overflow_button_visibility_property(), value)
}
fn is_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::is_open_property(), value)
}
fn is_sticky<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::is_sticky_property(), value)
}
fn item_width_bottom<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::item_width_bottom_property(), value)
}
fn item_width_right<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::item_width_right_property(), value)
}
fn item_width_collapsed<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::CommandBar>::item_width_collapsed_property(), value)
}
fn on_opening(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::CommandBar>::opening_event(), move |_, e| handler(e))
}
fn on_opened(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::CommandBar>::opened_event(), move |_, e| handler(e))
}
fn on_closing(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::CommandBar>::closing_event(), move |_, e| handler(e))
}
fn on_closed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::CommandBar>::closed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::CommandBar>> CommandBarProps for El<T> {}
pub trait CommandBarButtonProps: ElementBuilder {
fn label<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::CommandBarButton>::label_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::CommandBarButton>::icon_property(), value)
}
fn is_compact<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBarButton>::is_compact_property(), value)
}
fn dynamic_overflow_order<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::CommandBarButton>::dynamic_overflow_order_property(), value)
}
fn label_position<M>(self, value: impl IntoProp<ferroui_controls::CommandBarDefaultLabelPosition, M>) -> Self {
self.prop(<ferroui_controls::CommandBarButton>::label_position_property(), value)
}
fn is_in_overflow<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBarButton>::is_in_overflow_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::CommandBarButton>> CommandBarButtonProps for El<T> {}
pub trait CommandBarSeparatorProps: ElementBuilder {
fn is_compact<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBarSeparator>::is_compact_property(), value)
}
fn is_in_overflow<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBarSeparator>::is_in_overflow_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::CommandBarSeparator>> CommandBarSeparatorProps for El<T> {}
pub trait CommandBarToggleButtonProps: ElementBuilder {
fn label<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::CommandBarToggleButton>::label_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::CommandBarToggleButton>::icon_property(), value)
}
fn is_compact<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBarToggleButton>::is_compact_property(), value)
}
fn dynamic_overflow_order<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::CommandBarToggleButton>::dynamic_overflow_order_property(), value)
}
fn label_position<M>(self, value: impl IntoProp<ferroui_controls::CommandBarDefaultLabelPosition, M>) -> Self {
self.prop(<ferroui_controls::CommandBarToggleButton>::label_position_property(), value)
}
fn is_in_overflow<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::CommandBarToggleButton>::is_in_overflow_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::CommandBarToggleButton>> CommandBarToggleButtonProps for El<T> {}
pub trait ConicGradientBrushProps: ElementBuilder {
fn center<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::media::ConicGradientBrush>::center_property(), value)
}
fn angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ConicGradientBrush>::angle_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::ConicGradientBrush>> ConicGradientBrushProps for El<T> {}
pub trait ContentControlProps: ElementBuilder {
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ContentControl>::content_property(), value)
}
fn content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::ContentControl>::content_template_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::ContentControl>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::ContentControl>::vertical_content_alignment_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ContentControl>> ContentControlProps for El<T> {}
pub trait ContentPageProps: ElementBuilder {
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::content_property(), value)
}
fn content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::content_template_property(), value)
}
fn automatically_apply_safe_area_padding<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::automatically_apply_safe_area_padding_property(), value)
}
fn top_command_bar<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::top_command_bar_property(), value)
}
fn bottom_command_bar<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::bottom_command_bar_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::ContentPage>::vertical_content_alignment_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ContentPage>> ContentPageProps for El<T> {}
pub trait ContentPresenterProps: ElementBuilder {
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::background_property(), value)
}
fn background_sizing<M>(self, value: impl IntoProp<ferroui_base::media::BackgroundSizing, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::background_sizing_property(), value)
}
fn border_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::border_brush_property(), value)
}
fn border_thickness<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::border_thickness_property(), value)
}
fn corner_radius<M>(self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::corner_radius_property(), value)
}
fn box_shadow<M>(self, value: impl IntoProp<ferroui_base::media::BoxShadows, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::box_shadow_property(), value)
}
fn foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::foreground_property(), value)
}
fn font_family<M>(self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::font_family_property(), value)
}
fn font_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::font_size_property(), value)
}
fn font_style<M>(self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::font_style_property(), value)
}
fn font_weight<M>(self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::font_weight_property(), value)
}
fn font_stretch<M>(self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::font_stretch_property(), value)
}
fn text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::text_alignment_property(), value)
}
fn text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::text_wrapping_property(), value)
}
fn text_trimming<M>(self, value: impl IntoProp<std::rc::Rc<dyn ferroui_base::media::TextTrimming>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::text_trimming_property(), value)
}
fn line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::line_height_property(), value)
}
fn letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::letter_spacing_property(), value)
}
fn max_lines<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::max_lines_property(), value)
}
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::content_property(), value)
}
fn content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::content_template_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::vertical_content_alignment_property(), value)
}
fn padding<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::padding_property(), value)
}
fn recognizes_access_key<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::ContentPresenter>::recognizes_access_key_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::presenters::ContentPresenter>> ContentPresenterProps for El<T> {}
pub trait ContextMenuProps: ElementBuilder {
fn horizontal_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::horizontal_offset_property(), value)
}
fn vertical_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::vertical_offset_property(), value)
}
fn placement_anchor<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupAnchor, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::placement_anchor_property(), value)
}
fn placement_constraint_adjustment<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupPositionerConstraintAdjustment, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::placement_constraint_adjustment_property(), value)
}
fn placement_gravity<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupGravity, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::placement_gravity_property(), value)
}
fn placement<M>(self, value: impl IntoProp<ferroui_controls::PlacementMode, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::placement_property(), value)
}
fn placement_rect<M>(self, value: impl IntoProp<Option<ferroui_base::Rect>, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::placement_rect_property(), value)
}
fn window_manager_add_shadow_hint<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::window_manager_add_shadow_hint_property(), value)
}
fn custom_popup_placement_callback<M>(self, value: impl IntoProp<Option<ferroui_controls::primitives::CustomPopupPlacementCallbackValue>, M>) -> Self {
self.prop(<ferroui_controls::ContextMenu>::custom_popup_placement_callback_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ContextMenu>> ContextMenuProps for El<T> {}
pub trait ControlProps: ElementBuilder {
fn focus_adorner<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Control>>>>>, M>) -> Self {
self.prop(<ferroui_controls::Control>::focus_adorner_property(), value)
}
fn tag<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Control>::tag_property(), value)
}
fn context_menu<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::ContextMenu>>, M>) -> Self {
self.prop(<ferroui_controls::Control>::context_menu_property(), value)
}
fn context_flyout<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::FlyoutBase>>, M>) -> Self {
self.prop(<ferroui_controls::Control>::context_flyout_property(), value)
}
fn on_request_bring_into_view(self, handler: impl Fn(&ferroui_controls::RequestBringIntoViewEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Control>::request_bring_into_view_event(), move |_, e| handler(e))
}
fn on_loaded(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Control>::loaded_event(), move |_, e| handler(e))
}
fn on_unloaded(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Control>::unloaded_event(), move |_, e| handler(e))
}
fn on_size_changed(self, handler: impl Fn(&ferroui_controls::SizeChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Control>::size_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Control>> ControlProps for El<T> {}
pub trait CroppedBitmapProps: ElementBuilder {
fn source<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImage>>, M>) -> Self {
self.prop(<ferroui_base::media::imaging::CroppedBitmap>::source_property(), value)
}
fn source_rect<M>(self, value: impl IntoProp<ferroui_base::PixelRect, M>) -> Self {
self.prop(<ferroui_base::media::imaging::CroppedBitmap>::source_rect_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::imaging::CroppedBitmap>> CroppedBitmapProps for El<T> {}
pub trait DashStyleProps: ElementBuilder {
fn dashes<M>(self, value: impl IntoProp<Option<ferroui_base::media::MediaCollection<f64>>, M>) -> Self {
self.prop(<ferroui_base::media::DashStyle>::dashes_property(), value)
}
fn offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DashStyle>::offset_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DashStyle>> DashStyleProps for El<T> {}
pub trait DataValidationErrorsProps: ElementBuilder {
fn errors<M>(self, value: impl IntoProp<Option<Vec<ferroui_base::BoxedValue>>, M>) -> Self {
self.prop(<ferroui_controls::DataValidationErrors>::errors_property(), value)
}
fn has_errors<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DataValidationErrors>::has_errors_property(), value)
}
fn error_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::DataValidationErrors>::error_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::DataValidationErrors>> DataValidationErrorsProps for El<T> {}
pub trait DatePickerProps: ElementBuilder {
fn day_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::day_format_property(), value)
}
fn day_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::day_visible_property(), value)
}
fn max_year<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::max_year_property(), value)
}
fn min_year<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::min_year_property(), value)
}
fn month_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::month_format_property(), value)
}
fn month_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::month_visible_property(), value)
}
fn year_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::year_format_property(), value)
}
fn year_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::year_visible_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::vertical_content_alignment_property(), value)
}
fn selected_date<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::DateTimeOffset>, M>) -> Self {
self.prop(<ferroui_controls::DatePicker>::selected_date_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::DatePicker>> DatePickerProps for El<T> {}
pub trait DatePickerPresenterProps: ElementBuilder {
fn date<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::date_property(), value)
}
fn day_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::day_format_property(), value)
}
fn day_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::day_visible_property(), value)
}
fn max_year<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::max_year_property(), value)
}
fn min_year<M>(self, value: impl IntoProp<ferroui_base::utilities::DateTimeOffset, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::min_year_property(), value)
}
fn month_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::month_format_property(), value)
}
fn month_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::month_visible_property(), value)
}
fn year_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::year_format_property(), value)
}
fn year_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DatePickerPresenter>::year_visible_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::DatePickerPresenter>> DatePickerPresenterProps for El<T> {}
pub trait DateTimePickerPanelProps: ElementBuilder {
fn item_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::date_time_pickers::DateTimePickerPanel>::item_height_property(), value)
}
fn panel_type<M>(self, value: impl IntoProp<ferroui_controls::date_time_pickers::DateTimePickerPanelType, M>) -> Self {
self.prop(<ferroui_controls::date_time_pickers::DateTimePickerPanel>::panel_type_property(), value)
}
fn item_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::date_time_pickers::DateTimePickerPanel>::item_format_property(), value)
}
fn should_loop<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::date_time_pickers::DateTimePickerPanel>::should_loop_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::date_time_pickers::DateTimePickerPanel>> DateTimePickerPanelProps for El<T> {}
pub trait DecoratorProps: ElementBuilder {
fn padding<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::Decorator>::padding_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Decorator>> DecoratorProps for El<T> {}
pub trait DefinitionBaseProps: ElementBuilder {
fn shared_size_group<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::DefinitionBase>::shared_size_group_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::DefinitionBase>> DefinitionBaseProps for El<T> {}
pub trait DockPanelProps: ElementBuilder {
fn dock<M>(self, value: impl IntoProp<ferroui_controls::Dock, M>) -> Self {
self.prop(<ferroui_controls::DockPanel>::dock_property(), value)
}
fn last_child_fill<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DockPanel>::last_child_fill_property(), value)
}
fn horizontal_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::DockPanel>::horizontal_spacing_property(), value)
}
fn vertical_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::DockPanel>::vertical_spacing_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::DockPanel>> DockPanelProps for El<T> {}
pub trait DrawerPageProps: ElementBuilder {
fn drawer<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_property(), value)
}
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::content_property(), value)
}
fn is_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::is_open_property(), value)
}
fn drawer_length<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_length_property(), value)
}
fn compact_drawer_length<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::compact_drawer_length_property(), value)
}
fn drawer_breakpoint_length<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_breakpoint_length_property(), value)
}
fn is_gesture_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::is_gesture_enabled_property(), value)
}
fn drawer_behavior<M>(self, value: impl IntoProp<ferroui_controls::DrawerBehavior, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_behavior_property(), value)
}
fn drawer_layout_behavior<M>(self, value: impl IntoProp<ferroui_controls::DrawerLayoutBehavior, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_layout_behavior_property(), value)
}
fn drawer_placement<M>(self, value: impl IntoProp<ferroui_controls::DrawerPlacement, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_placement_property(), value)
}
fn drawer_header<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_header_property(), value)
}
fn drawer_footer<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_footer_property(), value)
}
fn drawer_header_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_header_template_property(), value)
}
fn drawer_footer_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_footer_template_property(), value)
}
fn drawer_icon<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_icon_property(), value)
}
fn drawer_icon_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_icon_template_property(), value)
}
fn drawer_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_template_property(), value)
}
fn content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::content_template_property(), value)
}
fn drawer_background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_background_property(), value)
}
fn drawer_header_background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_header_background_property(), value)
}
fn drawer_header_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_header_foreground_property(), value)
}
fn drawer_footer_background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_footer_background_property(), value)
}
fn drawer_footer_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::drawer_footer_foreground_property(), value)
}
fn backdrop_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::backdrop_brush_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::vertical_content_alignment_property(), value)
}
fn display_mode<M>(self, value: impl IntoProp<ferroui_controls::SplitViewDisplayMode, M>) -> Self {
self.prop(<ferroui_controls::DrawerPage>::display_mode_property(), value)
}
fn on_opened(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::DrawerPage>::opened_event(), move |_, e| handler(e))
}
fn on_closed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::DrawerPage>::closed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::DrawerPage>> DrawerPageProps for El<T> {}
pub trait DrawingBrushProps: ElementBuilder {
fn drawing<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Drawing>>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingBrush>::drawing_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DrawingBrush>> DrawingBrushProps for El<T> {}
pub trait DrawingGroupProps: ElementBuilder {
fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DrawingGroup>::opacity_property(), value)
}
fn transform<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Transform>>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingGroup>::transform_property(), value)
}
fn clip_geometry<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingGroup>::clip_geometry_property(), value)
}
fn opacity_mask<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingGroup>::opacity_mask_property(), value)
}
fn effect<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IEffect>>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingGroup>::effect_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DrawingGroup>> DrawingGroupProps for El<T> {}
pub trait DrawingImageProps: ElementBuilder {
fn drawing<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Drawing>>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingImage>::drawing_property(), value)
}
fn viewbox<M>(self, value: impl IntoProp<Option<ferroui_base::Rect>, M>) -> Self {
self.prop(<ferroui_base::media::DrawingImage>::viewbox_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DrawingImage>> DrawingImageProps for El<T> {}
pub trait DropShadowDirectionEffectProps: ElementBuilder {
fn shadow_depth<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowDirectionEffect>::shadow_depth_property(), value)
}
fn direction<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowDirectionEffect>::direction_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DropShadowDirectionEffect>> DropShadowDirectionEffectProps for El<T> {}
pub trait DropShadowEffectProps: ElementBuilder {
fn offset_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowEffect>::offset_x_property(), value)
}
fn offset_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowEffect>::offset_y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DropShadowEffect>> DropShadowEffectProps for El<T> {}
pub trait DropShadowEffectBaseProps: ElementBuilder {
fn blur_radius<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowEffectBase>::blur_radius_property(), value)
}
fn color<M>(self, value: impl IntoProp<ferroui_base::media::Color, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowEffectBase>::color_property(), value)
}
fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::DropShadowEffectBase>::opacity_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::DropShadowEffectBase>> DropShadowEffectBaseProps for El<T> {}
pub trait EllipseGeometryProps: ElementBuilder {
fn rect<M>(self, value: impl IntoProp<ferroui_base::Rect, M>) -> Self {
self.prop(<ferroui_base::media::EllipseGeometry>::rect_property(), value)
}
fn radius_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::EllipseGeometry>::radius_x_property(), value)
}
fn radius_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::EllipseGeometry>::radius_y_property(), value)
}
fn center<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::EllipseGeometry>::center_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::EllipseGeometry>> EllipseGeometryProps for El<T> {}
pub trait ExpanderProps: ElementBuilder {
fn content_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::Expander>::content_transition_property(), value)
}
fn expand_direction<M>(self, value: impl IntoProp<ferroui_controls::ExpandDirection, M>) -> Self {
self.prop(<ferroui_controls::Expander>::expand_direction_property(), value)
}
fn is_expanded<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Expander>::is_expanded_property(), value)
}
fn on_collapsed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Expander>::collapsed_event(), move |_, e| handler(e))
}
fn on_expanded(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Expander>::expanded_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Expander>> ExpanderProps for El<T> {}
pub trait ExperimentalAcrylicBorderProps: ElementBuilder {
fn corner_radius<M>(self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self {
self.prop(<ferroui_controls::ExperimentalAcrylicBorder>::corner_radius_property(), value)
}
fn material<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::ExperimentalAcrylicMaterial>>, M>) -> Self {
self.prop(<ferroui_controls::ExperimentalAcrylicBorder>::material_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ExperimentalAcrylicBorder>> ExperimentalAcrylicBorderProps for El<T> {}
pub trait ExperimentalAcrylicMaterialProps: ElementBuilder {
fn tint_color<M>(self, value: impl IntoProp<ferroui_base::media::Color, M>) -> Self {
self.prop(<ferroui_base::media::ExperimentalAcrylicMaterial>::tint_color_property(), value)
}
fn background_source<M>(self, value: impl IntoProp<ferroui_base::media::AcrylicBackgroundSource, M>) -> Self {
self.prop(<ferroui_base::media::ExperimentalAcrylicMaterial>::background_source_property(), value)
}
fn tint_opacity<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ExperimentalAcrylicMaterial>::tint_opacity_property(), value)
}
fn material_opacity<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ExperimentalAcrylicMaterial>::material_opacity_property(), value)
}
fn platform_transparency_compensation_level<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ExperimentalAcrylicMaterial>::platform_transparency_compensation_level_property(), value)
}
fn fallback_color<M>(self, value: impl IntoProp<ferroui_base::media::Color, M>) -> Self {
self.prop(<ferroui_base::media::ExperimentalAcrylicMaterial>::fallback_color_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::ExperimentalAcrylicMaterial>> ExperimentalAcrylicMaterialProps for El<T> {}
pub trait FlexPanelProps: ElementBuilder {
fn direction<M>(self, value: impl IntoProp<ferroui_controls::FlexDirection, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::direction_property(), value)
}
fn justify_content<M>(self, value: impl IntoProp<ferroui_controls::FlexJustifyContent, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::justify_content_property(), value)
}
fn align_items<M>(self, value: impl IntoProp<ferroui_controls::FlexAlignItems, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::align_items_property(), value)
}
fn align_content<M>(self, value: impl IntoProp<ferroui_controls::FlexAlignContent, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::align_content_property(), value)
}
fn wrap<M>(self, value: impl IntoProp<ferroui_controls::FlexWrap, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::wrap_property(), value)
}
fn column_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::column_spacing_property(), value)
}
fn row_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::FlexPanel>::row_spacing_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::FlexPanel>> FlexPanelProps for El<T> {}
pub trait FlyoutProps: ElementBuilder {
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Flyout>::content_property(), value)
}
fn content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::Flyout>::content_template_property(), value)
}
fn flyout_presenter_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::Flyout>::flyout_presenter_theme_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Flyout>> FlyoutProps for El<T> {}
pub trait FlyoutBaseProps: ElementBuilder {
fn is_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::FlyoutBase>::is_open_property(), value)
}
fn attached_flyout<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::FlyoutBase>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::FlyoutBase>::attached_flyout_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::FlyoutBase>> FlyoutBaseProps for El<T> {}
pub trait GeometryProps: ElementBuilder {
fn transform<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Transform>>, M>) -> Self {
self.prop(<ferroui_base::media::Geometry>::transform_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::Geometry>> GeometryProps for El<T> {}
pub trait GeometryDrawingProps: ElementBuilder {
fn geometry<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_base::media::GeometryDrawing>::geometry_property(), value)
}
fn brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_base::media::GeometryDrawing>::brush_property(), value)
}
fn pen<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IPen>>, M>) -> Self {
self.prop(<ferroui_base::media::GeometryDrawing>::pen_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::GeometryDrawing>> GeometryDrawingProps for El<T> {}
pub trait GeometryGroupProps: ElementBuilder {
fn fill_rule<M>(self, value: impl IntoProp<ferroui_base::media::FillRule, M>) -> Self {
self.prop(<ferroui_base::media::GeometryGroup>::fill_rule_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::GeometryGroup>> GeometryGroupProps for El<T> {}
pub trait GlyphRunDrawingProps: ElementBuilder {
fn foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_base::media::GlyphRunDrawing>::foreground_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::GlyphRunDrawing>> GlyphRunDrawingProps for El<T> {}
pub trait GradientBrushProps: ElementBuilder {
fn spread_method<M>(self, value: impl IntoProp<ferroui_base::media::GradientSpreadMethod, M>) -> Self {
self.prop(<ferroui_base::media::GradientBrush>::spread_method_property(), value)
}
fn gradient_stops<M>(self, value: impl IntoProp<Option<ferroui_base::media::GradientStops>, M>) -> Self {
self.prop(<ferroui_base::media::GradientBrush>::gradient_stops_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::GradientBrush>> GradientBrushProps for El<T> {}
pub trait GradientStopProps: ElementBuilder {
fn offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::GradientStop>::offset_property(), value)
}
fn color<M>(self, value: impl IntoProp<ferroui_base::media::Color, M>) -> Self {
self.prop(<ferroui_base::media::GradientStop>::color_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::GradientStop>> GradientStopProps for El<T> {}
pub trait GridProps: ElementBuilder {
fn show_grid_lines<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Grid>::show_grid_lines_property(), value)
}
fn row_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Grid>::row_spacing_property(), value)
}
fn column_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Grid>::column_spacing_property(), value)
}
fn column<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::column_property(), value)
}
fn row<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::row_property(), value)
}
fn column_span<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::column_span_property(), value)
}
fn row_span<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::row_span_property(), value)
}
fn is_shared_size_scope<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Grid>::is_shared_size_scope_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Grid>> GridProps for El<T> {}
pub trait GridSplitterProps: ElementBuilder {
fn resize_direction<M>(self, value: impl IntoProp<ferroui_controls::GridResizeDirection, M>) -> Self {
self.prop(<ferroui_controls::GridSplitter>::resize_direction_property(), value)
}
fn resize_behavior<M>(self, value: impl IntoProp<ferroui_controls::GridResizeBehavior, M>) -> Self {
self.prop(<ferroui_controls::GridSplitter>::resize_behavior_property(), value)
}
fn shows_preview<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::GridSplitter>::shows_preview_property(), value)
}
fn keyboard_increment<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::GridSplitter>::keyboard_increment_property(), value)
}
fn drag_increment<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::GridSplitter>::drag_increment_property(), value)
}
fn preview_content<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::ITemplateOf<ferroui_base::Ref<ferroui_controls::Control>>>>, M>) -> Self {
self.prop(<ferroui_controls::GridSplitter>::preview_content_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::GridSplitter>> GridSplitterProps for El<T> {}
pub trait HeaderedContentControlProps: ElementBuilder {
fn header<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::HeaderedContentControl>::header_property(), value)
}
fn header_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::HeaderedContentControl>::header_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::HeaderedContentControl>> HeaderedContentControlProps for El<T> {}
pub trait HeaderedItemsControlProps: ElementBuilder {
fn header<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::HeaderedItemsControl>::header_property(), value)
}
fn header_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::HeaderedItemsControl>::header_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::HeaderedItemsControl>> HeaderedItemsControlProps for El<T> {}
pub trait HeaderedSelectingItemsControlProps: ElementBuilder {
fn header<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::HeaderedSelectingItemsControl>::header_property(), value)
}
fn header_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::HeaderedSelectingItemsControl>::header_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::HeaderedSelectingItemsControl>> HeaderedSelectingItemsControlProps for El<T> {}
pub trait HyperlinkButtonProps: ElementBuilder {
fn is_visited<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::HyperlinkButton>::is_visited_property(), value)
}
fn navigate_uri<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::Uri>, M>) -> Self {
self.prop(<ferroui_controls::HyperlinkButton>::navigate_uri_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::HyperlinkButton>> HyperlinkButtonProps for El<T> {}
pub trait ImageProps: ElementBuilder {
fn source<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImage>>, M>) -> Self {
self.prop(<ferroui_controls::Image>::source_property(), value)
}
fn blend_mode<M>(self, value: impl IntoProp<ferroui_base::media::imaging::BitmapBlendingMode, M>) -> Self {
self.prop(<ferroui_controls::Image>::blend_mode_property(), value)
}
fn stretch<M>(self, value: impl IntoProp<ferroui_base::media::Stretch, M>) -> Self {
self.prop(<ferroui_controls::Image>::stretch_property(), value)
}
fn stretch_direction<M>(self, value: impl IntoProp<ferroui_base::media::StretchDirection, M>) -> Self {
self.prop(<ferroui_controls::Image>::stretch_direction_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Image>> ImageProps for El<T> {}
pub trait ImageBrushProps: ElementBuilder {
fn source<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImageBrushSource>>, M>) -> Self {
self.prop(<ferroui_base::media::ImageBrush>::source_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::ImageBrush>> ImageBrushProps for El<T> {}
pub trait ImageDrawingProps: ElementBuilder {
fn image_source<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IImage>>, M>) -> Self {
self.prop(<ferroui_base::media::ImageDrawing>::image_source_property(), value)
}
fn rect<M>(self, value: impl IntoProp<ferroui_base::Rect, M>) -> Self {
self.prop(<ferroui_base::media::ImageDrawing>::rect_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::ImageDrawing>> ImageDrawingProps for El<T> {}
pub trait InlineProps: ElementBuilder {
fn text_decorations<M>(self, value: impl IntoProp<Option<ferroui_base::media::TextDecorationCollection>, M>) -> Self {
self.prop(<ferroui_controls::documents::Inline>::text_decorations_property(), value)
}
fn baseline_alignment<M>(self, value: impl IntoProp<ferroui_base::media::BaselineAlignment, M>) -> Self {
self.prop(<ferroui_controls::documents::Inline>::baseline_alignment_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::documents::Inline>> InlineProps for El<T> {}
pub trait InputElementProps: ElementBuilder {
fn focusable<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::InputElement>::focusable_property(), value)
}
fn is_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::InputElement>::is_enabled_property(), value)
}
fn cursor<M>(self, value: impl IntoProp<Option<std::rc::Rc<ferroui_base::input::Cursor>>, M>) -> Self {
self.prop(<ferroui_base::input::InputElement>::cursor_property(), value)
}
fn is_hit_test_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::InputElement>::is_hit_test_visible_property(), value)
}
fn is_tab_stop<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::InputElement>::is_tab_stop_property(), value)
}
fn tab_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_base::input::InputElement>::tab_index_property(), value)
}
fn on_got_focus(self, handler: impl Fn(&ferroui_base::input::FocusChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::got_focus_event(), move |_, e| handler(e))
}
fn on_getting_focus(self, handler: impl Fn(&ferroui_base::input::FocusChangingEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::getting_focus_event(), move |_, e| handler(e))
}
fn on_lost_focus(self, handler: impl Fn(&ferroui_base::input::FocusChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::lost_focus_event(), move |_, e| handler(e))
}
fn on_losing_focus(self, handler: impl Fn(&ferroui_base::input::FocusChangingEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::losing_focus_event(), move |_, e| handler(e))
}
fn on_key_down(self, handler: impl Fn(&ferroui_base::input::KeyEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::key_down_event(), move |_, e| handler(e))
}
fn on_key_up(self, handler: impl Fn(&ferroui_base::input::KeyEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::key_up_event(), move |_, e| handler(e))
}
fn on_text_input(self, handler: impl Fn(&ferroui_base::input::TextInputEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::text_input_event(), move |_, e| handler(e))
}
fn on_text_input_method_client_requested(self, handler: impl Fn(&ferroui_base::input::text_input::TextInputMethodClientRequestedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::text_input_method_client_requested_event(), move |_, e| handler(e))
}
fn on_pointer_entered(self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_entered_event(), move |_, e| handler(e))
}
fn on_pointer_exited(self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_exited_event(), move |_, e| handler(e))
}
fn on_pointer_moved(self, handler: impl Fn(&ferroui_base::input::PointerEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_moved_event(), move |_, e| handler(e))
}
fn on_pointer_pressed(self, handler: impl Fn(&ferroui_base::input::PointerPressedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_pressed_event(), move |_, e| handler(e))
}
fn on_pointer_released(self, handler: impl Fn(&ferroui_base::input::PointerReleasedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_released_event(), move |_, e| handler(e))
}
fn on_pointer_capture_lost(self, handler: impl Fn(&ferroui_base::input::PointerCaptureLostEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_capture_lost_event(), move |_, e| handler(e))
}
fn on_pointer_wheel_changed(self, handler: impl Fn(&ferroui_base::input::PointerWheelEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_wheel_changed_event(), move |_, e| handler(e))
}
fn on_context_requested(self, handler: impl Fn(&ferroui_base::input::ContextRequestedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::context_requested_event(), move |_, e| handler(e))
}
fn on_context_canceled(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::context_canceled_event(), move |_, e| handler(e))
}
fn on_pinch(self, handler: impl Fn(&ferroui_base::input::PinchEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pinch_event(), move |_, e| handler(e))
}
fn on_pinch_ended(self, handler: impl Fn(&ferroui_base::input::PinchEndedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pinch_ended_event(), move |_, e| handler(e))
}
fn on_pull_gesture(self, handler: impl Fn(&ferroui_base::input::PullGestureEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pull_gesture_event(), move |_, e| handler(e))
}
fn on_pull_gesture_ended(self, handler: impl Fn(&ferroui_base::input::PullGestureEndedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pull_gesture_ended_event(), move |_, e| handler(e))
}
fn on_swipe_gesture(self, handler: impl Fn(&ferroui_base::input::SwipeGestureEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::swipe_gesture_event(), move |_, e| handler(e))
}
fn on_swipe_gesture_ended(self, handler: impl Fn(&ferroui_base::input::SwipeGestureEndedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::swipe_gesture_ended_event(), move |_, e| handler(e))
}
fn on_scroll_gesture(self, handler: impl Fn(&ferroui_base::input::ScrollGestureEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::scroll_gesture_event(), move |_, e| handler(e))
}
fn on_scroll_gesture_inertia_starting(self, handler: impl Fn(&ferroui_base::input::ScrollGestureInertiaStartingEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::scroll_gesture_inertia_starting_event(), move |_, e| handler(e))
}
fn on_scroll_gesture_ended(self, handler: impl Fn(&ferroui_base::input::ScrollGestureEndedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::scroll_gesture_ended_event(), move |_, e| handler(e))
}
fn on_pointer_touch_pad_gesture_magnify(self, handler: impl Fn(&ferroui_base::input::PointerDeltaEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_touch_pad_gesture_magnify_event(), move |_, e| handler(e))
}
fn on_pointer_touch_pad_gesture_rotate(self, handler: impl Fn(&ferroui_base::input::PointerDeltaEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_touch_pad_gesture_rotate_event(), move |_, e| handler(e))
}
fn on_pointer_touch_pad_gesture_swipe(self, handler: impl Fn(&ferroui_base::input::PointerDeltaEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::pointer_touch_pad_gesture_swipe_event(), move |_, e| handler(e))
}
fn on_tapped(self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::tapped_event(), move |_, e| handler(e))
}
fn on_right_tapped(self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::right_tapped_event(), move |_, e| handler(e))
}
fn on_holding(self, handler: impl Fn(&ferroui_base::input::HoldingRoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::holding_event(), move |_, e| handler(e))
}
fn on_double_tapped(self, handler: impl Fn(&ferroui_base::input::TappedEventArgs) + 'static) -> Self {
self.routed(<ferroui_base::input::InputElement>::double_tapped_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_base::input::InputElement>> InputElementProps for El<T> {}
pub trait InputPaneAwareDecoratorProps: ElementBuilder {
fn behavior<M>(self, value: impl IntoProp<ferroui_controls::InputPaneAwareBehavior, M>) -> Self {
self.prop(<ferroui_controls::InputPaneAwareDecorator>::behavior_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::InputPaneAwareDecorator>> InputPaneAwareDecoratorProps for El<T> {}
pub trait ItemsControlProps: ElementBuilder {
fn item_container_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::ItemsControl>::item_container_theme_property(), value)
}
fn items_panel<M>(self, value: impl IntoProp<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Panel>>>>, M>) -> Self {
self.prop(<ferroui_controls::ItemsControl>::items_panel_property(), value)
}
fn items_source<M>(self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self {
self.prop(<ferroui_controls::ItemsControl>::items_source_property(), value)
}
fn item_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::ItemsControl>::item_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ItemsControl>> ItemsControlProps for El<T> {}
pub trait ItemsPresenterProps: ElementBuilder {
fn items_panel<M>(self, value: impl IntoProp<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Panel>>>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::ItemsPresenter>::items_panel_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::presenters::ItemsPresenter>> ItemsPresenterProps for El<T> {}
pub trait KeyBindingProps: ElementBuilder {
fn command<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self {
self.prop(<ferroui_base::input::KeyBinding>::command_property(), value)
}
fn command_parameter<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_base::input::KeyBinding>::command_parameter_property(), value)
}
fn gesture<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_base::input::KeyBinding>::gesture_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::input::KeyBinding>> KeyBindingProps for El<T> {}
pub trait LayoutTransformControlProps: ElementBuilder {
fn layout_transform<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::ITransform>>, M>) -> Self {
self.prop(<ferroui_controls::LayoutTransformControl>::layout_transform_property(), value)
}
fn use_render_transform<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::LayoutTransformControl>::use_render_transform_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::LayoutTransformControl>> LayoutTransformControlProps for El<T> {}
pub trait LayoutableProps: ElementBuilder {
fn width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::width_property(), value)
}
fn height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::height_property(), value)
}
fn min_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::min_width_property(), value)
}
fn max_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::max_width_property(), value)
}
fn min_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::min_height_property(), value)
}
fn max_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::max_height_property(), value)
}
fn margin<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::margin_property(), value)
}
fn horizontal_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::horizontal_alignment_property(), value)
}
fn vertical_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::vertical_alignment_property(), value)
}
fn use_layout_rounding<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::layout::Layoutable>::use_layout_rounding_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::layout::Layoutable>> LayoutableProps for El<T> {}
pub trait LineProps: ElementBuilder {
fn start_point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_controls::shapes::Line>::start_point_property(), value)
}
fn end_point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_controls::shapes::Line>::end_point_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Line>> LineProps for El<T> {}
pub trait LineGeometryProps: ElementBuilder {
fn start_point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::LineGeometry>::start_point_property(), value)
}
fn end_point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::LineGeometry>::end_point_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::LineGeometry>> LineGeometryProps for El<T> {}
pub trait LineSegmentProps: ElementBuilder {
fn point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::LineSegment>::point_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::LineSegment>> LineSegmentProps for El<T> {}
pub trait LinearGradientBrushProps: ElementBuilder {
fn start_point<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::media::LinearGradientBrush>::start_point_property(), value)
}
fn end_point<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::media::LinearGradientBrush>::end_point_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::LinearGradientBrush>> LinearGradientBrushProps for El<T> {}
pub trait ListBoxItemProps: ElementBuilder {
fn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ListBoxItem>::is_selected_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ListBoxItem>> ListBoxItemProps for El<T> {}
pub trait MaskedTextBoxProps: ElementBuilder {
fn ascii_only<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::ascii_only_property(), value)
}
fn culture<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::CultureInfo>, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::culture_property(), value)
}
fn hide_prompt_on_leave<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::hide_prompt_on_leave_property(), value)
}
fn mask<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::mask_property(), value)
}
fn prompt_char<M>(self, value: impl IntoProp<char, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::prompt_char_property(), value)
}
fn reset_on_prompt<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::reset_on_prompt_property(), value)
}
fn reset_on_space<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MaskedTextBox>::reset_on_space_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::MaskedTextBox>> MaskedTextBoxProps for El<T> {}
pub trait MatrixTransformProps: ElementBuilder {
fn matrix<M>(self, value: impl IntoProp<ferroui_base::Matrix, M>) -> Self {
self.prop(<ferroui_base::media::MatrixTransform>::matrix_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::MatrixTransform>> MatrixTransformProps for El<T> {}
pub trait MenuBaseProps: ElementBuilder {
fn on_opened(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::MenuBase>::opened_event(), move |_, e| handler(e))
}
fn on_closed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::MenuBase>::closed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::MenuBase>> MenuBaseProps for El<T> {}
pub trait MenuFlyoutProps: ElementBuilder {
fn items_source<M>(self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self {
self.prop(<ferroui_controls::MenuFlyout>::items_source_property(), value)
}
fn item_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::MenuFlyout>::item_template_property(), value)
}
fn item_container_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::MenuFlyout>::item_container_theme_property(), value)
}
fn flyout_presenter_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::MenuFlyout>::flyout_presenter_theme_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::MenuFlyout>> MenuFlyoutProps for El<T> {}
pub trait MenuItemProps: ElementBuilder {
fn command<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::command_property(), value)
}
fn hot_key<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::hot_key_property(), value)
}
fn command_parameter<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::command_parameter_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::icon_property(), value)
}
fn input_gesture<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::input_gesture_property(), value)
}
fn is_sub_menu_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::is_sub_menu_open_property(), value)
}
fn stays_open_on_click<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::stays_open_on_click_property(), value)
}
fn toggle_type<M>(self, value: impl IntoProp<ferroui_controls::MenuItemToggleType, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::toggle_type_property(), value)
}
fn is_checked<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::is_checked_property(), value)
}
fn group_name<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::MenuItem>::group_name_property(), value)
}
fn on_click(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::MenuItem>::click_event(), move |_, e| handler(e))
}
fn on_pointer_entered_item(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::MenuItem>::pointer_entered_item_event(), move |_, e| handler(e))
}
fn on_pointer_exited_item(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::MenuItem>::pointer_exited_item_event(), move |_, e| handler(e))
}
fn on_submenu_opened(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::MenuItem>::submenu_opened_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::MenuItem>> MenuItemProps for El<T> {}
pub trait MultiPageProps: ElementBuilder {
fn items_source<M>(self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self {
self.prop(<ferroui_controls::MultiPage>::items_source_property(), value)
}
fn page_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::MultiPage>::page_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::MultiPage>> MultiPageProps for El<T> {}
pub trait NativeMenuItemProps: ElementBuilder {
fn menu<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::NativeMenu>>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::menu_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::imaging::IBitmap>>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::icon_property(), value)
}
fn header<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::header_property(), value)
}
fn tool_tip<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::tool_tip_property(), value)
}
fn gesture<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::gesture_property(), value)
}
fn is_checked<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::is_checked_property(), value)
}
fn toggle_type<M>(self, value: impl IntoProp<ferroui_controls::MenuItemToggleType, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::toggle_type_property(), value)
}
fn command<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::command_property(), value)
}
fn command_parameter<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::command_parameter_property(), value)
}
fn is_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::is_enabled_property(), value)
}
fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NativeMenuItem>::is_visible_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::NativeMenuItem>> NativeMenuItemProps for El<T> {}
pub trait NavigationPageProps: ElementBuilder {
fn content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::content_property(), value)
}
fn page_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::page_transition_property(), value)
}
fn modal_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::modal_transition_property(), value)
}
fn bar_layout_behavior<M>(self, value: impl IntoProp<Option<ferroui_controls::BarLayoutBehavior>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bar_layout_behavior_property(), value)
}
fn has_shadow<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::has_shadow_property(), value)
}
fn bar_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bar_height_property(), value)
}
fn bar_height_override<M>(self, value: impl IntoProp<Option<f64>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bar_height_override_property(), value)
}
fn back_button_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::back_button_content_property(), value)
}
fn has_back_button<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::has_back_button_property(), value)
}
fn is_back_button_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::is_back_button_visible_property(), value)
}
fn top_command_bar<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::top_command_bar_property(), value)
}
fn bottom_command_bar<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bottom_command_bar_property(), value)
}
fn has_navigation_bar<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::has_navigation_bar_property(), value)
}
fn is_gesture_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::is_gesture_enabled_property(), value)
}
fn is_back_button_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::is_back_button_enabled_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::NavigationPage>> NavigationPageProps for El<T> {}
pub trait NotificationCardProps: ElementBuilder {
fn is_closed<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NotificationCard>::is_closed_property(), value)
}
fn notification_type<M>(self, value: impl IntoProp<ferroui_controls::NotificationType, M>) -> Self {
self.prop(<ferroui_controls::NotificationCard>::notification_type_property(), value)
}
fn close_on_click<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NotificationCard>::close_on_click_property(), value)
}
fn on_notification_closed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::NotificationCard>::notification_closed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::NotificationCard>> NotificationCardProps for El<T> {}
pub trait NumericUpDownProps: ElementBuilder {
fn allow_spin<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::allow_spin_property(), value)
}
fn button_spinner_location<M>(self, value: impl IntoProp<ferroui_controls::Location, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::button_spinner_location_property(), value)
}
fn show_button_spinner<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::show_button_spinner_property(), value)
}
fn clip_value_to_min_max<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::clip_value_to_min_max_property(), value)
}
fn number_format<M>(self, value: impl IntoProp<Option<std::rc::Rc<ferroui_base::utilities::NumberFormatInfo>>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::number_format_property(), value)
}
fn format_string<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::format_string_property(), value)
}
fn increment<M>(self, value: impl IntoProp<ferroui_base::utilities::Decimal, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::increment_property(), value)
}
fn is_read_only<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::is_read_only_property(), value)
}
fn maximum<M>(self, value: impl IntoProp<ferroui_base::utilities::Decimal, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::maximum_property(), value)
}
fn minimum<M>(self, value: impl IntoProp<ferroui_base::utilities::Decimal, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::minimum_property(), value)
}
fn parsing_number_style<M>(self, value: impl IntoProp<ferroui_base::utilities::NumberStyles, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::parsing_number_style_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::text_property(), value)
}
fn text_converter<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::data::converters::IValueConverter>>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::text_converter_property(), value)
}
fn value<M>(self, value: impl IntoProp<Option<ferroui_base::utilities::Decimal>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::value_property(), value)
}
fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::placeholder_text_property(), value)
}
fn placeholder_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::placeholder_foreground_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::vertical_content_alignment_property(), value)
}
fn text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::text_alignment_property(), value)
}
fn inner_left_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::inner_left_content_property(), value)
}
fn inner_right_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::inner_right_content_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::NumericUpDown>> NumericUpDownProps for El<T> {}
pub trait OverlayPopupHostProps: ElementBuilder {
fn transform<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Transform>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::OverlayPopupHost>::transform_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::OverlayPopupHost>> OverlayPopupHostProps for El<T> {}
pub trait PageProps: ElementBuilder {
fn safe_area_padding<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::Page>::safe_area_padding_property(), value)
}
fn header<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Page>::header_property(), value)
}
fn header_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::Page>::header_template_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Page>::icon_property(), value)
}
fn icon_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::Page>::icon_template_property(), value)
}
fn current_page<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Page>>, M>) -> Self {
self.prop(<ferroui_controls::Page>::current_page_property(), value)
}
fn is_in_navigation_page<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Page>::is_in_navigation_page_property(), value)
}
fn on_page_navigation_system_back_button_pressed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Page>::page_navigation_system_back_button_pressed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Page>> PageProps for El<T> {}
pub trait PageNavigationHostProps: ElementBuilder {
fn page<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Page>>, M>) -> Self {
self.prop(<ferroui_controls::PageNavigationHost>::page_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::PageNavigationHost>> PageNavigationHostProps for El<T> {}
pub trait PanelProps: ElementBuilder {
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::Panel>::background_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Panel>> PanelProps for El<T> {}
pub trait PathProps: ElementBuilder {
fn data<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_controls::shapes::Path>::data_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Path>> PathProps for El<T> {}
pub trait PathFigureProps: ElementBuilder {
fn is_closed<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::PathFigure>::is_closed_property(), value)
}
fn is_filled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::PathFigure>::is_filled_property(), value)
}
fn segments<M>(self, value: impl IntoProp<Option<ferroui_base::media::PathSegments>, M>) -> Self {
self.prop(<ferroui_base::media::PathFigure>::segments_property(), value)
}
fn start_point<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::PathFigure>::start_point_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::PathFigure>> PathFigureProps for El<T> {}
pub trait PathGeometryProps: ElementBuilder {
fn figures<M>(self, value: impl IntoProp<Option<ferroui_base::media::PathFigures>, M>) -> Self {
self.prop(<ferroui_base::media::PathGeometry>::figures_property(), value)
}
fn fill_rule<M>(self, value: impl IntoProp<ferroui_base::media::FillRule, M>) -> Self {
self.prop(<ferroui_base::media::PathGeometry>::fill_rule_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::PathGeometry>> PathGeometryProps for El<T> {}
pub trait PathIconProps: ElementBuilder {
fn data<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_controls::PathIcon>::data_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::PathIcon>> PathIconProps for El<T> {}
pub trait PathSegmentProps: ElementBuilder {
fn is_stroked<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::PathSegment>::is_stroked_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::PathSegment>> PathSegmentProps for El<T> {}
pub trait PenProps: ElementBuilder {
fn brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_base::media::Pen>::brush_property(), value)
}
fn thickness<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Pen>::thickness_property(), value)
}
fn dash_style<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IDashStyle>>, M>) -> Self {
self.prop(<ferroui_base::media::Pen>::dash_style_property(), value)
}
fn line_cap<M>(self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self {
self.prop(<ferroui_base::media::Pen>::line_cap_property(), value)
}
fn line_join<M>(self, value: impl IntoProp<ferroui_base::media::PenLineJoin, M>) -> Self {
self.prop(<ferroui_base::media::Pen>::line_join_property(), value)
}
fn miter_limit<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Pen>::miter_limit_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::Pen>> PenProps for El<T> {}
pub trait PipsPagerProps: ElementBuilder {
fn max_visible_pips<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::max_visible_pips_property(), value)
}
fn is_next_button_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::is_next_button_visible_property(), value)
}
fn number_of_pages<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::number_of_pages_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::orientation_property(), value)
}
fn is_previous_button_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::is_previous_button_visible_property(), value)
}
fn selected_page_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::selected_page_index_property(), value)
}
fn previous_button_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::previous_button_theme_property(), value)
}
fn next_button_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::PipsPager>::next_button_theme_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::PipsPager>> PipsPagerProps for El<T> {}
pub trait PolyBezierSegmentProps: ElementBuilder {
fn points<M>(self, value: impl IntoProp<Option<ferroui_base::media::Points>, M>) -> Self {
self.prop(<ferroui_base::media::PolyBezierSegment>::points_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::PolyBezierSegment>> PolyBezierSegmentProps for El<T> {}
pub trait PolyLineSegmentProps: ElementBuilder {
fn points<M>(self, value: impl IntoProp<Option<ferroui_base::media::Points>, M>) -> Self {
self.prop(<ferroui_base::media::PolyLineSegment>::points_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::PolyLineSegment>> PolyLineSegmentProps for El<T> {}
pub trait PolygonProps: ElementBuilder {
fn points<M>(self, value: impl IntoProp<Option<ferroui_base::media::Points>, M>) -> Self {
self.prop(<ferroui_controls::shapes::Polygon>::points_property(), value)
}
fn fill_rule<M>(self, value: impl IntoProp<ferroui_base::media::FillRule, M>) -> Self {
self.prop(<ferroui_controls::shapes::Polygon>::fill_rule_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Polygon>> PolygonProps for El<T> {}
pub trait PolylineProps: ElementBuilder {
fn points<M>(self, value: impl IntoProp<Option<ferroui_base::media::Points>, M>) -> Self {
self.prop(<ferroui_controls::shapes::Polyline>::points_property(), value)
}
fn fill_rule<M>(self, value: impl IntoProp<ferroui_base::media::FillRule, M>) -> Self {
self.prop(<ferroui_controls::shapes::Polyline>::fill_rule_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Polyline>> PolylineProps for El<T> {}
pub trait PolylineGeometryProps: ElementBuilder {
fn points<M>(self, value: impl IntoProp<Option<ferroui_base::media::Points>, M>) -> Self {
self.prop(<ferroui_base::media::PolylineGeometry>::points_property(), value)
}
fn is_filled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::media::PolylineGeometry>::is_filled_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::PolylineGeometry>> PolylineGeometryProps for El<T> {}
pub trait PopupProps: ElementBuilder {
fn window_manager_add_shadow_hint<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::window_manager_add_shadow_hint_property(), value)
}
fn inherits_transform<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::inherits_transform_property(), value)
}
fn is_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::is_open_property(), value)
}
fn placement_anchor<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupAnchor, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::placement_anchor_property(), value)
}
fn placement_constraint_adjustment<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupPositionerConstraintAdjustment, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::placement_constraint_adjustment_property(), value)
}
fn placement_gravity<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupGravity, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::placement_gravity_property(), value)
}
fn placement<M>(self, value: impl IntoProp<ferroui_controls::PlacementMode, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::placement_property(), value)
}
fn placement_rect<M>(self, value: impl IntoProp<Option<ferroui_base::Rect>, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::placement_rect_property(), value)
}
fn custom_popup_placement_callback<M>(self, value: impl IntoProp<Option<ferroui_controls::primitives::CustomPopupPlacementCallbackValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::custom_popup_placement_callback_property(), value)
}
fn overlay_dismiss_event_pass_through<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::overlay_dismiss_event_pass_through_property(), value)
}
fn horizontal_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::horizontal_offset_property(), value)
}
fn is_light_dismiss_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::is_light_dismiss_enabled_property(), value)
}
fn vertical_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::vertical_offset_property(), value)
}
fn topmost<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::topmost_property(), value)
}
fn takes_focus_from_native_control<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::takes_focus_from_native_control_property(), value)
}
fn should_use_overlay_layer<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::should_use_overlay_layer_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::Popup>> PopupProps for El<T> {}
pub trait PopupFlyoutBaseProps: ElementBuilder {
fn placement<M>(self, value: impl IntoProp<ferroui_controls::PlacementMode, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::placement_property(), value)
}
fn horizontal_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::horizontal_offset_property(), value)
}
fn vertical_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::vertical_offset_property(), value)
}
fn placement_anchor<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupAnchor, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::placement_anchor_property(), value)
}
fn placement_gravity<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupGravity, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::placement_gravity_property(), value)
}
fn custom_popup_placement_callback<M>(self, value: impl IntoProp<Option<ferroui_controls::primitives::CustomPopupPlacementCallbackValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::custom_popup_placement_callback_property(), value)
}
fn show_mode<M>(self, value: impl IntoProp<ferroui_controls::FlyoutShowMode, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::show_mode_property(), value)
}
fn overlay_dismiss_event_pass_through<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::overlay_dismiss_event_pass_through_property(), value)
}
fn placement_constraint_adjustment<M>(self, value: impl IntoProp<ferroui_controls::primitives::popup_positioning::PopupPositionerConstraintAdjustment, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupFlyoutBase>::placement_constraint_adjustment_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::PopupFlyoutBase>> PopupFlyoutBaseProps for El<T> {}
pub trait PopupRootProps: ElementBuilder {
fn transform<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Transform>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupRoot>::transform_property(), value)
}
fn window_manager_add_shadow_hint<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::PopupRoot>::window_manager_add_shadow_hint_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::PopupRoot>> PopupRootProps for El<T> {}
pub trait ProgressBarProps: ElementBuilder {
fn is_indeterminate<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ProgressBar>::is_indeterminate_property(), value)
}
fn show_progress_text<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ProgressBar>::show_progress_text_property(), value)
}
fn progress_text_format<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::ProgressBar>::progress_text_format_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::ProgressBar>::orientation_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ProgressBar>> ProgressBarProps for El<T> {}
pub trait ProgressBarTemplateSettingsProps: ElementBuilder {
fn container_animation_start_position<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::container_animation_start_position_property(), value)
}
fn container_animation_end_position<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::container_animation_end_position_property(), value)
}
fn container2_animation_start_position<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::container2_animation_start_position_property(), value)
}
fn container2_animation_end_position<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::container2_animation_end_position_property(), value)
}
fn container2_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::container2_width_property(), value)
}
fn container_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::container_width_property(), value)
}
fn indeterminate_starting_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::indeterminate_starting_offset_property(), value)
}
fn indeterminate_ending_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ProgressBarTemplateSettings>::indeterminate_ending_offset_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ProgressBarTemplateSettings>> ProgressBarTemplateSettingsProps for El<T> {}
pub trait PullGestureRecognizerProps: ElementBuilder {
fn pull_direction<M>(self, value: impl IntoProp<ferroui_base::input::PullDirection, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::PullGestureRecognizer>::pull_direction_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::input::gesture_recognizers::PullGestureRecognizer>> PullGestureRecognizerProps for El<T> {}
pub trait QuadraticBezierSegmentProps: ElementBuilder {
fn point1<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::QuadraticBezierSegment>::point1_property(), value)
}
fn point2<M>(self, value: impl IntoProp<ferroui_base::Point, M>) -> Self {
self.prop(<ferroui_base::media::QuadraticBezierSegment>::point2_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::QuadraticBezierSegment>> QuadraticBezierSegmentProps for El<T> {}
pub trait RadialGradientBrushProps: ElementBuilder {
fn center<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::media::RadialGradientBrush>::center_property(), value)
}
fn gradient_origin<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::media::RadialGradientBrush>::gradient_origin_property(), value)
}
fn radius_x<M>(self, value: impl IntoProp<ferroui_base::RelativeScalar, M>) -> Self {
self.prop(<ferroui_base::media::RadialGradientBrush>::radius_x_property(), value)
}
fn radius_y<M>(self, value: impl IntoProp<ferroui_base::RelativeScalar, M>) -> Self {
self.prop(<ferroui_base::media::RadialGradientBrush>::radius_y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::RadialGradientBrush>> RadialGradientBrushProps for El<T> {}
pub trait RadioButtonProps: ElementBuilder {
fn group_name<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::RadioButton>::group_name_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::RadioButton>> RadioButtonProps for El<T> {}
pub trait RangeBaseProps: ElementBuilder {
fn minimum<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::RangeBase>::minimum_property(), value)
}
fn maximum<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::RangeBase>::maximum_property(), value)
}
fn value<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::RangeBase>::value_property(), value)
}
fn small_change<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::RangeBase>::small_change_property(), value)
}
fn large_change<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::RangeBase>::large_change_property(), value)
}
fn on_value_changed(self, handler: impl Fn(&ferroui_controls::primitives::RangeBaseValueChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::primitives::RangeBase>::value_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::RangeBase>> RangeBaseProps for El<T> {}
pub trait RectangleProps: ElementBuilder {
fn radius_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Rectangle>::radius_x_property(), value)
}
fn radius_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Rectangle>::radius_y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Rectangle>> RectangleProps for El<T> {}
pub trait RectangleGeometryProps: ElementBuilder {
fn radius_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::RectangleGeometry>::radius_x_property(), value)
}
fn radius_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::RectangleGeometry>::radius_y_property(), value)
}
fn rect<M>(self, value: impl IntoProp<ferroui_base::Rect, M>) -> Self {
self.prop(<ferroui_base::media::RectangleGeometry>::rect_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::RectangleGeometry>> RectangleGeometryProps for El<T> {}
pub trait RefreshContainerProps: ElementBuilder {
fn visualizer<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::RefreshVisualizer>>, M>) -> Self {
self.prop(<ferroui_controls::RefreshContainer>::visualizer_property(), value)
}
fn pull_direction<M>(self, value: impl IntoProp<ferroui_base::input::PullDirection, M>) -> Self {
self.prop(<ferroui_controls::RefreshContainer>::pull_direction_property(), value)
}
fn is_mouse_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RefreshContainer>::is_mouse_enabled_property(), value)
}
fn on_refresh_requested(self, handler: impl Fn(&ferroui_controls::RefreshRequestedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::RefreshContainer>::refresh_requested_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::RefreshContainer>> RefreshContainerProps for El<T> {}
pub trait RefreshVisualizerProps: ElementBuilder {
fn orientation<M>(self, value: impl IntoProp<ferroui_controls::RefreshVisualizerOrientation, M>) -> Self {
self.prop(<ferroui_controls::RefreshVisualizer>::orientation_property(), value)
}
fn on_refresh_requested(self, handler: impl Fn(&ferroui_controls::RefreshRequestedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::RefreshVisualizer>::refresh_requested_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::RefreshVisualizer>> RefreshVisualizerProps for El<T> {}
pub trait RelativePanelProps: ElementBuilder {
fn above<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::above_property(), value)
}
fn align_bottom_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_bottom_with_panel_property(), value)
}
fn align_bottom_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_bottom_with_property(), value)
}
fn align_horizontal_center_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_horizontal_center_with_panel_property(), value)
}
fn align_horizontal_center_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_horizontal_center_with_property(), value)
}
fn align_left_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_left_with_panel_property(), value)
}
fn align_left_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_left_with_property(), value)
}
fn align_right_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_right_with_panel_property(), value)
}
fn align_right_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_right_with_property(), value)
}
fn align_top_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_top_with_panel_property(), value)
}
fn align_top_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_top_with_property(), value)
}
fn align_vertical_center_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_vertical_center_with_panel_property(), value)
}
fn align_vertical_center_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_vertical_center_with_property(), value)
}
fn below<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::below_property(), value)
}
fn left_of<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::left_of_property(), value)
}
fn right_of<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::right_of_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::RelativePanel>> RelativePanelProps for El<T> {}
pub trait RepeatButtonProps: ElementBuilder {
fn interval<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::RepeatButton>::interval_property(), value)
}
fn delay<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::RepeatButton>::delay_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::RepeatButton>> RepeatButtonProps for El<T> {}
pub trait ReversibleStackPanelProps: ElementBuilder {
fn reverse_order<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ReversibleStackPanel>::reverse_order_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ReversibleStackPanel>> ReversibleStackPanelProps for El<T> {}
pub trait Rotate3DTransformProps: ElementBuilder {
fn angle_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::angle_x_property(), value)
}
fn angle_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::angle_y_property(), value)
}
fn angle_z<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::angle_z_property(), value)
}
fn center_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::center_x_property(), value)
}
fn center_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::center_y_property(), value)
}
fn center_z<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::center_z_property(), value)
}
fn depth<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::Rotate3DTransform>::depth_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::Rotate3DTransform>> Rotate3DTransformProps for El<T> {}
pub trait RotateTransformProps: ElementBuilder {
fn angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::RotateTransform>::angle_property(), value)
}
fn center_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::RotateTransform>::center_x_property(), value)
}
fn center_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::RotateTransform>::center_y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::RotateTransform>> RotateTransformProps for El<T> {}
pub trait RowDefinitionProps: ElementBuilder {
fn max_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::RowDefinition>::max_height_property(), value)
}
fn min_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::RowDefinition>::min_height_property(), value)
}
fn height<M>(self, value: impl IntoProp<ferroui_controls::GridLength, M>) -> Self {
self.prop(<ferroui_controls::RowDefinition>::height_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::RowDefinition>> RowDefinitionProps for El<T> {}
pub trait RunProps: ElementBuilder {
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::documents::Run>::text_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::documents::Run>> RunProps for El<T> {}
pub trait ScaleTransformProps: ElementBuilder {
fn scale_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ScaleTransform>::scale_x_property(), value)
}
fn scale_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::ScaleTransform>::scale_y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::ScaleTransform>> ScaleTransformProps for El<T> {}
pub trait ScrollBarProps: ElementBuilder {
fn viewport_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::ScrollBar>::viewport_size_property(), value)
}
fn visibility<M>(self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self {
self.prop(<ferroui_controls::primitives::ScrollBar>::visibility_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::primitives::ScrollBar>::orientation_property(), value)
}
fn allow_auto_hide<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::ScrollBar>::allow_auto_hide_property(), value)
}
fn hide_delay<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_controls::primitives::ScrollBar>::hide_delay_property(), value)
}
fn show_delay<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_controls::primitives::ScrollBar>::show_delay_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::ScrollBar>> ScrollBarProps for El<T> {}
pub trait ScrollContentPresenterProps: ElementBuilder {
fn can_horizontally_scroll<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::can_horizontally_scroll_property(), value)
}
fn can_vertically_scroll<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::can_vertically_scroll_property(), value)
}
fn extent<M>(self, value: impl IntoProp<ferroui_base::Size, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::extent_property(), value)
}
fn offset<M>(self, value: impl IntoProp<ferroui_base::Vector, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::offset_property(), value)
}
fn viewport<M>(self, value: impl IntoProp<ferroui_base::Size, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::viewport_property(), value)
}
fn horizontal_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::horizontal_snap_points_type_property(), value)
}
fn vertical_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::vertical_snap_points_type_property(), value)
}
fn horizontal_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::horizontal_snap_points_alignment_property(), value)
}
fn vertical_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::vertical_snap_points_alignment_property(), value)
}
fn is_scroll_chaining_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::is_scroll_chaining_enabled_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::presenters::ScrollContentPresenter>> ScrollContentPresenterProps for El<T> {}
pub trait ScrollGestureRecognizerProps: ElementBuilder {
fn can_horizontally_scroll<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::can_horizontally_scroll_property(), value)
}
fn can_vertically_scroll<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::can_vertically_scroll_property(), value)
}
fn is_scroll_inertia_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::is_scroll_inertia_enabled_property(), value)
}
fn scroll_start_distance<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::scroll_start_distance_property(), value)
}
fn offset<M>(self, value: impl IntoProp<Option<ferroui_base::Vector>, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::offset_property(), value)
}
fn extent<M>(self, value: impl IntoProp<Option<ferroui_base::Size>, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::extent_property(), value)
}
fn viewport<M>(self, value: impl IntoProp<Option<ferroui_base::Size>, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>::viewport_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::input::gesture_recognizers::ScrollGestureRecognizer>> ScrollGestureRecognizerProps for El<T> {}
pub trait ScrollViewerProps: ElementBuilder {
fn bring_into_view_on_focus_change<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::bring_into_view_on_focus_change_property(), value)
}
fn offset<M>(self, value: impl IntoProp<ferroui_base::Vector, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::offset_property(), value)
}
fn horizontal_scroll_bar_visibility<M>(self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::horizontal_scroll_bar_visibility_property(), value)
}
fn horizontal_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::horizontal_snap_points_type_property(), value)
}
fn vertical_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::vertical_snap_points_type_property(), value)
}
fn horizontal_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::horizontal_snap_points_alignment_property(), value)
}
fn vertical_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::vertical_snap_points_alignment_property(), value)
}
fn vertical_scroll_bar_visibility<M>(self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::vertical_scroll_bar_visibility_property(), value)
}
fn is_expanded<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_expanded_property(), value)
}
fn allow_auto_hide<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::allow_auto_hide_property(), value)
}
fn is_scroll_chaining_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_scroll_chaining_enabled_property(), value)
}
fn is_scroll_inertia_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_scroll_inertia_enabled_property(), value)
}
fn is_deferred_scrolling_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_deferred_scrolling_enabled_property(), value)
}
fn on_scroll_changed(self, handler: impl Fn(&ferroui_controls::ScrollChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::ScrollViewer>::scroll_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ScrollViewer>> ScrollViewerProps for El<T> {}
pub trait SectorProps: ElementBuilder {
fn start_angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Sector>::start_angle_property(), value)
}
fn sweep_angle<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Sector>::sweep_angle_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Sector>> SectorProps for El<T> {}
pub trait SelectableTextBlockProps: ElementBuilder {
fn selection_start<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::SelectableTextBlock>::selection_start_property(), value)
}
fn selection_end<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::SelectableTextBlock>::selection_end_property(), value)
}
fn selection_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::SelectableTextBlock>::selection_brush_property(), value)
}
fn selection_foreground_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::SelectableTextBlock>::selection_foreground_brush_property(), value)
}
fn can_copy<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::SelectableTextBlock>::can_copy_property(), value)
}
fn on_copying_to_clipboard(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::SelectableTextBlock>::copying_to_clipboard_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::SelectableTextBlock>> SelectableTextBlockProps for El<T> {}
pub trait SelectingItemsControlProps: ElementBuilder {
fn auto_scroll_to_selected_item<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::auto_scroll_to_selected_item_property(), value)
}
fn selected_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::selected_index_property(), value)
}
fn selected_item<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::selected_item_property(), value)
}
fn selected_value<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::selected_value_property(), value)
}
fn selection<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::selection::ISelectionModel>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::selection_property(), value)
}
fn selection_mode<M>(self, value: impl IntoProp<ferroui_controls::SelectionMode, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::selection_mode_property(), value)
}
fn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::is_selected_property(), value)
}
fn is_text_search_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::is_text_search_enabled_property(), value)
}
fn wrap_selection<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::wrap_selection_property(), value)
}
fn on_is_selected_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::primitives::SelectingItemsControl>::is_selected_changed_event(), move |_, e| handler(e))
}
fn on_selection_changed(self, handler: impl Fn(&ferroui_controls::SelectionChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::primitives::SelectingItemsControl>::selection_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::SelectingItemsControl>> SelectingItemsControlProps for El<T> {}
pub trait SelectingMultiPageProps: ElementBuilder {
fn selected_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::SelectingMultiPage>::selected_index_property(), value)
}
fn on_selection_changed(self, handler: impl Fn(&ferroui_controls::PageSelectionChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::SelectingMultiPage>::selection_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::SelectingMultiPage>> SelectingMultiPageProps for El<T> {}
pub trait ShapeProps: ElementBuilder {
fn fill<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::fill_property(), value)
}
fn stretch<M>(self, value: impl IntoProp<ferroui_base::media::Stretch, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stretch_property(), value)
}
fn stroke<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_property(), value)
}
fn stroke_dash_array<M>(self, value: impl IntoProp<Option<ferroui_base::media::MediaCollection<f64>>, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_dash_array_property(), value)
}
fn stroke_dash_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_dash_offset_property(), value)
}
fn stroke_thickness<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_thickness_property(), value)
}
fn stroke_line_cap<M>(self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_line_cap_property(), value)
}
fn stroke_join<M>(self, value: impl IntoProp<ferroui_base::media::PenLineJoin, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_join_property(), value)
}
fn stroke_miter_limit<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::shapes::Shape>::stroke_miter_limit_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::shapes::Shape>> ShapeProps for El<T> {}
pub trait SkewTransformProps: ElementBuilder {
fn angle_x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::SkewTransform>::angle_x_property(), value)
}
fn angle_y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::SkewTransform>::angle_y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::SkewTransform>> SkewTransformProps for El<T> {}
pub trait SliderProps: ElementBuilder {
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::Slider>::orientation_property(), value)
}
fn is_direction_reversed<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Slider>::is_direction_reversed_property(), value)
}
fn is_snap_to_tick_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Slider>::is_snap_to_tick_enabled_property(), value)
}
fn tick_frequency<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Slider>::tick_frequency_property(), value)
}
fn tick_placement<M>(self, value: impl IntoProp<ferroui_controls::TickPlacement, M>) -> Self {
self.prop(<ferroui_controls::Slider>::tick_placement_property(), value)
}
fn ticks<M>(self, value: impl IntoProp<Option<ferroui_controls::TickList>, M>) -> Self {
self.prop(<ferroui_controls::Slider>::ticks_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Slider>> SliderProps for El<T> {}
pub trait SolidColorBrushProps: ElementBuilder {
fn color<M>(self, value: impl IntoProp<ferroui_base::media::Color, M>) -> Self {
self.prop(<ferroui_base::media::SolidColorBrush>::color_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::SolidColorBrush>> SolidColorBrushProps for El<T> {}
pub trait SpanProps: ElementBuilder {
fn inlines<M>(self, value: impl IntoProp<Option<ferroui_controls::documents::InlineCollection>, M>) -> Self {
self.prop(<ferroui_controls::documents::Span>::inlines_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::documents::Span>> SpanProps for El<T> {}
pub trait SpinnerProps: ElementBuilder {
fn valid_spin_direction<M>(self, value: impl IntoProp<ferroui_controls::ValidSpinDirections, M>) -> Self {
self.prop(<ferroui_controls::Spinner>::valid_spin_direction_property(), value)
}
fn on_spin(self, handler: impl Fn(&ferroui_controls::SpinEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Spinner>::spin_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Spinner>> SpinnerProps for El<T> {}
pub trait SplitButtonProps: ElementBuilder {
fn command<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self {
self.prop(<ferroui_controls::SplitButton>::command_property(), value)
}
fn command_parameter<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::SplitButton>::command_parameter_property(), value)
}
fn flyout<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::FlyoutBase>>, M>) -> Self {
self.prop(<ferroui_controls::SplitButton>::flyout_property(), value)
}
fn hot_key<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_controls::SplitButton>::hot_key_property(), value)
}
fn on_click(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::SplitButton>::click_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::SplitButton>> SplitButtonProps for El<T> {}
pub trait SplitViewProps: ElementBuilder {
fn compact_pane_length<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::compact_pane_length_property(), value)
}
fn display_mode<M>(self, value: impl IntoProp<ferroui_controls::SplitViewDisplayMode, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::display_mode_property(), value)
}
fn is_pane_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::is_pane_open_property(), value)
}
fn open_pane_length<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::open_pane_length_property(), value)
}
fn pane_background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::pane_background_property(), value)
}
fn pane_placement<M>(self, value: impl IntoProp<ferroui_controls::SplitViewPanePlacement, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::pane_placement_property(), value)
}
fn pane<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::pane_property(), value)
}
fn pane_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::pane_template_property(), value)
}
fn use_light_dismiss_overlay_mode<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::SplitView>::use_light_dismiss_overlay_mode_property(), value)
}
fn on_pane_closed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::SplitView>::pane_closed_event(), move |_, e| handler(e))
}
fn on_pane_opened(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::SplitView>::pane_opened_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::SplitView>> SplitViewProps for El<T> {}
pub trait SplitViewTemplateSettingsProps: ElementBuilder {
fn closed_pane_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::SplitViewTemplateSettings>::closed_pane_width_property(), value)
}
fn pane_column_grid_length<M>(self, value: impl IntoProp<ferroui_controls::GridLength, M>) -> Self {
self.prop(<ferroui_controls::primitives::SplitViewTemplateSettings>::pane_column_grid_length_property(), value)
}
fn closed_pane_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::SplitViewTemplateSettings>::closed_pane_height_property(), value)
}
fn pane_row_grid_length<M>(self, value: impl IntoProp<ferroui_controls::GridLength, M>) -> Self {
self.prop(<ferroui_controls::primitives::SplitViewTemplateSettings>::pane_row_grid_length_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::SplitViewTemplateSettings>> SplitViewTemplateSettingsProps for El<T> {}
pub trait StackPanelProps: ElementBuilder {
fn spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::StackPanel>::spacing_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::StackPanel>::orientation_property(), value)
}
fn are_horizontal_snap_points_regular<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::StackPanel>::are_horizontal_snap_points_regular_property(), value)
}
fn are_vertical_snap_points_regular<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::StackPanel>::are_vertical_snap_points_regular_property(), value)
}
fn on_horizontal_snap_points_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::StackPanel>::horizontal_snap_points_changed_event(), move |_, e| handler(e))
}
fn on_vertical_snap_points_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::StackPanel>::vertical_snap_points_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::StackPanel>> StackPanelProps for El<T> {}
pub trait StyledElementProps: ElementBuilder {
fn data_context<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_base::StyledElement>::data_context_property(), value)
}
fn theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_base::StyledElement>::theme_property(), value)
}
fn actual_theme_variant<M>(self, value: impl IntoProp<Option<ferroui_base::styling::ThemeVariant>, M>) -> Self {
self.prop(<ferroui_base::styling::ThemeVariant>::actual_theme_variant_property(), value)
}
fn requested_theme_variant<M>(self, value: impl IntoProp<Option<ferroui_base::styling::ThemeVariant>, M>) -> Self {
self.prop(<ferroui_base::styling::ThemeVariant>::requested_theme_variant_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::StyledElement>> StyledElementProps for El<T> {}
pub trait SwipeGestureRecognizerProps: ElementBuilder {
fn can_horizontally_swipe<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::SwipeGestureRecognizer>::can_horizontally_swipe_property(), value)
}
fn can_vertically_swipe<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::SwipeGestureRecognizer>::can_vertically_swipe_property(), value)
}
fn threshold<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::SwipeGestureRecognizer>::threshold_property(), value)
}
fn is_mouse_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::SwipeGestureRecognizer>::is_mouse_enabled_property(), value)
}
fn is_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::gesture_recognizers::SwipeGestureRecognizer>::is_enabled_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::input::gesture_recognizers::SwipeGestureRecognizer>> SwipeGestureRecognizerProps for El<T> {}
pub trait TabControlProps: ElementBuilder {
fn tab_strip_placement<M>(self, value: impl IntoProp<ferroui_controls::Dock, M>) -> Self {
self.prop(<ferroui_controls::TabControl>::tab_strip_placement_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::TabControl>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::TabControl>::vertical_content_alignment_property(), value)
}
fn content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TabControl>::content_template_property(), value)
}
fn page_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::TabControl>::page_transition_property(), value)
}
fn indicator_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TabControl>::indicator_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TabControl>> TabControlProps for El<T> {}
pub trait TabItemProps: ElementBuilder {
fn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TabItem>::is_selected_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::TabItem>::icon_property(), value)
}
fn icon_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TabItem>::icon_template_property(), value)
}
fn indicator_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TabItem>::indicator_template_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TabItem>> TabItemProps for El<T> {}
pub trait TabbedPageProps: ElementBuilder {
fn tab_placement<M>(self, value: impl IntoProp<ferroui_controls::TabPlacement, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::tab_placement_property(), value)
}
fn is_keyboard_navigation_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::is_keyboard_navigation_enabled_property(), value)
}
fn is_gesture_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::is_gesture_enabled_property(), value)
}
fn page_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::page_transition_property(), value)
}
fn indicator_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::indicator_template_property(), value)
}
fn is_tab_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::is_tab_enabled_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TabbedPage>> TabbedPageProps for El<T> {}
pub trait TableViewProps: ElementBuilder {
fn columns<M>(self, value: impl IntoProp<Option<ferroui_base::collections::FerroList<ferroui_base::Ref<ferroui_controls::TableViewColumn>>>, M>) -> Self {
self.prop(<ferroui_controls::TableView>::columns_property(), value)
}
fn can_user_resize_columns<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TableView>::can_user_resize_columns_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TableView>> TableViewProps for El<T> {}
pub trait TableViewColumnProps: ElementBuilder {
fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::is_visible_property(), value)
}
fn header_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::header_theme_property(), value)
}
fn header_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::header_template_property(), value)
}
fn header<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::header_property(), value)
}
fn width<M>(self, value: impl IntoProp<ferroui_controls::GridLength, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::width_property(), value)
}
fn cell_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::cell_theme_property(), value)
}
fn cell_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::cell_template_property(), value)
}
fn can_user_resize<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::can_user_resize_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::TableViewColumn>::horizontal_content_alignment_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TableViewColumn>> TableViewColumnProps for El<T> {}
pub trait TemplatedControlProps: ElementBuilder {
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::background_property(), value)
}
fn background_sizing<M>(self, value: impl IntoProp<ferroui_base::media::BackgroundSizing, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::background_sizing_property(), value)
}
fn border_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::border_brush_property(), value)
}
fn border_thickness<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::border_thickness_property(), value)
}
fn corner_radius<M>(self, value: impl IntoProp<ferroui_base::CornerRadius, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::corner_radius_property(), value)
}
fn font_family<M>(self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::font_family_property(), value)
}
fn font_features<M>(self, value: impl IntoProp<Option<ferroui_base::media::FontFeatureCollection>, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::font_features_property(), value)
}
fn font_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::font_size_property(), value)
}
fn font_style<M>(self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::font_style_property(), value)
}
fn font_weight<M>(self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::font_weight_property(), value)
}
fn font_stretch<M>(self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::font_stretch_property(), value)
}
fn foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::foreground_property(), value)
}
fn letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::letter_spacing_property(), value)
}
fn padding<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::padding_property(), value)
}
fn template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IControlTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::template_property(), value)
}
fn is_template_focus_target<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::is_template_focus_target_property(), value)
}
fn on_template_applied(self, handler: impl Fn(&ferroui_controls::primitives::TemplateAppliedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::primitives::TemplatedControl>::template_applied_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::TemplatedControl>> TemplatedControlProps for El<T> {}
pub trait TextBlockProps: ElementBuilder {
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::background_property(), value)
}
fn padding<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::padding_property(), value)
}
fn font_family<M>(self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::font_family_property(), value)
}
fn font_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::font_size_property(), value)
}
fn font_style<M>(self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::font_style_property(), value)
}
fn font_weight<M>(self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::font_weight_property(), value)
}
fn font_stretch<M>(self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::font_stretch_property(), value)
}
fn foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::foreground_property(), value)
}
fn baseline_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::baseline_offset_property(), value)
}
fn layout_rounding_placement<M>(self, value: impl IntoProp<ferroui_controls::TextLayoutRoundingPlacement, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::layout_rounding_placement_property(), value)
}
fn line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::line_height_property(), value)
}
fn line_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::line_spacing_property(), value)
}
fn letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::letter_spacing_property(), value)
}
fn max_lines<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::max_lines_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_property(), value)
}
fn text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_alignment_property(), value)
}
fn text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_wrapping_property(), value)
}
fn text_trimming<M>(self, value: impl IntoProp<std::rc::Rc<dyn ferroui_base::media::TextTrimming>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_trimming_property(), value)
}
fn text_decorations<M>(self, value: impl IntoProp<Option<ferroui_base::media::TextDecorationCollection>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_decorations_property(), value)
}
fn font_features<M>(self, value: impl IntoProp<Option<ferroui_base::media::FontFeatureCollection>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::font_features_property(), value)
}
fn inlines<M>(self, value: impl IntoProp<Option<ferroui_controls::documents::InlineCollection>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::inlines_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TextBlock>> TextBlockProps for El<T> {}
pub trait TextBoxProps: ElementBuilder {
fn is_inactive_selection_highlight_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::is_inactive_selection_highlight_enabled_property(), value)
}
fn clear_selection_on_lost_focus<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::clear_selection_on_lost_focus_property(), value)
}
fn accepts_return<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::accepts_return_property(), value)
}
fn accepts_tab<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::accepts_tab_property(), value)
}
fn caret_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::caret_index_property(), value)
}
fn is_read_only<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::is_read_only_property(), value)
}
fn password_char<M>(self, value: impl IntoProp<char, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::password_char_property(), value)
}
fn selection_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::selection_brush_property(), value)
}
fn selection_foreground_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::selection_foreground_brush_property(), value)
}
fn caret_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::caret_brush_property(), value)
}
fn caret_blink_interval<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::caret_blink_interval_property(), value)
}
fn selection_start<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::selection_start_property(), value)
}
fn selection_end<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::selection_end_property(), value)
}
fn max_length<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::max_length_property(), value)
}
fn max_lines<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::max_lines_property(), value)
}
fn min_lines<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::min_lines_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::text_property(), value)
}
fn text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::text_alignment_property(), value)
}
fn horizontal_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::horizontal_content_alignment_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::vertical_content_alignment_property(), value)
}
fn text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::text_wrapping_property(), value)
}
fn line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::line_height_property(), value)
}
fn placeholder_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::placeholder_text_property(), value)
}
fn use_floating_placeholder<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::use_floating_placeholder_property(), value)
}
fn placeholder_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::placeholder_foreground_property(), value)
}
fn new_line<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::new_line_property(), value)
}
fn inner_left_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::inner_left_content_property(), value)
}
fn inner_right_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::inner_right_content_property(), value)
}
fn reveal_password<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::reveal_password_property(), value)
}
fn is_undo_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::is_undo_enabled_property(), value)
}
fn undo_limit<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::undo_limit_property(), value)
}
fn on_copying_to_clipboard(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TextBox>::copying_to_clipboard_event(), move |_, e| handler(e))
}
fn on_cutting_to_clipboard(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TextBox>::cutting_to_clipboard_event(), move |_, e| handler(e))
}
fn on_pasting_from_clipboard(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TextBox>::pasting_from_clipboard_event(), move |_, e| handler(e))
}
fn on_text_changed(self, handler: impl Fn(&ferroui_controls::TextChangedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TextBox>::text_changed_event(), move |_, e| handler(e))
}
fn on_text_changing(self, handler: impl Fn(&ferroui_controls::TextChangingEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TextBox>::text_changing_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TextBox>> TextBoxProps for El<T> {}
pub trait TextDecorationProps: ElementBuilder {
fn location<M>(self, value: impl IntoProp<ferroui_base::media::TextDecorationLocation, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::location_property(), value)
}
fn stroke<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_property(), value)
}
fn stroke_thickness_unit<M>(self, value: impl IntoProp<ferroui_base::media::TextDecorationUnit, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_thickness_unit_property(), value)
}
fn stroke_dash_array<M>(self, value: impl IntoProp<Option<ferroui_base::media::MediaCollection<f64>>, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_dash_array_property(), value)
}
fn stroke_dash_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_dash_offset_property(), value)
}
fn stroke_thickness<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_thickness_property(), value)
}
fn stroke_line_cap<M>(self, value: impl IntoProp<ferroui_base::media::PenLineCap, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_line_cap_property(), value)
}
fn stroke_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_offset_property(), value)
}
fn stroke_offset_unit<M>(self, value: impl IntoProp<ferroui_base::media::TextDecorationUnit, M>) -> Self {
self.prop(<ferroui_base::media::TextDecoration>::stroke_offset_unit_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::TextDecoration>> TextDecorationProps for El<T> {}
pub trait TextElementProps: ElementBuilder {
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::background_property(), value)
}
fn font_family<M>(self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_family_property(), value)
}
fn font_features<M>(self, value: impl IntoProp<Option<ferroui_base::media::FontFeatureCollection>, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_features_property(), value)
}
fn font_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_size_property(), value)
}
fn font_style<M>(self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_style_property(), value)
}
fn font_weight<M>(self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_weight_property(), value)
}
fn font_stretch<M>(self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_stretch_property(), value)
}
fn foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::foreground_property(), value)
}
fn letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::letter_spacing_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::documents::TextElement>> TextElementProps for El<T> {}
pub trait TextPresenterProps: ElementBuilder {
fn show_selection_highlight<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::show_selection_highlight_property(), value)
}
fn caret_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::caret_index_property(), value)
}
fn reveal_password<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::reveal_password_property(), value)
}
fn password_char<M>(self, value: impl IntoProp<char, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::password_char_property(), value)
}
fn selection_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::selection_brush_property(), value)
}
fn selection_foreground_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::selection_foreground_brush_property(), value)
}
fn caret_brush<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::caret_brush_property(), value)
}
fn caret_blink_interval<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::caret_blink_interval_property(), value)
}
fn selection_start<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::selection_start_property(), value)
}
fn selection_end<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::selection_end_property(), value)
}
fn text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::text_property(), value)
}
fn preedit_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::preedit_text_property(), value)
}
fn preedit_text_cursor_position<M>(self, value: impl IntoProp<Option<i32>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::preedit_text_cursor_position_property(), value)
}
fn text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::text_alignment_property(), value)
}
fn text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::text_wrapping_property(), value)
}
fn line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::line_height_property(), value)
}
fn letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::letter_spacing_property(), value)
}
fn background<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::background_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::presenters::TextPresenter>> TextPresenterProps for El<T> {}
pub trait TickBarProps: ElementBuilder {
fn fill<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::fill_property(), value)
}
fn minimum<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::minimum_property(), value)
}
fn maximum<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::maximum_property(), value)
}
fn tick_frequency<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::tick_frequency_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::orientation_property(), value)
}
fn ticks<M>(self, value: impl IntoProp<Option<ferroui_controls::TickList>, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::ticks_property(), value)
}
fn is_direction_reversed<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::is_direction_reversed_property(), value)
}
fn placement<M>(self, value: impl IntoProp<ferroui_controls::TickBarPlacement, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::placement_property(), value)
}
fn reserved_space<M>(self, value: impl IntoProp<ferroui_base::Rect, M>) -> Self {
self.prop(<ferroui_controls::TickBar>::reserved_space_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TickBar>> TickBarProps for El<T> {}
pub trait TileBrushProps: ElementBuilder {
fn alignment_x<M>(self, value: impl IntoProp<ferroui_base::media::AlignmentX, M>) -> Self {
self.prop(<ferroui_base::media::TileBrush>::alignment_x_property(), value)
}
fn alignment_y<M>(self, value: impl IntoProp<ferroui_base::media::AlignmentY, M>) -> Self {
self.prop(<ferroui_base::media::TileBrush>::alignment_y_property(), value)
}
fn destination_rect<M>(self, value: impl IntoProp<ferroui_base::RelativeRect, M>) -> Self {
self.prop(<ferroui_base::media::TileBrush>::destination_rect_property(), value)
}
fn source_rect<M>(self, value: impl IntoProp<ferroui_base::RelativeRect, M>) -> Self {
self.prop(<ferroui_base::media::TileBrush>::source_rect_property(), value)
}
fn stretch<M>(self, value: impl IntoProp<ferroui_base::media::Stretch, M>) -> Self {
self.prop(<ferroui_base::media::TileBrush>::stretch_property(), value)
}
fn tile_mode<M>(self, value: impl IntoProp<ferroui_base::media::TileMode, M>) -> Self {
self.prop(<ferroui_base::media::TileBrush>::tile_mode_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::TileBrush>> TileBrushProps for El<T> {}
pub trait TimePickerProps: ElementBuilder {
fn minute_increment<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TimePicker>::minute_increment_property(), value)
}
fn second_increment<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TimePicker>::second_increment_property(), value)
}
fn clock_identifier<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::TimePicker>::clock_identifier_property(), value)
}
fn vertical_content_alignment<M>(self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self {
self.prop(<ferroui_controls::TimePicker>::vertical_content_alignment_property(), value)
}
fn use_seconds<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TimePicker>::use_seconds_property(), value)
}
fn selected_time<M>(self, value: impl IntoProp<Option<ferroui_base::animation::TimeSpan>, M>) -> Self {
self.prop(<ferroui_controls::TimePicker>::selected_time_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TimePicker>> TimePickerProps for El<T> {}
pub trait TimePickerPresenterProps: ElementBuilder {
fn minute_increment<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TimePickerPresenter>::minute_increment_property(), value)
}
fn second_increment<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TimePickerPresenter>::second_increment_property(), value)
}
fn clock_identifier<M>(self, value: impl IntoProp<String, M>) -> Self {
self.prop(<ferroui_controls::TimePickerPresenter>::clock_identifier_property(), value)
}
fn use_seconds<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TimePickerPresenter>::use_seconds_property(), value)
}
fn time<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_controls::TimePickerPresenter>::time_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TimePickerPresenter>> TimePickerPresenterProps for El<T> {}
pub trait ToggleButtonProps: ElementBuilder {
fn is_checked<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self {
self.prop(<ferroui_controls::primitives::ToggleButton>::is_checked_property(), value)
}
fn is_three_state<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::ToggleButton>::is_three_state_property(), value)
}
fn on_is_checked_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::primitives::ToggleButton>::is_checked_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::ToggleButton>> ToggleButtonProps for El<T> {}
pub trait ToggleSplitButtonProps: ElementBuilder {
fn is_checked<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToggleSplitButton>::is_checked_property(), value)
}
fn on_is_checked_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::ToggleSplitButton>::is_checked_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ToggleSplitButton>> ToggleSplitButtonProps for El<T> {}
pub trait ToggleSwitchProps: ElementBuilder {
fn off_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ToggleSwitch>::off_content_property(), value)
}
fn off_content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::ToggleSwitch>::off_content_template_property(), value)
}
fn on_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ToggleSwitch>::on_content_property(), value)
}
fn on_content_template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::ToggleSwitch>::on_content_template_property(), value)
}
fn knob_transitions<M>(self, value: impl IntoProp<Option<ferroui_base::animation::Transitions>, M>) -> Self {
self.prop(<ferroui_controls::ToggleSwitch>::knob_transitions_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ToggleSwitch>> ToggleSwitchProps for El<T> {}
pub trait ToolTipProps: ElementBuilder {
fn tip<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::tip_property(), value)
}
fn is_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::is_open_property(), value)
}
fn placement<M>(self, value: impl IntoProp<ferroui_controls::PlacementMode, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::placement_property(), value)
}
fn horizontal_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::horizontal_offset_property(), value)
}
fn vertical_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::vertical_offset_property(), value)
}
fn custom_popup_placement_callback<M>(self, value: impl IntoProp<Option<ferroui_controls::primitives::CustomPopupPlacementCallbackValue>, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::custom_popup_placement_callback_property(), value)
}
fn show_delay<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::show_delay_property(), value)
}
fn between_show_delay<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::between_show_delay_property(), value)
}
fn show_on_disabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::show_on_disabled_property(), value)
}
fn service_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::service_enabled_property(), value)
}
fn should_use_overlay_layer<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::should_use_overlay_layer_property(), value)
}
fn tool_tip<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::ToolTip>>, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::tool_tip_property(), value)
}
fn on_tool_tip_closing(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::ToolTip>::tool_tip_closing_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::ToolTip>> ToolTipProps for El<T> {}
pub trait TopLevelProps: ElementBuilder {
fn transparency_level_hint<M>(self, value: impl IntoProp<ferroui_controls::WindowTransparencyLevelCollection, M>) -> Self {
self.prop(<ferroui_controls::TopLevel>::transparency_level_hint_property(), value)
}
fn transparency_background_fallback<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TopLevel>::transparency_background_fallback_property(), value)
}
fn system_bar_color<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::SolidColorBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TopLevel>::system_bar_color_property(), value)
}
fn auto_safe_area_padding<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TopLevel>::auto_safe_area_padding_property(), value)
}
fn on_back_requested(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TopLevel>::back_requested_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TopLevel>> TopLevelProps for El<T> {}
pub trait TrackProps: ElementBuilder {
fn minimum<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::minimum_property(), value)
}
fn maximum<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::maximum_property(), value)
}
fn value<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::value_property(), value)
}
fn viewport_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::viewport_size_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::orientation_property(), value)
}
fn thumb<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::Thumb>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::thumb_property(), value)
}
fn increase_button<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Button>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::increase_button_property(), value)
}
fn decrease_button<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Button>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::decrease_button_property(), value)
}
fn is_direction_reversed<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::is_direction_reversed_property(), value)
}
fn ignore_thumb_drag<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::ignore_thumb_drag_property(), value)
}
fn defer_thumb_drag<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Track>::defer_thumb_drag_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::Track>> TrackProps for El<T> {}
pub trait TransitionBaseProps: ElementBuilder {
fn duration<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_base::animation::TransitionBase>::duration_property(), value)
}
fn delay<M>(self, value: impl IntoProp<ferroui_base::animation::TimeSpan, M>) -> Self {
self.prop(<ferroui_base::animation::TransitionBase>::delay_property(), value)
}
fn easing<M>(self, value: impl IntoProp<ferroui_base::animation::easings::Easing, M>) -> Self {
self.prop(<ferroui_base::animation::TransitionBase>::easing_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::animation::TransitionBase>> TransitionBaseProps for El<T> {}
pub trait TransitioningContentControlProps: ElementBuilder {
fn page_transition<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self {
self.prop(<ferroui_controls::TransitioningContentControl>::page_transition_property(), value)
}
fn is_transition_reversed<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TransitioningContentControl>::is_transition_reversed_property(), value)
}
fn on_transition_completed(self, handler: impl Fn(&ferroui_controls::TransitionCompletedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TransitioningContentControl>::transition_completed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TransitioningContentControl>> TransitioningContentControlProps for El<T> {}
pub trait TranslateTransformProps: ElementBuilder {
fn x<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::TranslateTransform>::x_property(), value)
}
fn y<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::media::TranslateTransform>::y_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::TranslateTransform>> TranslateTransformProps for El<T> {}
pub trait TrayIconProps: ElementBuilder {
fn command<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::command_property(), value)
}
fn command_parameter<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::command_parameter_property(), value)
}
fn icons<M>(self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls::TrayIcons>>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::icons_property(), value)
}
fn menu<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::NativeMenu>>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::menu_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls::WindowIcon>>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::icon_property(), value)
}
fn tool_tip_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::tool_tip_text_property(), value)
}
fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::is_visible_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TrayIcon>> TrayIconProps for El<T> {}
pub trait TreeViewProps: ElementBuilder {
fn auto_scroll_to_selected_item<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TreeView>::auto_scroll_to_selected_item_property(), value)
}
fn selected_item<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::TreeView>::selected_item_property(), value)
}
fn selection_mode<M>(self, value: impl IntoProp<ferroui_controls::SelectionMode, M>) -> Self {
self.prop(<ferroui_controls::TreeView>::selection_mode_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TreeView>> TreeViewProps for El<T> {}
pub trait TreeViewItemProps: ElementBuilder {
fn is_expanded<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TreeViewItem>::is_expanded_property(), value)
}
fn is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TreeViewItem>::is_selected_property(), value)
}
fn on_expanded(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TreeViewItem>::expanded_event(), move |_, e| handler(e))
}
fn on_collapsed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::TreeViewItem>::collapsed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::TreeViewItem>> TreeViewItemProps for El<T> {}
pub trait UniformGridProps: ElementBuilder {
fn rows<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::primitives::UniformGrid>::rows_property(), value)
}
fn columns<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::primitives::UniformGrid>::columns_property(), value)
}
fn first_column<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::primitives::UniformGrid>::first_column_property(), value)
}
fn row_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::UniformGrid>::row_spacing_property(), value)
}
fn column_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::primitives::UniformGrid>::column_spacing_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::primitives::UniformGrid>> UniformGridProps for El<T> {}
pub trait ViewboxProps: ElementBuilder {
fn stretch<M>(self, value: impl IntoProp<ferroui_base::media::Stretch, M>) -> Self {
self.prop(<ferroui_controls::Viewbox>::stretch_property(), value)
}
fn stretch_direction<M>(self, value: impl IntoProp<ferroui_base::media::StretchDirection, M>) -> Self {
self.prop(<ferroui_controls::Viewbox>::stretch_direction_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Viewbox>> ViewboxProps for El<T> {}
pub trait VirtualizingStackPanelProps: ElementBuilder {
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::VirtualizingStackPanel>::orientation_property(), value)
}
fn are_horizontal_snap_points_regular<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::VirtualizingStackPanel>::are_horizontal_snap_points_regular_property(), value)
}
fn are_vertical_snap_points_regular<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::VirtualizingStackPanel>::are_vertical_snap_points_regular_property(), value)
}
fn cache_length<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::VirtualizingStackPanel>::cache_length_property(), value)
}
fn on_horizontal_snap_points_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::VirtualizingStackPanel>::horizontal_snap_points_changed_event(), move |_, e| handler(e))
}
fn on_vertical_snap_points_changed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::VirtualizingStackPanel>::vertical_snap_points_changed_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::VirtualizingStackPanel>> VirtualizingStackPanelProps for El<T> {}
pub trait VisualProps: ElementBuilder {
fn clip_to_bounds<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::Visual>::clip_to_bounds_property(), value)
}
fn clip<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::Geometry>>, M>) -> Self {
self.prop(<ferroui_base::Visual>::clip_property(), value)
}
fn cache_mode<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::CacheMode>>, M>) -> Self {
self.prop(<ferroui_base::Visual>::cache_mode_property(), value)
}
fn effect<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IEffect>>, M>) -> Self {
self.prop(<ferroui_base::Visual>::effect_property(), value)
}
fn opacity_mask<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_base::Visual>::opacity_mask_property(), value)
}
fn render_transform<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::ITransform>>, M>) -> Self {
self.prop(<ferroui_base::Visual>::render_transform_property(), value)
}
fn render_transform_origin<M>(self, value: impl IntoProp<ferroui_base::RelativePoint, M>) -> Self {
self.prop(<ferroui_base::Visual>::render_transform_origin_property(), value)
}
fn is_visible<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::Visual>::is_visible_property(), value)
}
fn opacity<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_base::Visual>::opacity_property(), value)
}
fn flow_direction<M>(self, value: impl IntoProp<ferroui_base::media::FlowDirection, M>) -> Self {
self.prop(<ferroui_base::Visual>::flow_direction_property(), value)
}
fn z_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_base::Visual>::z_index_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::Visual>> VisualProps for El<T> {}
pub trait VisualBrushProps: ElementBuilder {
fn visual<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::Visual>>, M>) -> Self {
self.prop(<ferroui_base::media::VisualBrush>::visual_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_base::media::VisualBrush>> VisualBrushProps for El<T> {}
pub trait WindowProps: ElementBuilder {
fn size_to_content<M>(self, value: impl IntoProp<ferroui_controls::SizeToContent, M>) -> Self {
self.prop(<ferroui_controls::Window>::size_to_content_property(), value)
}
fn extend_client_area_to_decorations_hint<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Window>::extend_client_area_to_decorations_hint_property(), value)
}
fn extend_client_area_title_bar_height_hint<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Window>::extend_client_area_title_bar_height_hint_property(), value)
}
fn window_decorations<M>(self, value: impl IntoProp<ferroui_controls::WindowDecorations, M>) -> Self {
self.prop(<ferroui_controls::Window>::window_decorations_property(), value)
}
fn window_decorations_theme<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self {
self.prop(<ferroui_controls::Window>::window_decorations_theme_property(), value)
}
fn show_activated<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Window>::show_activated_property(), value)
}
fn show_in_taskbar<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Window>::show_in_taskbar_property(), value)
}
fn closing_behavior<M>(self, value: impl IntoProp<ferroui_controls::WindowClosingBehavior, M>) -> Self {
self.prop(<ferroui_controls::Window>::closing_behavior_property(), value)
}
fn window_state<M>(self, value: impl IntoProp<ferroui_controls::WindowState, M>) -> Self {
self.prop(<ferroui_controls::Window>::window_state_property(), value)
}
fn title<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::Window>::title_property(), value)
}
fn icon<M>(self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls::WindowIcon>>, M>) -> Self {
self.prop(<ferroui_controls::Window>::icon_property(), value)
}
fn window_startup_location<M>(self, value: impl IntoProp<ferroui_controls::WindowStartupLocation, M>) -> Self {
self.prop(<ferroui_controls::Window>::window_startup_location_property(), value)
}
fn can_resize<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Window>::can_resize_property(), value)
}
fn can_minimize<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Window>::can_minimize_property(), value)
}
fn can_maximize<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Window>::can_maximize_property(), value)
}
fn on_window_closed(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Window>::window_closed_event(), move |_, e| handler(e))
}
fn on_window_opened(self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) + 'static) -> Self {
self.routed(<ferroui_controls::Window>::window_opened_event(), move |_, e| handler(e))
}
}
impl<T: ObjectType + Upcast<ferroui_controls::Window>> WindowProps for El<T> {}
pub trait WindowBaseProps: ElementBuilder {
fn topmost<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::WindowBase>::topmost_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::WindowBase>> WindowBaseProps for El<T> {}
pub trait WindowDrawnDecorationsProps: ElementBuilder {
fn template<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::chrome::IWindowDrawnDecorationsTemplate>>, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::template_property(), value)
}
fn default_title_bar_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::default_title_bar_height_property(), value)
}
fn default_frame_thickness<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::default_frame_thickness_property(), value)
}
fn default_shadow_thickness<M>(self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::default_shadow_thickness_property(), value)
}
fn title<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::title_property(), value)
}
fn title_bar_decorations<M>(self, value: impl IntoProp<ferroui_controls::chrome::TitleBarDecorations, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::title_bar_decorations_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::chrome::WindowDrawnDecorations>> WindowDrawnDecorationsProps for El<T> {}
pub trait WindowNotificationManagerProps: ElementBuilder {
fn position<M>(self, value: impl IntoProp<ferroui_controls::NotificationPosition, M>) -> Self {
self.prop(<ferroui_controls::WindowNotificationManager>::position_property(), value)
}
fn max_items<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::WindowNotificationManager>::max_items_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::WindowNotificationManager>> WindowNotificationManagerProps for El<T> {}
pub trait WrapPanelProps: ElementBuilder {
fn item_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::WrapPanel>::item_spacing_property(), value)
}
fn line_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::WrapPanel>::line_spacing_property(), value)
}
fn orientation<M>(self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self {
self.prop(<ferroui_controls::WrapPanel>::orientation_property(), value)
}
fn items_alignment<M>(self, value: impl IntoProp<ferroui_controls::WrapPanelItemsAlignment, M>) -> Self {
self.prop(<ferroui_controls::WrapPanel>::items_alignment_property(), value)
}
fn item_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::WrapPanel>::item_width_property(), value)
}
fn item_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::WrapPanel>::item_height_property(), value)
}
}
impl<T: ObjectType + Upcast<ferroui_controls::WrapPanel>> WrapPanelProps for El<T> {}
pub trait AttachedProps: ElementBuilder {
fn access_key_handler_show_access_key<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::AccessKeyHandler>::show_access_key_property(), value)
}
fn access_text_show_access_key<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::AccessText>::show_access_key_property(), value)
}
fn adorner_layer_is_clip_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::AdornerLayer>::is_clip_enabled_property(), value)
}
fn adorner_layer_adorner<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::AdornerLayer>::adorner_property(), value)
}
fn automation_properties_accelerator_key<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::accelerator_key_property(), value)
}
fn automation_properties_accessibility_view<M>(self, value: impl IntoProp<ferroui_controls::automation::AccessibilityView, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::accessibility_view_property(), value)
}
fn automation_properties_access_key<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::access_key_property(), value)
}
fn automation_properties_automation_id<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::automation_id_property(), value)
}
fn automation_properties_control_type_override<M>(self, value: impl IntoProp<Option<ferroui_controls::automation::peers::AutomationControlType>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::control_type_override_property(), value)
}
fn automation_properties_class_name_override<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::class_name_override_property(), value)
}
fn automation_properties_is_control_element_override<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::is_control_element_override_property(), value)
}
fn automation_properties_help_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::help_text_property(), value)
}
fn automation_properties_landmark_type<M>(self, value: impl IntoProp<Option<ferroui_controls::automation::peers::AutomationLandmarkType>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::landmark_type_property(), value)
}
fn automation_properties_heading_level<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::heading_level_property(), value)
}
fn automation_properties_is_column_header<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::is_column_header_property(), value)
}
fn automation_properties_is_required_for_form<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::is_required_for_form_property(), value)
}
fn automation_properties_is_row_header<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::is_row_header_property(), value)
}
fn automation_properties_is_offscreen_behavior<M>(self, value: impl IntoProp<ferroui_controls::automation::IsOffscreenBehavior, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::is_offscreen_behavior_property(), value)
}
fn automation_properties_item_status<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::item_status_property(), value)
}
fn automation_properties_item_type<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::item_type_property(), value)
}
fn automation_properties_live_setting<M>(self, value: impl IntoProp<ferroui_controls::automation::AutomationLiveSetting, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::live_setting_property(), value)
}
fn automation_properties_name<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::name_property(), value)
}
fn automation_properties_position_in_set<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::position_in_set_property(), value)
}
fn automation_properties_size_of_set<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::automation::AutomationProperties>::size_of_set_property(), value)
}
fn canvas_left<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::left_property(), value)
}
fn canvas_top<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::top_property(), value)
}
fn canvas_right<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::right_property(), value)
}
fn canvas_bottom<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Canvas>::bottom_property(), value)
}
fn container_name<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_base::styling::Container>::name_property(), value)
}
fn container_sizing<M>(self, value: impl IntoProp<ferroui_base::styling::ContainerSizing, M>) -> Self {
self.prop(<ferroui_base::styling::Container>::sizing_property(), value)
}
fn data_validation_errors_errors<M>(self, value: impl IntoProp<Option<Vec<ferroui_base::BoxedValue>>, M>) -> Self {
self.prop(<ferroui_controls::DataValidationErrors>::errors_property(), value)
}
fn data_validation_errors_has_errors<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::DataValidationErrors>::has_errors_property(), value)
}
fn definition_base_shared_size_group<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::DefinitionBase>::shared_size_group_property(), value)
}
fn design_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Design>::height_property(), value)
}
fn design_width<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Design>::width_property(), value)
}
fn design_data_context<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::Design>::data_context_property(), value)
}
fn design_preview_with<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::Design>::preview_with_property(), value)
}
fn dock_panel_dock<M>(self, value: impl IntoProp<ferroui_controls::Dock, M>) -> Self {
self.prop(<ferroui_controls::DockPanel>::dock_property(), value)
}
fn drag_drop_allow_drop<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::DragDrop>::allow_drop_property(), value)
}
fn flex_align_self<M>(self, value: impl IntoProp<Option<ferroui_controls::FlexAlignItems>, M>) -> Self {
self.prop(<ferroui_controls::Flex>::align_self_property(), value)
}
fn flex_order<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Flex>::order_property(), value)
}
fn flex_shrink<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Flex>::shrink_property(), value)
}
fn flex_grow<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::Flex>::grow_property(), value)
}
fn flyout_base_attached_flyout<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::FlyoutBase>>, M>) -> Self {
self.prop(<ferroui_controls::primitives::FlyoutBase>::attached_flyout_property(), value)
}
fn grid_column<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::column_property(), value)
}
fn grid_row<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::row_property(), value)
}
fn grid_column_span<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::column_span_property(), value)
}
fn grid_row_span<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::Grid>::row_span_property(), value)
}
fn grid_is_shared_size_scope<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::Grid>::is_shared_size_scope_property(), value)
}
fn hot_key_manager_hot_key<M>(self, value: impl IntoProp<Option<ferroui_base::input::KeyGesture>, M>) -> Self {
self.prop(<ferroui_controls::HotKeyManager>::hot_key_property(), value)
}
fn inline_text_decorations<M>(self, value: impl IntoProp<Option<ferroui_base::media::TextDecorationCollection>, M>) -> Self {
self.prop(<ferroui_controls::documents::Inline>::text_decorations_property(), value)
}
fn input_method_is_input_method_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::InputMethod>::is_input_method_enabled_property(), value)
}
fn keyboard_navigation_tab_index<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_base::input::KeyboardNavigation>::tab_index_property(), value)
}
fn keyboard_navigation_tab_navigation<M>(self, value: impl IntoProp<ferroui_base::input::KeyboardNavigationMode, M>) -> Self {
self.prop(<ferroui_base::input::KeyboardNavigation>::tab_navigation_property(), value)
}
fn keyboard_navigation_tab_once_active_element<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::input::InputElement>>, M>) -> Self {
self.prop(<ferroui_base::input::KeyboardNavigation>::tab_once_active_element_property(), value)
}
fn keyboard_navigation_is_tab_stop<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::KeyboardNavigation>::is_tab_stop_property(), value)
}
fn mac_os_properties_is_template_icon<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::MacOSProperties>::is_template_icon_property(), value)
}
fn native_dock_menu<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::NativeMenu>>, M>) -> Self {
self.prop(<ferroui_controls::NativeDock>::menu_property(), value)
}
fn navigation_page_bar_layout_behavior<M>(self, value: impl IntoProp<Option<ferroui_controls::BarLayoutBehavior>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bar_layout_behavior_property(), value)
}
fn navigation_page_bar_height_override<M>(self, value: impl IntoProp<Option<f64>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bar_height_override_property(), value)
}
fn navigation_page_back_button_content<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::back_button_content_property(), value)
}
fn navigation_page_has_back_button<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::has_back_button_property(), value)
}
fn navigation_page_top_command_bar<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::top_command_bar_property(), value)
}
fn navigation_page_bottom_command_bar<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::bottom_command_bar_property(), value)
}
fn navigation_page_has_navigation_bar<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::has_navigation_bar_property(), value)
}
fn navigation_page_is_back_button_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NavigationPage>::is_back_button_enabled_property(), value)
}
fn notification_card_close_on_click<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::NotificationCard>::close_on_click_property(), value)
}
fn numeric_up_down_text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::NumericUpDown>::text_alignment_property(), value)
}
fn platform_feedback_feedback_type<M>(self, value: impl IntoProp<ferroui_controls::FeedbackType, M>) -> Self {
self.prop(<ferroui_controls::PlatformFeedback>::feedback_type_property(), value)
}
fn popup_takes_focus_from_native_control<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::Popup>::takes_focus_from_native_control_property(), value)
}
fn relative_panel_above<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::above_property(), value)
}
fn relative_panel_align_bottom_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_bottom_with_panel_property(), value)
}
fn relative_panel_align_bottom_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_bottom_with_property(), value)
}
fn relative_panel_align_horizontal_center_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_horizontal_center_with_panel_property(), value)
}
fn relative_panel_align_horizontal_center_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_horizontal_center_with_property(), value)
}
fn relative_panel_align_left_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_left_with_panel_property(), value)
}
fn relative_panel_align_left_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_left_with_property(), value)
}
fn relative_panel_align_right_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_right_with_panel_property(), value)
}
fn relative_panel_align_right_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_right_with_property(), value)
}
fn relative_panel_align_top_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_top_with_panel_property(), value)
}
fn relative_panel_align_top_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_top_with_property(), value)
}
fn relative_panel_align_vertical_center_with_panel<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_vertical_center_with_panel_property(), value)
}
fn relative_panel_align_vertical_center_with<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::align_vertical_center_with_property(), value)
}
fn relative_panel_below<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::below_property(), value)
}
fn relative_panel_left_of<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::left_of_property(), value)
}
fn relative_panel_right_of<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::RelativePanel>::right_of_property(), value)
}
fn scroll_content_presenter_horizontal_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::horizontal_snap_points_type_property(), value)
}
fn scroll_content_presenter_vertical_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::vertical_snap_points_type_property(), value)
}
fn scroll_content_presenter_horizontal_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::horizontal_snap_points_alignment_property(), value)
}
fn scroll_content_presenter_vertical_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::vertical_snap_points_alignment_property(), value)
}
fn scroll_content_presenter_is_scroll_chaining_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::presenters::ScrollContentPresenter>::is_scroll_chaining_enabled_property(), value)
}
fn scroll_viewer_bring_into_view_on_focus_change<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::bring_into_view_on_focus_change_property(), value)
}
fn scroll_viewer_horizontal_scroll_bar_visibility<M>(self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::horizontal_scroll_bar_visibility_property(), value)
}
fn scroll_viewer_horizontal_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::horizontal_snap_points_type_property(), value)
}
fn scroll_viewer_vertical_snap_points_type<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::vertical_snap_points_type_property(), value)
}
fn scroll_viewer_horizontal_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::horizontal_snap_points_alignment_property(), value)
}
fn scroll_viewer_vertical_snap_points_alignment<M>(self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::vertical_snap_points_alignment_property(), value)
}
fn scroll_viewer_vertical_scroll_bar_visibility<M>(self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::vertical_scroll_bar_visibility_property(), value)
}
fn scroll_viewer_allow_auto_hide<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::allow_auto_hide_property(), value)
}
fn scroll_viewer_is_scroll_chaining_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_scroll_chaining_enabled_property(), value)
}
fn scroll_viewer_is_scroll_inertia_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_scroll_inertia_enabled_property(), value)
}
fn scroll_viewer_is_deferred_scrolling_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ScrollViewer>::is_deferred_scrolling_enabled_property(), value)
}
fn selecting_items_control_is_selected<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::SelectingItemsControl>::is_selected_property(), value)
}
fn tabbed_page_is_tab_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TabbedPage>::is_tab_enabled_property(), value)
}
fn templated_control_is_template_focus_target<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::primitives::TemplatedControl>::is_template_focus_target_property(), value)
}
fn text_block_baseline_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::baseline_offset_property(), value)
}
fn text_block_layout_rounding_placement<M>(self, value: impl IntoProp<ferroui_controls::TextLayoutRoundingPlacement, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::layout_rounding_placement_property(), value)
}
fn text_block_line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::line_height_property(), value)
}
fn text_block_line_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::line_spacing_property(), value)
}
fn text_block_max_lines<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::max_lines_property(), value)
}
fn text_block_text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_alignment_property(), value)
}
fn text_block_text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_wrapping_property(), value)
}
fn text_block_text_trimming<M>(self, value: impl IntoProp<std::rc::Rc<dyn ferroui_base::media::TextTrimming>, M>) -> Self {
self.prop(<ferroui_controls::TextBlock>::text_trimming_property(), value)
}
fn text_box_text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::text_alignment_property(), value)
}
fn text_box_text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::text_wrapping_property(), value)
}
fn text_box_line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::TextBox>::line_height_property(), value)
}
fn text_element_font_family<M>(self, value: impl IntoProp<ferroui_base::media::FontFamily, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_family_property(), value)
}
fn text_element_font_features<M>(self, value: impl IntoProp<Option<ferroui_base::media::FontFeatureCollection>, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_features_property(), value)
}
fn text_element_font_size<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_size_property(), value)
}
fn text_element_font_style<M>(self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_style_property(), value)
}
fn text_element_font_weight<M>(self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_weight_property(), value)
}
fn text_element_font_stretch<M>(self, value: impl IntoProp<ferroui_base::media::FontStretch, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::font_stretch_property(), value)
}
fn text_element_foreground<M>(self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::foreground_property(), value)
}
fn text_element_letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::documents::TextElement>::letter_spacing_property(), value)
}
fn text_input_options_content_type<M>(self, value: impl IntoProp<ferroui_base::input::text_input::TextInputContentType, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::content_type_property(), value)
}
fn text_input_options_return_key_type<M>(self, value: impl IntoProp<ferroui_base::input::text_input::TextInputReturnKeyType, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::return_key_type_property(), value)
}
fn text_input_options_multiline<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::multiline_property(), value)
}
fn text_input_options_lowercase<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::lowercase_property(), value)
}
fn text_input_options_uppercase<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::uppercase_property(), value)
}
fn text_input_options_auto_capitalization<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::auto_capitalization_property(), value)
}
fn text_input_options_is_sensitive<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::is_sensitive_property(), value)
}
fn text_input_options_show_suggestions<M>(self, value: impl IntoProp<Option<bool>, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::show_suggestions_property(), value)
}
fn text_input_options_locale_hints<M>(self, value: impl IntoProp<Option<std::rc::Rc<[String]>>, M>) -> Self {
self.prop(<ferroui_base::input::text_input::TextInputOptions>::locale_hints_property(), value)
}
fn text_presenter_text_alignment<M>(self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::text_alignment_property(), value)
}
fn text_presenter_text_wrapping<M>(self, value: impl IntoProp<ferroui_base::media::TextWrapping, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::text_wrapping_property(), value)
}
fn text_presenter_line_height<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::line_height_property(), value)
}
fn text_presenter_letter_spacing<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::presenters::TextPresenter>::letter_spacing_property(), value)
}
fn text_search_text<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::primitives::TextSearch>::text_property(), value)
}
fn tool_tip_tip<M>(self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::tip_property(), value)
}
fn tool_tip_is_open<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::is_open_property(), value)
}
fn tool_tip_placement<M>(self, value: impl IntoProp<ferroui_controls::PlacementMode, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::placement_property(), value)
}
fn tool_tip_horizontal_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::horizontal_offset_property(), value)
}
fn tool_tip_vertical_offset<M>(self, value: impl IntoProp<f64, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::vertical_offset_property(), value)
}
fn tool_tip_custom_popup_placement_callback<M>(self, value: impl IntoProp<Option<ferroui_controls::primitives::CustomPopupPlacementCallbackValue>, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::custom_popup_placement_callback_property(), value)
}
fn tool_tip_show_delay<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::show_delay_property(), value)
}
fn tool_tip_between_show_delay<M>(self, value: impl IntoProp<i32, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::between_show_delay_property(), value)
}
fn tool_tip_show_on_disabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::show_on_disabled_property(), value)
}
fn tool_tip_service_enabled<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::service_enabled_property(), value)
}
fn tool_tip_should_use_overlay_layer<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::should_use_overlay_layer_property(), value)
}
fn tool_tip_tool_tip<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::ToolTip>>, M>) -> Self {
self.prop(<ferroui_controls::ToolTip>::tool_tip_property(), value)
}
fn top_level_system_bar_color<M>(self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::media::SolidColorBrush>>, M>) -> Self {
self.prop(<ferroui_controls::TopLevel>::system_bar_color_property(), value)
}
fn top_level_auto_safe_area_padding<M>(self, value: impl IntoProp<bool, M>) -> Self {
self.prop(<ferroui_controls::TopLevel>::auto_safe_area_padding_property(), value)
}
fn tray_icon_icons<M>(self, value: impl IntoProp<Option<std::rc::Rc<ferroui_controls::TrayIcons>>, M>) -> Self {
self.prop(<ferroui_controls::TrayIcon>::icons_property(), value)
}
fn visual_flow_direction<M>(self, value: impl IntoProp<ferroui_base::media::FlowDirection, M>) -> Self {
self.prop(<ferroui_base::Visual>::flow_direction_property(), value)
}
fn win32_properties_non_client_hit_test_result<M>(self, value: impl IntoProp<ferroui_controls::platform::Win32HitTestValue, M>) -> Self {
self.prop(<ferroui_controls::Win32Properties>::non_client_hit_test_result_property(), value)
}
fn win32_properties_window_corner_preference<M>(self, value: impl IntoProp<ferroui_controls::platform::WindowCornerPreference, M>) -> Self {
self.prop(<ferroui_controls::Win32Properties>::window_corner_preference_property(), value)
}
fn window_decoration_properties_element_role<M>(self, value: impl IntoProp<ferroui_base::input::WindowDecorationsElementRole, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDecorationProperties>::element_role_property(), value)
}
fn window_drawn_decorations_title_bar_decorations<M>(self, value: impl IntoProp<ferroui_controls::chrome::TitleBarDecorations, M>) -> Self {
self.prop(<ferroui_controls::chrome::WindowDrawnDecorations>::title_bar_decorations_property(), value)
}
fn x11_properties_net_wm_window_type<M>(self, value: impl IntoProp<ferroui_controls::platform::X11NetWmWindowType, M>) -> Self {
self.prop(<ferroui_controls::X11Properties>::net_wm_window_type_property(), value)
}
fn x11_properties_wm_class<M>(self, value: impl IntoProp<Option<String>, M>) -> Self {
self.prop(<ferroui_controls::X11Properties>::wm_class_property(), value)
}
fn xy_focus_navigation_modes<M>(self, value: impl IntoProp<ferroui_base::input::XYFocusNavigationModes, M>) -> Self {
self.prop(<ferroui_base::input::XYFocus>::navigation_modes_property(), value)
}
}
impl<T: ObjectType> AttachedProps for El<T> {}