RadListBoxItem
Represents a selectable item within the RadListBox control, which allows users to select and interact with items in a list. The RadListBoxItem class supports various visual states such as Normal, MouseOver, Disabled, Selected, and Unselected, enabling dynamic styling based on user interactions. This class also integrates with the UI Automation framework to improve accessibility. It can be customized through templates and extends the functionality of list items in applications built using Telerik controls.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class RadListBoxItem : ListItem, ISelectorItem
Inheritance: objectListItemRadListBoxItem
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadListBoxItem class.
public RadListBoxItem()
Methods
Changes the visual state.
protected override void ChangeVisualState(bool useTransitions)
If set to true [use transitions].
Overrides:
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Called by the Automation infrastructure when AutomationPeer is requested for this element. The element can return null or the instance of AutomationPeer-derived class, if it supports UI Automation.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when IsSelected property is changed.
protected override void OnIsSelectedChanged()
Overrides:
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseEnter(MouseEventArgs e)
The MouseEventArgs that contains the event data.
Overrides:
Invoked when an unhandled attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseLeave(MouseEventArgs e)
The MouseEventArgs that contains the event data.
Overrides: