ComboBoxProps
trait · ferroui-view · v0.5.0
trait ComboBoxProps: ElementBuilder
The properties and routed events of ComboBox.
Members
is_drop_down_openis_editablemax_drop_down_heightplaceholder_textplaceholder_foregroundhorizontal_content_alignmentvertical_content_alignmenttextselection_box_item_template
is_drop_down_open
fn is_drop_down_open<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ComboBox::is_drop_down_open_property.
is_editable
fn is_editable<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets ComboBox::is_editable_property.
max_drop_down_height
fn max_drop_down_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets ComboBox::max_drop_down_height_property.
placeholder_text
fn placeholder_text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets ComboBox::placeholder_text_property.
placeholder_foreground
fn placeholder_foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
Sets ComboBox::placeholder_foreground_property.
horizontal_content_alignment
fn horizontal_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self
Sets ComboBox::horizontal_content_alignment_property.
vertical_content_alignment
fn vertical_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
Sets ComboBox::vertical_content_alignment_property.
text
fn text<M>(self: Self, value: impl IntoProp<Option<String>, M>) -> Self
Sets ComboBox::text_property.
selection_box_item_template
fn selection_box_item_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
Sets ComboBox::selection_box_item_template_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.