Selection Inputs
Choice controls — checkboxes, radios, combos, sliders and star rating.
The list-bearing controls (BeepRadioGroup, BeepComboBox,
BeepDropDownCheckBoxSelect) follow the library convention: they expose a
ListItems of SimpleItem and a SimpleItem SelectedItem.
TheTechIdea.Beep.WPF.Controls ·
XAML namespace:
xmlns:beep="clr-namespace:TheTechIdea.Beep.WPF.Controls;assembly=TheTechIdea.Beep.WPF.Controls"
ControlStyle
(BeepControlStyle) and Theme (string) — CLR wrappers over the
inherited BeepChrome attached properties, so they are not repeated in the tables below.
On this page
BeepCheckBox
A themed native CheckBox. IsChecked, IsThreeState and the
Checked/Unchecked/Indeterminate events are inherited; this control adds a Text label
wrapper and the validation surface.
class BeepCheckBox : System.Windows.Controls.CheckBox, IBeepThemeable, IBeepValidatable| Property | Type | Description |
|---|---|---|
| Text | string | Label text; forwarded to the inherited Content so WinForms-style Text="…" markup works. |
| ApplyThemeOnImage | bool | When true, any leading/trailing icon is tinted with the current theme foreground. |
| IsRequired | bool | IBeepValidatable: marks the field mandatory. |
| IsEditable | bool | IBeepValidatable: whether the field accepts edits. Default true. |
| ToolTipText | string | IBeepValidatable: tooltip / helper text. |
| HasError | bool | IBeepValidatable: current error flag. |
| ValidationError | string | IBeepValidatable: current validation message. |
| ComponentName | string | IBeepValidatable: component identifier for the field-presenter flow. |
<beep:BeepCheckBox Text="Accept terms"
IsChecked="{Binding Accepted, Mode=TwoWay}"
IsRequired="True" ControlStyle="Material3"/>
BeepRadioGroup
An ItemsControl that renders a set of mutually exclusive radio options from a
SimpleItem source.
class BeepRadioGroup : System.Windows.Controls.ItemsControl| Property | Type | Description |
|---|---|---|
| ListItems | IEnumerable | Beep item source — an IEnumerable of SimpleItem. Forwards to the inherited ItemsSource. |
<beep:BeepRadioGroup ListItems="{Binding PlanOptions}" ControlStyle="Material3"/>
BeepComboBox
A themed native ComboBox over SimpleItem rows, with placeholder text, a
style variant, a list-of-values (LOV) surface, and validation. It hides the inherited
SelectedItem with a SimpleItem-typed one.
class BeepComboBox : System.Windows.Controls.ComboBox, IBeepValidatable| Property | Type | Description |
|---|---|---|
| ComboBoxStyle | ComboBoxStyle | Chrome variant of the combo box. Default Default. |
| ListItems | IEnumerable | Beep item source — IEnumerable of SimpleItem. Forwards to the inherited ItemsSource. |
| PlaceholderText | string | Placeholder / hint text shown when nothing is selected. |
| IsLovMode | bool | True when the combo operates in list-of-values (LOV) mode. |
| AutoDisplayLov | bool | Whether the LOV picker auto-opens as the user types. |
| AutoDisplayMinChars | int | Minimum characters typed before the auto-display LOV triggers. Default 1. |
| IsRequired | bool | IBeepValidatable: marks the field mandatory. |
| ToolTipText | string | IBeepValidatable: tooltip / helper text. |
| HasError | bool | IBeepValidatable: current error flag. |
| ValidationError | string | IBeepValidatable: current validation message. |
| ComponentName | string | IBeepValidatable: component identifier for the field-presenter flow. |
SelectedItem is a new SimpleItem CLR property (not a DP) that
hides Selector.SelectedItem so consumers read .Text / .Value
without casting.<beep:BeepComboBox ListItems="{Binding Countries}"
SelectedItem="{Binding SelectedCountry, Mode=TwoWay}"
PlaceholderText="Select a country"
ControlStyle="Fluent"/>
BeepDropDownCheckBoxSelect
A multi-select drop-down: it derives BeepComboBox for the working combo template and
SimpleItem ListItems/SelectedItem, and adds a checkable
(CheckBox) item variant so rows can be multi-selected.
class BeepDropDownCheckBoxSelect : BeepComboBox, IBeepThemeableNo own DependencyProperties — it inherits the full BeepComboBox surface
(ListItems, PlaceholderText, the LOV and validation members) and
contributes the checkbox item variant plus a BasedOn skin style.
<beep:BeepDropDownCheckBoxSelect ListItems="{Binding Tags}"
PlaceholderText="Pick tags"
ControlStyle="Material3"/>
BeepSlider
A themed native Slider. Value, Minimum, Maximum, ticks and
orientation all come from the base Slider; the look comes from the skin.
class BeepSlider : System.Windows.Controls.SliderNo own DependencyProperties — use the inherited Slider members
(Value, Minimum, Maximum, TickFrequency, …) plus
the ControlStyle / Theme knobs.
<beep:BeepSlider Minimum="0" Maximum="100"
Value="{Binding Volume, Mode=TwoWay}"
ControlStyle="Apple"/>
BeepStarRating
A horizontal row of rating stars built on ItemsControl. The constructor applies a
horizontal items panel so the stars lay out in a row, and the skin template draws the star glyphs.
class BeepStarRating : System.Windows.Controls.ItemsControlNo own DependencyProperties — the stars are driven through the inherited ItemsControl
surface (Items / ItemsSource) and the per-skin template, together with the
ControlStyle / Theme knobs.
<beep:BeepStarRating ItemsSource="{Binding Stars}" ControlStyle="Material3"/>