ClassRadRadioMenuGroupItem
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
RadRadioMenuGroupItem()
Initializes a new instance of the RadRadioMenuGroupItem class.
Declaration
public RadRadioMenuGroupItem()
Fields
SelectedItemProperty
Identifies Telerik.Windows.Controls.FixedDocumentViewersUI.SelectedItem property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
DependencyProperty
Properties
SelectedItem
Gets or sets the selected item.
Declaration
public object SelectedItem { get; set; }
Property Value
The selected item.
Methods
ClearContainerForItemOverride(DependencyObject, object)
When overridden in a derived class, undoes the effects of the method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
The container element.
item
The item.
Overrides
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.
Overrides