Class
RadComboBox

Represents a combo box control that provides a drop-down list for selecting items, with support for advanced features such as filtering, autocomplete and custom templates.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable")]
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
[TelerikToolboxCategory("Input")]
public class RadComboBox : MultiSelector

Inheritance: objectRadComboBox

Derived Classes: DurationPickerRadRibbonComboBox

Constructors

RadComboBox()

Initializes a new instance of the RadComboBox class.

Declaration

cs-api-definition
public RadComboBox()

Fields

AdditionalContentPositionProperty

Identifies the AdditionalContentPositionProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AdditionalContentPositionProperty

Field Value

DependencyProperty

AdditionalContentProperty

Identifies the AdditionalContentProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AdditionalContentProperty

Field Value

DependencyProperty

AdditionalContentTemplateProperty

Identifies the AdditionalContentTemplateProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AdditionalContentTemplateProperty

Field Value

DependencyProperty

AllowMultipleSelectionProperty

Identifies the AllowMultipleSelection dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AllowMultipleSelectionProperty

Field Value

DependencyProperty

AutoCompleteSelectionModeProperty

Identifies the AutoCompleteSelectionModeProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoCompleteSelectionModeProperty

Field Value

DependencyProperty

CanAutocompleteSelectItemsProperty

Identifies the CanAutocompleteSelectItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanAutocompleteSelectItemsProperty

Field Value

DependencyProperty

CanKeyboardNavigationSelectItemsProperty

Identifies the CanKeyboardNavigationSelectItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanKeyboardNavigationSelectItemsProperty

Field Value

DependencyProperty

ClearSelectionButtonContentProperty

Identifies the ClearSelectionButtonContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClearSelectionButtonContentProperty

Field Value

DependencyProperty

ClearSelectionButtonVisibilityProperty

Identifies the learSelectionButtonVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClearSelectionButtonVisibilityProperty

Field Value

DependencyProperty

CommandParameterProperty

Identifies the CommandParameter dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandParameterProperty

Field Value

DependencyProperty

CommandProperty

Identifies the Command dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

CommandTargetProperty

Identifies the CommandParameter dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandTargetProperty

Field Value

DependencyProperty

DropDownButtonIconContentProperty

Identifies the DropDownButtonIconContent dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownButtonIconContentProperty

Field Value

DependencyProperty

DropDownButtonIconTemplateProperty

Identifies the DropDownButtonIconTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownButtonIconTemplateProperty

Field Value

DependencyProperty

DropDownWidthProperty

Identifies the DropDownWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropDownWidthProperty

Field Value

DependencyProperty

EditableTemplateProperty

Identifies the EditableTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditableTemplateProperty

Field Value

DependencyProperty

EmptySelectionBoxTemplateProperty

Identifies the EmptySelectionBoxTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EmptySelectionBoxTemplateProperty

Field Value

DependencyProperty

EmptyTextProperty

Identifies the EmptyText dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EmptyTextProperty

Field Value

DependencyProperty

FilteringModeProperty

Identifies the FilteringMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FilteringModeProperty

Field Value

DependencyProperty

IsDropDownOpenProperty

Identifies the IsDropDownOpen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDropDownOpenProperty

Field Value

DependencyProperty

IsDropDownTabNavigationEnabledProperty

Identifies the IsDropDownTabNavigationEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDropDownTabNavigationEnabledProperty

Field Value

DependencyProperty

IsEditableProperty

Identifies the IsEditable dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsEditableProperty

Field Value

DependencyProperty

IsFilteringEnabledProperty

Identifies the FilteringMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsFilteringEnabledProperty

Field Value

DependencyProperty

IsHighlightedProperty

Identifies the IsHighlighted dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsHighlightedProperty

Field Value

DependencyProperty

IsMouseWheelEnabledProperty

Identifies the IsMouseWheelEnabledProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMouseWheelEnabledProperty

Field Value

DependencyProperty

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

IsWatermarkVisibleProperty

Identifies the IsWatermarkVisible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsWatermarkVisibleProperty

Field Value

DependencyProperty

MaxDropDownHeightProperty

Identifies the MaxDropDownHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxDropDownHeightProperty

Field Value

DependencyProperty

MinDropDownWidthProperty

Identifies the MinDropDownWidth readonly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinDropDownWidthProperty

Field Value

DependencyProperty

MultipleSelectionBoxTemplateProperty

Identifies the MultipleSelectionBoxTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MultipleSelectionBoxTemplateProperty

Field Value

DependencyProperty

MultipleSelectionSeparatorProperty

Identifies the MultipleSelectionSeparator dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MultipleSelectionSeparatorProperty

Field Value

DependencyProperty

MultipleSelectionSeparatorStringFormatProperty

Identifies the MultipleSelectionSeparatorStringFormat dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MultipleSelectionSeparatorStringFormatProperty

Field Value

DependencyProperty

NonEditableTemplateProperty

Identifies the NonEditableTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NonEditableTemplateProperty

Field Value

DependencyProperty

OpenDropDownOnFocusProperty

Identifies the OpenDropDownOnFocus dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OpenDropDownOnFocusProperty

Field Value

DependencyProperty

SelectAllTextEventProperty

Identifies the SelectAllTextEvents dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectAllTextEventProperty

Field Value

DependencyProperty

SelectionBoxItemProperty

Identifies the SelectionBoxItem dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectionBoxItemProperty

Field Value

DependencyProperty

SelectionBoxItemTemplateProperty

Identifies the SelectionBoxItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectionBoxItemTemplateProperty

Field Value

DependencyProperty

SelectionBoxTemplateProperty

Identifies the SelectionBoxTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectionBoxTemplateProperty

Field Value

DependencyProperty

StaysOpenOnEditProperty

Identifies the StaysOpenOnEdit dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StaysOpenOnEditProperty

Field Value

DependencyProperty

TextBoxStyleProperty

Identifies the TextBoxStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextBoxStyleProperty

Field Value

DependencyProperty

TextProperty

Identifies the Text dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

TextSearchModeProperty

Identifies the FilteringMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextSearchModeProperty

Field Value

DependencyProperty

UpdateSelectionOnLostFocusProperty

Identifies the UpdateSelectionOnLostFocus dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UpdateSelectionOnLostFocusProperty

Field Value

DependencyProperty

Properties

AdditionalContent

Gets or sets the content for the additional content area.

Declaration

cs-api-definition
public object AdditionalContent { get; set; }

Property Value

object

AdditionalContentPosition

Gets or sets the position of the additional content area in the drop-down.

Declaration

cs-api-definition
public AdditionalContentPosition AdditionalContentPosition { get; set; }

Property Value

AdditionalContentPosition

AdditionalContentTemplate

Gets or sets the content template for the additional content area.

Declaration

cs-api-definition
public DataTemplate AdditionalContentTemplate { get; set; }

Property Value

DataTemplate

AllowMultipleSelection

Gets or sets the value that indicates whether multiple item can be selected at the same time. This is a dependency property.

Declaration

cs-api-definition
public bool AllowMultipleSelection { get; set; }

Property Value

bool

AutoCompleteSelectionMode

Gets or sets the value indicating whether selection via autocomplete is performed when a partial or a full match is found.

Declaration

cs-api-definition
public ComboBoxAutoCompleteSelectionMode AutoCompleteSelectionMode { get; set; }

Property Value

ComboBoxAutoCompleteSelectionMode

A ComboBoxAutoCompleteSelectionMode value that determines when the items matched via the autocomplete behavior are selected.

Remarks

The following values are supported: FullMatch (items are selected only if they exactly match the typed text), and PartialMatch (items are selected even if they only partially match the typed text).

CanAutocompleteSelectItems

Gets or sets the value specifying whether typing a text in a RadComboBox should change the selection or not. This property is applicable only when the DropDown of the control is opened.

Declaration

cs-api-definition
public bool? CanAutocompleteSelectItems { get; set; }

Property Value

bool?

True if the control should change its selection when the user types text. False when the selection should not be changed. Null when the default behavior should be used.

CanKeyboardNavigationSelectItems

Gets or sets the value specifying whether the keyboard navigation in a RadComboBox should change the selection.

Declaration

cs-api-definition
public bool? CanKeyboardNavigationSelectItems { get; set; }

Property Value

bool?

True if the control should change its selection when the user navigates with the keyboard. False when the selection should not be changed. Null when the default behavior should be used.

ClearSelectionButtonContent

Gets or sets the content of the button clearing the selection. This is a dependency property.

Declaration

cs-api-definition
public object ClearSelectionButtonContent { get; set; }

Property Value

object

ClearSelectionButtonVisibility

Gets or sets the visibility of the button clearing the selection. This is a dependency property.

Declaration

cs-api-definition
public Visibility ClearSelectionButtonVisibility { get; set; }

Property Value

Visibility

Command

Gets or sets the command that will be executed when the command source is invoked.

Declaration

cs-api-definition
[TypeConverter(typeof(CommandConverter))]
public ICommand Command { get; set; }

Property Value

ICommand

CommandParameter

Represents a user defined data value that can be passed to the command when it is executed.

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

CommandTarget

The object that the command is being executed on.

Declaration

cs-api-definition
public IInputElement CommandTarget { get; set; }

Property Value

IInputElement

DropDownButtonIconContent

Gets or sets the content displayed as the icon for the drop-down button.

Declaration

cs-api-definition
public object DropDownButtonIconContent { get; set; }

Property Value

object

DropDownButtonIconTemplate

Gets or sets the content template for the drop-down button icon.

Declaration

cs-api-definition
public DataTemplate DropDownButtonIconTemplate { get; set; }

Property Value

DataTemplate

DropDownWidth

Gets or sets the width of the DropDown of the RadComboBox.

Declaration

cs-api-definition
public GridLength DropDownWidth { get; set; }

Property Value

GridLength

EditableTemplate

Gets or sets the ControlTemplate for RadCombBox when its IsEditable property is true.

Declaration

cs-api-definition
public ControlTemplate EditableTemplate { get; set; }

Property Value

ControlTemplate

EmptySelectionBoxTemplate

Gets or sets the DataTemplate that should be applied on the selection box ContentPresenter when there is no selection. This is a dependency property.

Declaration

cs-api-definition
public DataTemplate EmptySelectionBoxTemplate { get; set; }

Property Value

DataTemplate

EmptyText

Gets or sets a string that should be displayed in the selection box ContentPresenter when there is no selection. This is a dependency property.

Declaration

cs-api-definition
public string EmptyText { get; set; }

Property Value

string

FilteringBehavior

Gets or sets the behavior which is used when filtering logic applies.

Declaration

cs-api-definition
public ComboBoxFilteringBehavior FilteringBehavior { get; set; }

Property Value

ComboBoxFilteringBehavior

HandlesScrolling

Gets a value that indicates whether a control supports scrolling.

Declaration

cs-api-definition
protected override bool HandlesScrolling { get; }

Property Value

bool

IsDropDownOpen

Gets or sets the value that indicates whether the RadComboBox dropdown is currently open. This is a dependency property.

Declaration

cs-api-definition
public bool IsDropDownOpen { get; set; }

Property Value

bool

IsDropDownTabNavigationEnabled

Gets or sets a value indicating whether tab navigation inside the drop down portion of control is enabled. The property takes effect only when the IsEditable property is false. This is a dependency property.

Declaration

cs-api-definition
public bool IsDropDownTabNavigationEnabled { get; set; }

Property Value

bool

IsEditable

Gets or sets a value that enables or disables editing of the text in text box of the RadComboBox. This is a dependency property.

Declaration

cs-api-definition
public bool IsEditable { get; set; }

Property Value

bool

IsFilteringEnabled

Gets or sets the value indicating whether the filtering is enabled. This is a dependency property.

Declaration

cs-api-definition
public bool IsFilteringEnabled { get; set; }

Property Value

bool

IsHighlighted

Gets or sets a value indicating whether this instance is highlighted.

Declaration

cs-api-definition
public bool IsHighlighted { get; set; }

Property Value

bool

Remarks

Set to true in the MouseEnter event and to false in the MouseLeave event.

IsMouseWheelEnabled

Gets or sets the value indicating whether the instance will respond to MouseWheel events when the dropdown is not open.

Declaration

cs-api-definition
public bool IsMouseWheelEnabled { get; set; }

Property Value

bool

IsReadOnly

Gets or sets a value that enables selection-only mode, in which the contents of the RadComboBox are selectable but not editable. This is a dependency property.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

IsWatermarkVisible

Gets a value indicating whether the watermark of this instance is currently visible.

Declaration

cs-api-definition
public bool IsWatermarkVisible { get; }

Property Value

bool

MaxDropDownHeight

Gets or sets the maximum height for a RadComboBox drop-down. This is a dependency property.

Declaration

cs-api-definition
public double MaxDropDownHeight { get; set; }

Property Value

double

MinDropDownWidth

Gets the minimum width of a RadComboBox drop-down. This is a readonly dependency property.

Declaration

cs-api-definition
public double MinDropDownWidth { get; }

Property Value

double

MultipleSelectionBoxTemplate

Get or sets the DataTemplate to be used in multiple selection mode when the IsEditable property is false. This is a dependency property.

Declaration

cs-api-definition
public DataTemplate MultipleSelectionBoxTemplate { get; set; }

Property Value

DataTemplate

MultipleSelectionSeparator

Get or sets the char separator used for separating the selected items.

Declaration

cs-api-definition
public char MultipleSelectionSeparator { get; set; }

Property Value

char

MultipleSelectionSeparatorStringFormat

Get or sets the char separator string form used for separating the selected items. This string format is removed while editing the text (when editable and focused).

Declaration

cs-api-definition
public string MultipleSelectionSeparatorStringFormat { get; set; }

Property Value

string

NonEditableTemplate

Gets or sets the ControlTemplate for RadCombBox when its IsEditable property is false.

Declaration

cs-api-definition
public ControlTemplate NonEditableTemplate { get; set; }

Property Value

ControlTemplate

OpenDropDownOnFocus

Gets or sets a value that specifies whether the dropdown should be opened when the control gets the focus, or not. This is a dependency property.

Declaration

cs-api-definition
public bool OpenDropDownOnFocus { get; set; }

Property Value

bool

SelectAllTextEvent

Gets or sets the value that specifies the name of the event that will select the text of the TextBox when IsEditable is true.

Declaration

cs-api-definition
public SelectAllTextEvents SelectAllTextEvent { get; set; }

Property Value

SelectAllTextEvents

SelectionBoxItem

Gets the item that is currently visible in the selection box ContentPresenter. This is a dependency property.

Declaration

cs-api-definition
public object SelectionBoxItem { get; }

Property Value

object

SelectionBoxItemTemplate

Gets the DataTemplate that will be applied on the selection box ContentPresenter. This is a dependency property.

Declaration

cs-api-definition
public DataTemplate SelectionBoxItemTemplate { get; }

Property Value

DataTemplate

SelectionBoxTemplate

Gets or sets the DataTemplate that should be applied on the selection box ContentPresenter when there is a selected item. This is a dependency property.

Declaration

cs-api-definition
public DataTemplate SelectionBoxTemplate { get; set; }

Property Value

DataTemplate

StaysOpenOnEdit

Gets or sets whether a ComboBox that is open and displays a drop-down control will remain open when a user clicks the TextBox. Setting this property to true will take effect only if the IsEditable property is also true. This is a dependency property.

Declaration

cs-api-definition
public bool StaysOpenOnEdit { get; set; }

Property Value

bool

Text

Gets or sets the text of the currently selected item. This is a dependency property.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

TextBoxStyle

Gets or sets the style of the TextBox element part of the RadComboBox. This is a dependency property.

Declaration

cs-api-definition
public Style TextBoxStyle { get; set; }

Property Value

Style

TextInputString

Gets or sets the current text input that the user entered when IsEditable=false or IsReadOnly=true.

Declaration

cs-api-definition
protected string TextInputString { get; set; }

Property Value

string

TextSearchMode

Gets or sets the mode used for text search operations.

Declaration

cs-api-definition
public TextSearchMode TextSearchMode { get; set; }

Property Value

TextSearchMode

A TextSearchMode that specifies how TextSearch will match items.

Remarks

The following values are supported: StartsWith (matches items, which text starts with the search text), Contains (matches items, containing the search text), StartsWithCaseSensitive (matches items, which text starts with the search text, case sensitive), and ContainsCaseSensitive (matches items, containing the search text, case sensitive).

UpdateSelectionOnLostFocus

Gets or sets value indicating whether to update the selection only when the focus moved out of the control or Enter key is pressed. The property takes effect only when the IsEditable property is true and the AllowMultipleSelection is false. This is a dependency property.

Declaration

cs-api-definition
public bool UpdateSelectionOnLostFocus { get; set; }

Property Value

bool

UpdateTextOnLostFocus

Gets or sets a value that indicates if the Text of the control should be updated when the LostFocus event is raised. This is a dependency property.

Declaration

cs-api-definition
public bool UpdateTextOnLostFocus { get; set; }

Property Value

bool

Methods

ChangeVisualState(bool)

Updates the visual state of the control.

Declaration

cs-api-definition
protected void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

Indicates whether transitions should be used.

ClearContainerForItemOverride(DependencyObject, object)

When overridden in a derived class, undoes the effects of the method.

Declaration

cs-api-definition
protected override void ClearContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

The container element.

item

object

The Item.

GetContainerForItemOverride()

Creates or identifies the element that is used to display the given item.

Declaration

cs-api-definition
protected override DependencyObject GetContainerForItemOverride()

Returns

DependencyObject

HandleKeyDown(Key, int)

Contains the keyboard navigation logic of RadComboBox.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "platformKeyCode")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
protected virtual bool HandleKeyDown(Key systemKey, int platformKeyCode)

Parameters

systemKey

Key

The key that has been pressed.

platformKeyCode

int

The platform key code of the pressed key.

Returns

bool

True if the KeyDown event should be handled, otherwise false.

HandleTextInput(string)

Contains the text input logic of RadComboBox when the control is not editable. This method is called from a TextInput event handler.

Declaration

cs-api-definition
protected virtual bool HandleTextInput(string text)

Parameters

text

string

The text from the corresponding TextCompositionEventArgs.

Returns

bool

True if the TextInput event should be handled, otherwise false.

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own container.

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

The item to check.

Returns

bool

True if the item is (or is eligible to be) its own container; otherwise, false.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnDropDownClosed(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnDropDownClosed(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

OnDropDownOpened(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnDropDownOpened(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsDropDownOpenChanged(bool, bool)

Called when the IsDropDownOpen property is changed.

Declaration

cs-api-definition
protected virtual void OnIsDropDownOpenChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

The old value of the IsDropDownOpen property.

newValue

bool

The new value of the IsDropDownOpen property.

OnIsEditableChanged(bool, bool)

Called when the IsEditable property is changed.

Declaration

cs-api-definition
protected virtual void OnIsEditableChanged(bool oldValue, bool isEditable)

Parameters

oldValue

bool

The old value of the IsEditable property.

isEditable

bool

The new value of the IsEditable property.

OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

Called when the property has changed.

Declaration

cs-api-definition
protected override void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs

The event data.

OnIsMouseWheelEnabledChanged(bool, bool)

Called when the IsMouseWheelEnabled property is changed.

Declaration

cs-api-definition
protected virtual void OnIsMouseWheelEnabledChanged(bool oldValue, bool isEnabled)

Parameters

oldValue

bool

The old value of the IsMouseWheelEnabled property.

isEnabled

bool

The new value of the IsMouseWheelEnabled property.

OnMouseWheel(MouseWheelEventArgs)

Called before the event occurs to provide handling for the event in a derived class without attaching a delegate.

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseWheelEventArgs e)

Parameters

e

MouseWheelEventArgs

A MouseWheelEventArgs that contains the event data.

OnScrollIntoView(int)

Occurs when item at specific index is requested to be visible in the viewport.

Declaration

cs-api-definition
protected virtual void OnScrollIntoView(int itemIndex)

Parameters

itemIndex

int

The index of the item to scroll to.

OnSelectionChanged(SelectionChangedEventArgs)

Called when the selection changes.

Declaration

cs-api-definition
protected override void OnSelectionChanged(SelectionChangedEventArgs e)

Parameters

e

SelectionChangedEventArgs

The event data.

OnTextBoxStyleChanged()

Called when the TextBoxStyle property is changed.

Declaration

cs-api-definition
protected virtual void OnTextBoxStyleChanged()

OnTextChanged(string, string)

Called when the Text property is changed.

Declaration

cs-api-definition
protected virtual void OnTextChanged(string oldValue, string newValue)

Parameters

oldValue

string

The old value of the Text property.

newValue

string

The new value of the Text property.

OnTextInput(TextCompositionEventArgs)

Invoked when the event is received.

Declaration

cs-api-definition
protected override void OnTextInput(TextCompositionEventArgs e)

Parameters

e

TextCompositionEventArgs

Information about the event.

PrepareContainerForItemOverride(DependencyObject, object)

Prepares the specified element to display the specified item.

Declaration

cs-api-definition
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)

Parameters

element

DependencyObject

Element used to display the specified item.

item

object

Specified item.

Events

DropDownClosed

Occurs when the drop-down list of the combo box closes.

Declaration

cs-api-definition
public event EventHandler DropDownClosed

Event Value

EventHandler

DropDownOpened

Occurs when the drop-down list of the combo box opens.

Declaration

cs-api-definition
public event EventHandler DropDownOpened

Event Value

EventHandler

In this article
DefinitionConstructorsRadComboBox()FieldsAdditionalContentPositionPropertyAdditionalContentPropertyAdditionalContentTemplatePropertyAllowMultipleSelectionPropertyAutoCompleteSelectionModePropertyCanAutocompleteSelectItemsPropertyCanKeyboardNavigationSelectItemsPropertyClearSelectionButtonContentPropertyClearSelectionButtonVisibilityPropertyCommandParameterPropertyCommandPropertyCommandTargetPropertyDropDownButtonIconContentPropertyDropDownButtonIconTemplatePropertyDropDownWidthPropertyEditableTemplatePropertyEmptySelectionBoxTemplatePropertyEmptyTextPropertyFilteringModePropertyIsDropDownOpenPropertyIsDropDownTabNavigationEnabledPropertyIsEditablePropertyIsFilteringEnabledPropertyIsHighlightedPropertyIsMouseWheelEnabledPropertyIsReadOnlyPropertyIsWatermarkVisiblePropertyMaxDropDownHeightPropertyMinDropDownWidthPropertyMultipleSelectionBoxTemplatePropertyMultipleSelectionSeparatorPropertyMultipleSelectionSeparatorStringFormatPropertyNonEditableTemplatePropertyOpenDropDownOnFocusPropertySelectAllTextEventPropertySelectionBoxItemPropertySelectionBoxItemTemplatePropertySelectionBoxTemplatePropertyStaysOpenOnEditPropertyTextBoxStylePropertyTextPropertyTextSearchModePropertyUpdateSelectionOnLostFocusPropertyPropertiesAdditionalContentAdditionalContentPositionAdditionalContentTemplateAllowMultipleSelectionAutoCompleteSelectionModeCanAutocompleteSelectItemsCanKeyboardNavigationSelectItemsClearSelectionButtonContentClearSelectionButtonVisibilityCommandCommandParameterCommandTargetDropDownButtonIconContentDropDownButtonIconTemplateDropDownWidthEditableTemplateEmptySelectionBoxTemplateEmptyTextFilteringBehaviorHandlesScrollingIsDropDownOpenIsDropDownTabNavigationEnabledIsEditableIsFilteringEnabledIsHighlightedIsMouseWheelEnabledIsReadOnlyIsWatermarkVisibleMaxDropDownHeightMinDropDownWidthMultipleSelectionBoxTemplateMultipleSelectionSeparatorMultipleSelectionSeparatorStringFormatNonEditableTemplateOpenDropDownOnFocusSelectAllTextEventSelectionBoxItemSelectionBoxItemTemplateSelectionBoxTemplateStaysOpenOnEditTextTextBoxStyleTextInputStringTextSearchModeUpdateSelectionOnLostFocusUpdateTextOnLostFocusMethodsChangeVisualState(bool)ClearContainerForItemOverride(DependencyObject, object)GetContainerForItemOverride()HandleKeyDown(Key, int)HandleTextInput(string)IsItemItsOwnContainerOverride(object)OnApplyTemplate()OnCreateAutomationPeer()OnDropDownClosed(EventArgs)OnDropDownOpened(EventArgs)OnInitialized(EventArgs)OnIsDropDownOpenChanged(bool, bool)OnIsEditableChanged(bool, bool)OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)OnIsMouseWheelEnabledChanged(bool, bool)OnMouseWheel(MouseWheelEventArgs)OnScrollIntoView(int)OnSelectionChanged(SelectionChangedEventArgs)OnTextBoxStyleChanged()OnTextChanged(string, string)OnTextInput(TextCompositionEventArgs)PrepareContainerForItemOverride(DependencyObject, object)EventsDropDownClosedDropDownOpened
Not finding the help you need?
Contact Support