Class SfRadialMenuItem
Represents a selectable RadialMenuItem inside a Syncfusion.UI.Xaml.Controls.Navigation.RadialMenu that are associated with the commands.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Controls.Navigation
Assembly: Syncfusion.SfRadialMenu.UWP.dll
Syntax
public class SfRadialMenuItem : HeaderedItemsControl, IDisposable
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 |
|---|
| Windows.UI.Xaml.DependencyProperty |
CloseOnExecuteProperty
Identifies CloseOnExecute property. It indicates whether SfRadialMenuItem is closed or not on execution.
Declaration
public static readonly DependencyProperty CloseOnExecuteProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.DependencyProperty |
FontIconProperty
Identifies FontIcon property. Using this property, You can change the font icon of SfRadialMenuItem
Declaration
public static readonly DependencyProperty FontIconProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
FontIconSizeProperty
Identifies FontIconSize property. Using this property, You can change the rim radius of SfRadialMenuItem
Declaration
public static readonly DependencyProperty FontIconSizeProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.DependencyProperty |
HasItemsProperty
Identifies HasItems property. Using this property, You can give the HasItems of SfRadialMenuItem
Declaration
public static readonly DependencyProperty HasItemsProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
IconFontColorProperty
Identifies IconFontColor property. Using this property, You can change the font color of icon in SfRadialMenuItem
Declaration
public static readonly DependencyProperty IconFontColorProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
IconFontProperty
Identifies IconFont property. Using this property, You can change the font family of font icon in SfRadialMenuItem
Declaration
public static readonly DependencyProperty IconFontProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.DependencyProperty |
IsCheckedProperty
Identifies IsChecked property. It indicates whether SfRadialMenuItem is checked or not
Declaration
public static readonly DependencyProperty IsCheckedProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.DependencyProperty |
MenuSelectionColorProperty
Identifies MenuSelectionColor property. Using this property, You can change the color of separator in SfRadialMenuItem
Declaration
public static readonly DependencyProperty MenuSelectionColorProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
SegmentIndexProperty
Identifies SegmentIndex property. Using this property, You can change the index of SfRadialMenuItem
Declaration
public static readonly DependencyProperty SegmentIndexProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
ShowMouseOverStyleProperty
Identifies FontIconSize property. Using this property, You can change the rim radius of SfRadialMenuItem
Declaration
public static readonly DependencyProperty ShowMouseOverStyleProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.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 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 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.
FontIcon
Gets or sets a value of the icon that appears in a SfRadialMenuItem.
Declaration
public string FontIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is string.Empty. |
FontIconSize
Gets or sets a value of the FontIconSize. Using this property, You can change the rim radius of SfRadialMenuItem
Declaration
public double FontIconSize { get; set; }
Property Value
| Type |
|---|
| System.Double |
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 |
|---|---|
| Windows.UI.Xaml.Media.ImageSource | The default value is Windows.UI.Xaml.Media.ImageSource. |
IconFont
Gets or sets a value of the IconFont's FontFamily. Using this property, You can change the font family of font icon in SfRadialMenuItem
Declaration
public FontFamily IconFont { get; set; }
Property Value
| Type | Description |
|---|---|
| Windows.UI.Xaml.Media.FontFamily | The default value is null. |
IconFontColor
Gets or sets a value of the IconFontColor. Using this property, You can change the rim radius of SfRadialMenuItem
Declaration
public Brush IconFontColor { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Xaml.Media.Brush |
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
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 |
|---|
| Windows.UI.Xaml.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 |
|---|
| Windows.UI.Xaml.Media.Brush |
MenuSelectionColor
Gets or sets the selection color of RadialMenuItem. Using this property, You can change the color of separator in SfRadialMenuItem
Declaration
public Brush MenuSelectionColor { get; set; }
Property Value
| Type |
|---|
| Windows.UI.Xaml.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
protected override void OnApplyTemplate()
OnItemsChanged(Object)
Checks for any items.
Declaration
protected override void OnItemsChanged(object e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | e | The event arguments |
OnPointerEntered(PointerRoutedEventArgs)
Sets the focus to the control when pointer is entered.
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event arguments |
OnPointerExited(PointerRoutedEventArgs)
Removes the focus when the pointer exits
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event arguments |
OnPointerPressed(PointerRoutedEventArgs)
Applies the pointer pressed visual state.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event argument |
OnPointerReleased(PointerRoutedEventArgs)
Removes the focus when the pointer is released and sets to the parent item.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | The event arguments |
Events
Checked
Occurs when the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is checked.
Declaration
public event RoutedEventHandler Checked
Event Type
| Type |
|---|
| Windows.UI.Xaml.RoutedEventHandler |
See Also
Click
Occurs when Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is clicked.
Declaration
public event RoutedEventHandler Click
Event Type
| Type |
|---|
| Windows.UI.Xaml.RoutedEventHandler |
UnChecked
Occurs when the Syncfusion.UI.Xaml.Controls.Navigation.RadialMenuItem is unchecked.
Declaration
public event RoutedEventHandler UnChecked
Event Type
| Type |
|---|
| Windows.UI.Xaml.RoutedEventHandler |