Class RadComboBoxItem
Implements a selectable item inside a RadComboBox.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
[TelerikToolboxCategory("Input")]
public class RadComboBoxItem : ListBoxItem, ISelectable
Constructors
RadComboBoxItem()
Fields
IsFocusedProperty
Identifies the IsFocused dependency property.
Declaration
public static readonly DependencyProperty IsFocusedProperty
Field Value
System.Windows.DependencyProperty
|
Properties
IsFocused
Gets the bool value indicating whether the control is focused or not. This is a dependency property.
Declaration
public bool IsFocused { get; }
Property Value
System.Boolean
|
IsHighlighted
Gets a value that indicates whether the item is highlighted. This is a dependency property.
Declaration
public bool IsHighlighted { get; protected set; }
Property Value
System.Boolean
|
IsKeyboardFocusWithin
Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements.
Declaration
public bool IsKeyboardFocusWithin { get; }
Property Value
System.Boolean
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnContentChanged(Object, Object)
Called when the value of the System.Windows.Controls.ContentControl.Content property changes.
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
System.Object
oldContent
The old value of the System.Windows.Controls.ContentControl.Content property. |
System.Object
newContent
The new value of the System.Windows.Controls.ContentControl.Content property. |
OnIsHighlightedChanged(Boolean, Boolean)
Called when the IsHighlighted property is changed.
Declaration
protected virtual void OnIsHighlightedChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
The old value of the IsHighlighted property. |
System.Boolean
newValue
The new value of the IsHighlighted property. |
OnMouseEnter(MouseEventArgs)
Responds to a MouseEnter event.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The MouseEventArgs instance containing the event data. |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called when the user presses the left mouse button over the RadComboBoxItem.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
The event data. |
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called when the user releases the left mouse button over the ListBoxItem.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
The event data. |
OnSelected(RadRoutedEventArgs)
Called when the RadComboBoxItem is selected in a RadComboBox.
Declaration
protected override void OnSelected(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The event data. |
Overrides
Remarks
This method is called when the IsSelected property changes to true.
OnUnselected(RadRoutedEventArgs)
Called when the RadComboBoxItem is unselected in a RadComboBox.
Declaration
protected override void OnUnselected(RadRoutedEventArgs e)
Parameters
RadRoutedEventArgs
e
The event data. |
Overrides
Remarks
This method is called when the IsSelected property changes to false.