Class SfRadialMenuItem
Radial menu item class
Inheritance
Implements
Namespace: Syncfusion.SfRadialMenu.Android
Assembly: Syncfusion.SfRadialMenu.Android.dll
Syntax
public class SfRadialMenuItem : FrameLayout, INotifyPropertyChanged
Constructors
SfRadialMenuItem(Context)
Initializes a new instance of the SfRadialMenuItem class.
Declaration
public SfRadialMenuItem(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context type |
SfRadialMenuItem(Context, IAttributeSet)
Initializes a new instance of the SfRadialMenuItem class.
Declaration
public SfRadialMenuItem(Context context, IAttributeSet attrs)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context type |
Android.Util.IAttributeSet | attrs | Attribute set |
SfRadialMenuItem(Context, IAttributeSet, Int32)
Initializes a new instance of the SfRadialMenuItem class.
Declaration
public SfRadialMenuItem(Context context, IAttributeSet attrs, int defStyle)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | Context type |
Android.Util.IAttributeSet | attrs | Attribute set |
System.Int32 | defStyle | Integer type |
Properties
BackgroundColor
Gets or sets the color of the item background
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
BackgroundImage
Gets or sets the image name available in resources
Declaration
public string BackgroundImage { get; set; }
Property Value
Type |
---|
System.String |
FontIconColor
Gets or sets color of the font icon
Declaration
public Color FontIconColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
FontIconSize
Gets or sets the size of the font icon
Declaration
public double FontIconSize { get; set; }
Property Value
Type |
---|
System.Double |
FontIconText
Gets or sets the font icon Text that can be displayed as the icon
Declaration
public string FontIconText { get; set; }
Property Value
Type |
---|
System.String |
IconFont
Gets or sets the typeface of the font icon
Declaration
public Typeface IconFont { get; set; }
Property Value
Type |
---|
Android.Graphics.Typeface |
Image
Gets or sets the image name available in resources
Declaration
public string Image { get; set; }
Property Value
Type |
---|
System.String |
ItemHeight
Gets or sets height of the item
Declaration
public double ItemHeight { get; set; }
Property Value
Type |
---|
System.Double |
Items
Gets or sets the subitems for every radialmenu item
Declaration
public ObservableCollection<SfRadialMenuItem> Items { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<SfRadialMenuItem> |
ItemWidth
Gets or sets the width of the item
Declaration
public double ItemWidth { get; set; }
Property Value
Type |
---|
System.Double |
SegmentIndex
Gets or sets the Enables the position of the childrens
Declaration
public int SegmentIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Text
Gets or sets the Text that can be displayed below the icon
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextColor
Gets or sets the color of the bottom text
Declaration
public Color TextColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
TextSize
Gets or sets the size of the bottom text
Declaration
public double TextSize { get; set; }
Property Value
Type |
---|
System.Double |
TextTypeFace
Gets or sets the type face of the bottom text
Declaration
public Typeface TextTypeFace { get; set; }
Property Value
Type |
---|
Android.Graphics.Typeface |
View
Gets or sets the custom View that can be displayed
Declaration
public View View { get; set; }
Property Value
Type |
---|
Android.Views.View |
VisibleSegmentsCount
Gets or sets the value of Visible segment count property.
Declaration
public int VisibleSegmentsCount { get; set; }
Property Value
Type |
---|
System.Int32 |
Events
ItemTapped
Item tapped event event
Declaration
public event EventHandler<RadialMenuItemTappedEventArgs> ItemTapped
Event Type
Type |
---|
System.EventHandler<RadialMenuItemTappedEventArgs> |
PropertyChanged
Property changed event
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |