ClassRadialMenuItemContainerGenerator
Represents a generator for creating and managing instances of RadRadialMenuItem associated with IRadialMenuItem items. This class facilitates the mapping between menu items and their corresponding container elements, enabling efficient retrieval and manipulation of menu item containers. It provides methods to get a generated container for a specific item, retrieve the associated item from a container, and set up or remove containers for items as needed. The internal dictionary maintains mappings of items to their respective containers, supporting dynamic updates to the UI.
Definition
Namespace:Telerik.Windows.Controls.RadialMenu
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public sealed class RadialMenuItemContainerGenerator
Inheritance: objectRadialMenuItemContainerGenerator
Methods
GetGeneratedContainerForItem(IRadialMenuItem)
Gets the RadRadialMenuItem if generated for a specific IRadialMenuItem
Declaration
public RadRadialMenuItem GetGeneratedContainerForItem(IRadialMenuItem item)
Parameters
item
The IRadialMenuItem.
Returns
The RadRadialMenuItem container.
GetItemFromContainer(RadRadialMenuItem)
Gets the IRadialMenuItem from which the RadRadialMenuItem is generated.
Declaration
public IRadialMenuItem GetItemFromContainer(RadRadialMenuItem container)
Parameters
container
The RadRadialMenuItem.
Returns
The IRadialMenuItem data item.