New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public sealed class RadialMenuItemContainerGenerator

Inheritance: objectRadialMenuItemContainerGenerator

Methods

Gets the RadRadialMenuItem if generated for a specific IRadialMenuItem

C#
public RadRadialMenuItem GetGeneratedContainerForItem(IRadialMenuItem item)
Parameters:itemIRadialMenuItem

The IRadialMenuItem.

Returns:

RadRadialMenuItem

The RadRadialMenuItem container.

Gets the IRadialMenuItem from which the RadRadialMenuItem is generated.

C#
public IRadialMenuItem GetItemFromContainer(RadRadialMenuItem container)
Parameters:containerRadRadialMenuItem

The RadRadialMenuItem.

Returns:

IRadialMenuItem

The IRadialMenuItem data item.