Class
RadialMenuItemContainerGenerator

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:

cs-api-definition
public sealed class RadialMenuItemContainerGenerator

Inheritance: objectRadialMenuItemContainerGenerator

Methods

GetGeneratedContainerForItem(IRadialMenuItem)

Gets the RadRadialMenuItem if generated for a specific IRadialMenuItem

Declaration

cs-api-definition
public RadRadialMenuItem GetGeneratedContainerForItem(IRadialMenuItem item)

Parameters

item

IRadialMenuItem

The IRadialMenuItem.

Returns

RadRadialMenuItem

The RadRadialMenuItem container.

GetItemFromContainer(RadRadialMenuItem)

Gets the IRadialMenuItem from which the RadRadialMenuItem is generated.

Declaration

cs-api-definition
public IRadialMenuItem GetItemFromContainer(RadRadialMenuItem container)

Parameters

container

RadRadialMenuItem

The RadRadialMenuItem.

Returns

IRadialMenuItem

The IRadialMenuItem data item.