Class SfRadialMenuItem
Represents a selectable RadialMenuItem inside a Syncfusion.Windows.Controls.Navigation.RadialMenu that are associated with the commands.
Namespace: Syncfusion.Windows.Controls.Navigation
Assembly: Syncfusion.SfRadialMenu.Wpf.dll
Syntax
public class SfRadialMenuItem : HeaderedItemsControl
Remarks
RadialMenuItem is a HeaderedItemsControl.
Constructors
SfRadialMenuItem()
Initializes a new instance of the SfRadialMenuItem class.
Declaration
public SfRadialMenuItem()
Fields
CheckModeProperty
Identifies CheckMode property. Using this property, You can change the check mode of SfRadialMenuItem
Declaration
public static readonly DependencyProperty CheckModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CloseOnExecuteProperty
Identifies CloseOnExecute property. It indicates whether SfRadialMenuItem is closed or not on execution.
Declaration
public static readonly DependencyProperty CloseOnExecuteProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CommandParameterProperty
Identifies CommandParameter property. Using this property, You can change the command parameter of SfRadialMenuItem
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CommandProperty
Identifies Command property. Using this property, You can give the command to the SfRadialMenuItem
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GroupNameProperty
Identifies GroupName property. Using this property, You can change the group name of SfRadialMenuItem
Declaration
public static readonly DependencyProperty GroupNameProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HasItemsProperty
Identifies HasItems property. Using this property, You can give the HasItems of SfRadialMenuItem
Declaration
public static readonly DependencyProperty HasItemsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IconProperty
Identifies Icon property. Using this property, You can give the icon to the SfRadialMenuItem
Declaration
public static readonly DependencyProperty IconProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsCheckedProperty
Identifies IsChecked property. It indicates whether SfRadialMenuItem is checked or not
Declaration
public static readonly DependencyProperty IsCheckedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsExpanderVisibleProperty
Using a DependencyProperty as the backing store for ExpanderRimArrowVisibility. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsExpanderVisibleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MenuBackgroundColorProperty
Identifies MenuBackgroundColor property. Using this property, You can change the background color of SfRadialMenuItem
Declaration
public static readonly DependencyProperty MenuBackgroundColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MenuMouseOverBackgroundColorProperty
Identifies MenuMouseOverBackgroundColor property. Using this property, You can change the background color when mouse over on SfRadialMenuItem
Declaration
public static readonly DependencyProperty MenuMouseOverBackgroundColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RimActiveBrushProperty
Using a DependencyProperty as the backing store for RimActiveBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RimActiveBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RimInactiveBrushProperty
Using a DependencyProperty as the backing store for RimInactiveBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RimInactiveBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SegmentIndexProperty
Identifies SegmentIndex property. Using this property, You can change the index of SfRadialMenuItem
Declaration
public static readonly DependencyProperty SegmentIndexProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowMouseOverStyleProperty
Identifies
Declaration
public static readonly DependencyProperty ShowMouseOverStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ToolTipPlacementProperty
Identifies ToolTipPlacement property. Using this property, You can change the position of tooltip in SfRadialMenuItem
Declaration
public static readonly DependencyProperty ToolTipPlacementProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ToolTipProperty
Identifies ToolTip property. Using this property, You can give the tooltip to the SfRadialMenuItem
Declaration
public static readonly DependencyProperty ToolTipProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
CheckMode
Gets or sets a value of the CheckMode for Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem control.
Declaration
public CheckMode CheckMode { get; set; }
Property Value
Type | Description |
---|---|
CheckMode | The default value is Syncfusion.UI.Xaml.Controls.Navigation.CheckMode |
Children
Gets a collection of children for the parent item.
Declaration
public ObservableCollection<object> Children { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<System.Object> |
CloseOnExecute
Gets or sets a value indicating whether Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem has closed on execution.
Declaration
public bool CloseOnExecute { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Command
Gets or sets a value of command that will be executed when the command source is invoked.
Declaration
public ICommand Command { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand | The default value is Syncfusion.UI.Xaml.Utils.DelegateCommand. |
Remarks
Used to bound to a command, that could performs an action.
See Also
CommandParameter
Gets or sets a value of a user defined data value that can be passed to the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem.Command when it is executed.
Declaration
public object CommandParameter { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null. |
Remarks
Normally, the command parameter is used to pass specific information to the command when it is executed. The type of the data is defined by the command.
GroupName
Gets or sets a value of the string for Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem has a group name.
Declaration
public string GroupName { get; set; }
Property Value
Type |
---|
System.String |
HasItems
Gets a value indicating whether Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem has items.
Declaration
public bool HasItems { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Icon
Gets or sets a value of icon that appears in a RadialMenuItem. Using this property, You can give the icon to the SfRadialMenuItem
Declaration
public ImageSource Icon { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.ImageSource | The default value is Windows.UI.Xaml.Media.ImageSource. |
IsChecked
Gets or sets a value indicating whether the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is checked.
Declaration
public bool IsChecked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Used to define the Item as checked.
See Also
IsExpanderVisible
Gets or sets a value indicating whether Expander arrow in RadialMenuItem is visible in the user interface
Declaration
public bool IsExpanderVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
MenuBackgroundColor
Gets or sets a value of the Background for each RadialMenuItem. Using this property, You can change the background color of SfRadialMenuItem
Declaration
public Brush MenuBackgroundColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
MenuMouseOverBackgroundColor
Gets or sets a value of MenuMouseOverBackgroundColor. Using this property, You can change the background color when mouse over on SfRadialMenuItem
Declaration
public Brush MenuMouseOverBackgroundColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
RimActiveBrush
Gets or sets a value of the brush for the active expander rim item
Declaration
public Brush RimActiveBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
RimInactiveBrush
Gets or sets the RimInActiveBrush that changes the OuterRimItem Background of RadialMenuItem which doesn’t have sub items.
Declaration
public Brush RimInactiveBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
SegmentIndex
Gets or sets a value of the slot index for Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem
Declaration
public int SegmentIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ShowMouseOverStyle
Gets or sets a value indicating whether the MouseOver Style for Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem control. is showable or not
Declaration
public bool ShowMouseOverStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ToolTip
Gets or sets a value of an object for tooltip for the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem
Declaration
public object ToolTip { get; set; }
Property Value
Type |
---|
System.Object |
ToolTipPlacement
Gets or sets a value of the tooltip placement for Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem
Declaration
public ToolTipPlacement ToolTipPlacement { get; set; }
Property Value
Type |
---|
ToolTipPlacement |
Methods
Dispose()
Represents dispose method for disposing unmanaged objects in Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem
Declaration
public void Dispose()
Dispose(Boolean)
Dispose all the instances using in RadialMenuItem
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Argument to dispose the unused object |
OnApplyTemplate()
Initial Template is applied.
Declaration
public override void OnApplyTemplate()
OnItemsChanged(NotifyCollectionChangedEventArgs)
Checks for any items.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The event arguments |
OnMouseEnter(MouseEventArgs)
Sets the focus to the control when pointer is entered.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event arguments |
OnMouseLeave(MouseEventArgs)
Removes the focus when the pointer exits
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The event arguments |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Removes the focus when the pointer is released and sets to the parent item.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | The event arguments |
PrepareHeaderedItemsControlContainer(Object, ItemsControl)
Represents method for Prepare Header Items Control Container
Declaration
public void PrepareHeaderedItemsControlContainer(object item, ItemsControl parentItemsControl)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | corresponding item |
System.Windows.Controls.ItemsControl | parentItemsControl | Items control of parent |
Events
Checked
Occurs when the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is checked.
Declaration
public event RoutedEventHandler Checked
Event Type
Type |
---|
System.Windows.RoutedEventHandler |
See Also
Click
Occurs when Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is clicked.
Declaration
public event RoutedEventHandler Click
Event Type
Type |
---|
System.Windows.RoutedEventHandler |
UnChecked
Occurs when the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is unchecked.
Declaration
public event RoutedEventHandler UnChecked
Event Type
Type |
---|
System.Windows.RoutedEventHandler |