Table of Contents

Class ZomboBox

Namespace
The.WPF.Controls
Assembly
Instagile.WPF.dll
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

DependencyProperty

DisplayMemberPathProperty

public static readonly DependencyProperty DisplayMemberPathProperty

Field Value

DependencyProperty

IsDropDownOpenProperty

public static readonly DependencyProperty IsDropDownOpenProperty

Field Value

DependencyProperty

IsTextChangedProperty

public static readonly DependencyProperty IsTextChangedProperty

Field Value

DependencyProperty

ItemContainersProperty

public static readonly DependencyProperty ItemContainersProperty

Field Value

DependencyProperty

ItemStringFormatProperty

public static readonly DependencyProperty ItemStringFormatProperty

Field Value

DependencyProperty

ItemsSourceProperty

public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

KeyboardFocusLossBehaviourProperty

public static readonly DependencyProperty KeyboardFocusLossBehaviourProperty

Field Value

DependencyProperty

MaxDropDownHeightProperty

public static readonly DependencyProperty MaxDropDownHeightProperty

Field Value

DependencyProperty

PART_TextBox

public TextBox? PART_TextBox

Field Value

TextBox

SelectedIndexProperty

public static readonly DependencyProperty SelectedIndexProperty

Field Value

DependencyProperty

SelectedItemProperty

public static readonly DependencyProperty SelectedItemProperty

Field Value

DependencyProperty

SelectedTextProperty

public static readonly DependencyProperty SelectedTextProperty

Field Value

DependencyProperty

TextBoxStyleProperty

public static readonly DependencyProperty TextBoxStyleProperty

Field Value

DependencyProperty

TextProperty

public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

UpdateItemsSourceCommandParameterProperty

public static readonly DependencyProperty UpdateItemsSourceCommandParameterProperty

Field Value

DependencyProperty

UpdateItemsSourceCommandProperty

public static readonly DependencyProperty UpdateItemsSourceCommandProperty

Field Value

DependencyProperty

UpdateItemsSourceDelayProperty

public static readonly DependencyProperty UpdateItemsSourceDelayProperty

Field Value

DependencyProperty

Properties

AllowCustomText

public bool AllowCustomText { get; set; }

Property Value

bool

DisplayMemberPath

public string DisplayMemberPath { get; set; }

Property Value

string

IsDropDownOpen

public bool IsDropDownOpen { get; set; }

Property Value

bool

IsTextChanged

public bool IsTextChanged { get; set; }

Property Value

bool

ItemContainers

public IReadOnlyList<ZomboBoxItem> ItemContainers { get; }

Property Value

IReadOnlyList<ZomboBoxItem>

ItemStringFormat

public string ItemStringFormat { get; set; }

Property Value

string

ItemsSource

public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

KeyboardFocusLossBehaviour

public ZomboBoxKeyboardFocusLossBehaviour KeyboardFocusLossBehaviour { get; set; }

Property Value

ZomboBoxKeyboardFocusLossBehaviour

MaxDropDownHeight

public double MaxDropDownHeight { get; set; }

Property Value

double

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

public object? SelectedItem { get; set; }

Property Value

object

SelectedText

public string SelectedText { get; }

Property Value

string

Text

public string? Text { get; set; }

Property Value

string

TextBoxStyle

public Style TextBoxStyle { get; set; }

Property Value

Style

UpdateItemsSourceCommand

public ICommand UpdateItemsSourceCommand { get; set; }

Property Value

ICommand

UpdateItemsSourceCommandParameter

public object UpdateItemsSourceCommandParameter { get; set; }

Property Value

object

UpdateItemsSourceDelay

public TimeSpan? UpdateItemsSourceDelay { get; set; }

Property Value

TimeSpan?

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

e KeyboardFocusChangedEventArgs

The 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

e KeyboardFocusChangedEventArgs

The 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

e KeyEventArgs

The KeyEventArgs that contains the event data.

SelectItem(ZomboBoxItem?)

public void SelectItem(ZomboBoxItem? zbi)

Parameters

zbi ZomboBoxItem

SelectText(string)

public void SelectText(string text)

Parameters

text string

Events

SelectedItemChanged

public event EventHandler<SelectedItemChangedEventArgs>? SelectedItemChanged

Event Type

EventHandler<SelectedItemChangedEventArgs>