Class ZomboBox
public sealed class ZomboBox : ContentControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
- Inheritance
-
ZomboBox
- Implements
- Inherited Members
Remarks
The only limit is yourself.
Constructors
ZomboBox()
public ZomboBox()
Fields
AllowCustomTextProperty
public static readonly DependencyProperty AllowCustomTextProperty
Field Value
DisplayMemberPathProperty
public static readonly DependencyProperty DisplayMemberPathProperty
Field Value
IsDropDownOpenProperty
public static readonly DependencyProperty IsDropDownOpenProperty
Field Value
IsTextChangedProperty
public static readonly DependencyProperty IsTextChangedProperty
Field Value
ItemContainersProperty
public static readonly DependencyProperty ItemContainersProperty
Field Value
ItemStringFormatProperty
public static readonly DependencyProperty ItemStringFormatProperty
Field Value
ItemsSourceProperty
public static readonly DependencyProperty ItemsSourceProperty
Field Value
KeyboardFocusLossBehaviourProperty
public static readonly DependencyProperty KeyboardFocusLossBehaviourProperty
Field Value
MaxDropDownHeightProperty
public static readonly DependencyProperty MaxDropDownHeightProperty
Field Value
PART_TextBox
public TextBox? PART_TextBox
Field Value
SelectedIndexProperty
public static readonly DependencyProperty SelectedIndexProperty
Field Value
SelectedItemProperty
public static readonly DependencyProperty SelectedItemProperty
Field Value
SelectedTextProperty
public static readonly DependencyProperty SelectedTextProperty
Field Value
TextBoxStyleProperty
public static readonly DependencyProperty TextBoxStyleProperty
Field Value
TextProperty
public static readonly DependencyProperty TextProperty
Field Value
UpdateItemsSourceCommandParameterProperty
public static readonly DependencyProperty UpdateItemsSourceCommandParameterProperty
Field Value
UpdateItemsSourceCommandProperty
public static readonly DependencyProperty UpdateItemsSourceCommandProperty
Field Value
UpdateItemsSourceDelayProperty
public static readonly DependencyProperty UpdateItemsSourceDelayProperty
Field Value
Properties
AllowCustomText
public bool AllowCustomText { get; set; }
Property Value
DisplayMemberPath
public string DisplayMemberPath { get; set; }
Property Value
IsDropDownOpen
public bool IsDropDownOpen { get; set; }
Property Value
IsTextChanged
public bool IsTextChanged { get; set; }
Property Value
ItemContainers
public IReadOnlyList<ZomboBoxItem> ItemContainers { get; }
Property Value
ItemStringFormat
public string ItemStringFormat { get; set; }
Property Value
ItemsSource
public IEnumerable ItemsSource { get; set; }
Property Value
KeyboardFocusLossBehaviour
public ZomboBoxKeyboardFocusLossBehaviour KeyboardFocusLossBehaviour { get; set; }
Property Value
MaxDropDownHeight
public double MaxDropDownHeight { get; set; }
Property Value
SelectedIndex
public int SelectedIndex { get; set; }
Property Value
SelectedItem
public object? SelectedItem { get; set; }
Property Value
SelectedText
public string SelectedText { get; }
Property Value
Text
public string? Text { get; set; }
Property Value
TextBoxStyle
public Style TextBoxStyle { get; set; }
Property Value
UpdateItemsSourceCommand
public ICommand UpdateItemsSourceCommand { get; set; }
Property Value
UpdateItemsSourceCommandParameter
public object UpdateItemsSourceCommandParameter { get; set; }
Property Value
UpdateItemsSourceDelay
public TimeSpan? UpdateItemsSourceDelay { get; set; }
Property Value
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
eKeyboardFocusChangedEventArgsThe KeyboardFocusChangedEventArgs that contains the event data.
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
eKeyboardFocusChangedEventArgsThe KeyboardFocusChangedEventArgs that contains event data.
OnPreviewKeyDown(KeyEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
eKeyEventArgsThe KeyEventArgs that contains the event data.
SelectItem(ZomboBoxItem?)
public void SelectItem(ZomboBoxItem? zbi)
Parameters
zbiZomboBoxItem
SelectText(string)
public void SelectText(string text)
Parameters
textstring
Events
SelectedItemChanged
public event EventHandler<SelectedItemChangedEventArgs>? SelectedItemChanged