ClassRadComboBoxItem
Implements a selectable item inside a RadComboBox.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
[TelerikToolboxCategory("Input")]
public class RadComboBoxItem : ListBoxItem
Inheritance: objectRadComboBoxItem
Derived Classes:
Constructors
RadComboBoxItem()
Initializes a new instance of the RadComboBoxItem class.
Declaration
public RadComboBoxItem()
Properties
IsHighlighted
Gets a value that indicates whether the item is highlighted. This is a dependency property.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .
Declaration
public override void OnApplyTemplate()
OnContentChanged(object, object)
Called when the value of the property changes.
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
Raises the event.
Declaration
protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
e
KeyboardFocusChangedEventArgs
The KeyboardFocusChangedEventArgs instance containing the event data.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnIsHighlightedChanged(bool, bool)
Called when the IsHighlighted property is changed.
OnMouseEnter(MouseEventArgs)
Responds to a MouseEnter event.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs instance containing the event data.
OnMouseLeave(MouseEventArgs)
Called before the event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
e
MouseEventArgs
The data for the event.
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called when the user presses the left mouse button over the RadComboBoxItem.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The event data.
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called when the user releases the left mouse button over the ListBoxItem.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
The event data.
OnSelected(RoutedEventArgs)
Called when the RadComboBoxItem is selected in a RadComboBox.
Declaration
protected override void OnSelected(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The event data.
Remarks
This method is called when the IsSelected property changes to true.
OnUnselected(RoutedEventArgs)
Called when the RadComboBoxItem is unselected in a RadComboBox.
Declaration
protected override void OnUnselected(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The event data.
Remarks
This method is called when the IsSelected property changes to false.