[]
The C1RadialMenu control represents a touch-friendly alternative to the traditional context menu.
[TemplatePart(Name = "ContextMenuPopup", Type = typeof(Popup))]
[TemplatePart(Name = "CurrentItemPresenter", Type = typeof(C1RadialMenuItemsPresenter))]
[TemplatePart(Name = "ColorPresenter", Type = typeof(C1RadialColorItemsPresenter))]
[TemplatePart(Name = "RadialSlider", Type = typeof(C1RadialSlider))]
[TemplatePart(Name = "CurrentItemRing", Type = typeof(C1RadialBackgroundPresenter))]
[TemplatePart(Name = "ItemsContainer", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "MainPanel", Type = typeof(Grid))]
[TemplatePart(Name = "NavigationButton", Type = typeof(Button))]
[TemplatePart(Name = "PositioningPanel", Type = typeof(Canvas))]
[TemplatePart(Name = "ToolTip", Type = typeof(ToolTip))]
[TemplatePart(Name = "Expand", Type = typeof(Storyboard))]
[TemplatePart(Name = "Collapse", Type = typeof(Storyboard))]
[TemplatePart(Name = "SubmenuOpen", Type = typeof(Storyboard))]
[TemplatePart(Name = "SubmenuClose", Type = typeof(Storyboard))]
[TemplatePart(Name = "ColorSubmenuOpen", Type = typeof(Storyboard))]
[TemplatePart(Name = "ColorSubmenuClose", Type = typeof(Storyboard))]
[TemplatePart(Name = "RadialSliderOpen", Type = typeof(Storyboard))]
[TemplatePart(Name = "RadialSliderClose", Type = typeof(Storyboard))]
[StyleTypedProperty(Property = "NavigationButtonStyle", StyleTargetType = typeof(Button))]
public class C1RadialMenu : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, IC1ContextMenu
Name | Description |
---|---|
C1RadialMenu() | Initializes a new instance of a C1RadialMenu. |
Name | Description |
---|---|
AccentBrushProperty | Identifies the AccentBrush dependency property. |
AutoCollapseProperty | Identifies the AutoCollapse dependency property. |
BackIconProperty | Identifies the BackIcon dependency property. |
ColorItemStyleProperty | Identifies the ColorItemStyle dependency property. |
CurrentItemProperty | Identifies the CurrentItem dependency property. |
ExpandAreaThicknessProperty | Identifies the ExpandAreaThickness dependency property. |
IconProperty | Identifies the Icon dependency property. |
ItemIconStyleProperty | Identifies the ItemIconStyle dependency property. |
NavigationButtonRelativeSizeProperty | Identifies the NavigationButtonRelativeSize dependency property. |
NavigationButtonStyleProperty | Identifies the NavigationButtonStyle dependency property. |
OffsetProperty | Identifies the Offset dependency property. |
PlacementTargetProperty | Identifies the PlacementTarget dependency property. |
RadialSliderStyleProperty | Identifies the RadialSliderStyle dependency property. |
SectorCountProperty | Identifies the SectorCount dependency property. |
ShowToolTipProperty | Identifies the ShowToolTip dependency property. |
ToolTipPlacementProperty | Identifies the ToolTipPlacement dependency property. |
ToolTipTemplateProperty | Identifies the ToolTipTemplate dependency property. |
Name | Description |
---|---|
AccentBrush | Gets or sets the Brush used to color small menu parts. |
AutoCollapse | Gets or sets a value indicating if the menu will auto collapse when the user clicks outside of it. |
BackIcon | Gets or sets the back icon that appears in a C1RadialMenu. |
ColorItemStyle | Gets or sets the style used to display the C1RadialColorItem. |
CurrentItem | Gets the C1RadialMenu or C1RadialMenuItem control which items are currently visible in the C1RadialMenu UI. |
ExpandAreaThickness | Gets or sets the thickness of expand area. |
HasItems | Gets a value that indicates whether the ItemsControl contains items. |
Icon | Gets or sets the icon that appears in a C1RadialMenu. |
IsCollapsed | Gets a value that indicates whether the menue is collapsed. |
ItemIconStyle | Gets or sets the style used to display the icon. |
NavigationButtonRelativeSize | Gets or sets the navigation button size relative to the menu size. |
NavigationButtonStyle | Represents the style to apply to navigation button. |
Offset | Gets or sets the relative offset of the C1RadialMenu relative to the pointer position. |
PlacementTarget | Gets or sets the FrameworkElement relative to which the C1RadialMenu is positioned when it opens. |
RadialSliderStyle | Gets or sets the style used to display the C1RadialSlider. |
RootElement | Gets the root visible element of the C1RadialMenu control. |
SectorCount | Gets or sets the number of sectors which should be displayed in menu. |
ShowToolTip | Determines whether the control should display tooltips for individual items. |
ToolTipPlacement | Gets or sets the tooltip placement. |
ToolTipTemplate | Gets or sets the data template used to display the tooltip. |
Name | Description |
---|---|
Collapse() | Collapses the menu. |
Expand() | Expands the menu. |
GoBack() | Navigates the C1RadialMenu control one level up as if end-user clicked Back button. |
Hide() | Hides the menu. |
OnApplyTemplate() | Builds the visual tree for the C1RadialMenu control when a new template is applied. |
OnAutoCollapseChanged(bool) | Called when the property AutoCollapse is changed. |
OnClosed(EventArgs) | Raises the Closed event. |
OnClosing(CancelEventArgs) | Raises the Closing event. |
OnCollapsed(EventArgs) | Raises the Collapsed event. |
OnCollapsing(CancelEventArgs) | Raises the Collapsing event. |
OnExpanded(EventArgs) | Raises the Expanded event. |
OnExpanding(CancelEventArgs) | Raises the Expanding event. |
OnItemChecked(SourcedEventArgs) | Raises the ItemChecked event. |
OnItemClick(SourcedEventArgs) | Raises the ItemClick event. |
OnItemClosed(SourcedEventArgs) | Raises the ItemClosed event. |
OnItemClosing(CancelSourceEventArgs) | Raises the ItemClosing event. |
OnItemOpened(SourcedEventArgs) | Raises the ItemOpened event. |
OnItemOpening(CancelSourceEventArgs) | Raises the ItemOpening event. |
OnItemUnchecked(SourcedEventArgs) | Raises the ItemUnchecked event. |
OnItemsChanged(NotifyCollectionChangedEventArgs) | |
OnOpened(EventArgs) | Raises the Opened event. |
OnOpening(CancelEventArgs) | Raises the Opening event. |
Show(FrameworkElement, Point) | Displays the radial menu at the specified position. |
Show(FrameworkElement, Point, bool) | Displays the radial menu at the specified position. |
Name | Description |
---|---|
Closed | Occurs when the C1RadialMenu closes. |
Closing | Occurs when the C1RadialMenu is Closing. |
Collapsed | Occurs when the C1RadialMenu is collapsed. |
Collapsing | Occurs when the C1RadialMenu is collapsing. |
Expanded | Occurs when the C1RadialMenu is expanded. |
Expanding | Occurs when the C1RadialMenu is expanding. |
ItemChecked | Occurs when a C1RadialMenuItem is checked. |
ItemClick | Occurs when a C1RadialMenuItem is clicked. |
ItemClosed | Occurs when a C1RadialMenuItem is closed. |
ItemClosing | Occurs when a C1RadialMenuItem is closing. |
ItemOpened | Occurs when a C1RadialMenuItem is opened. |
ItemOpening | Occurs when a C1RadialMenuItem is opening. |
ItemUnchecked | Occurs when a C1RadialMenuItem is unchecked. |
Opened | Occurs when the C1RadialMenu opens. |
Opening | Occurs when the C1RadialMenu is Opening. |