Represents a radio menu group item in a RadMenu, allowing for single selection from a group of menu items. This class provides a SelectedItem property to keep track of the currently selected item. It manages the association between menu items and their corresponding values, ensuring that only one item can be selected at a time while updating the interface accordingly. The class overrides methods to prepare and clear item containers for correct item selection behavior, and it handles state changes when the selection is altered.
Definition
Namespace:Telerik.Windows.Controls.FixedDocumentViewersUI
Assembly:Telerik.Windows.Controls.FixedDocumentViewersUI.dll
Syntax:
public class RadRadioMenuGroupItem : RadMenuGroupItem, ICommandSource
Inheritance: objectRadMenuItemRadMenuGroupItemRadRadioMenuGroupItem
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadRadioMenuGroupItem class.
public RadRadioMenuGroupItem()
Fields
SelectedItemProperty
DependencyProperty
Identifies Telerik.Windows.Controls.FixedDocumentViewersUI.SelectedItem property.
public static readonly DependencyProperty SelectedItemProperty
Properties
Gets or sets the selected item.
public object SelectedItem { get; set; }
The selected item.
Methods
When overridden in a derived class, undoes the effects of the method.
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
The container element.
itemobjectThe item.
Overrides:
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Element used to display the specified item.
itemobjectSpecified item.
Overrides: