Class SfRadialMenuItem
Represents an item that can be added as children in RadialMenu. Any object can be added as RadialMenuItem and that can be populated as menus
Inheritance
Namespace: Syncfusion.SfRadialMenu.iOS
Assembly: Syncfusion.SfRadialMenu.iOS.dll
Syntax
public class SfRadialMenuItem : UIView
Constructors
SfRadialMenuItem()
Initializes a new instance of the SfRadialMenuItem class.
Declaration
public SfRadialMenuItem()
Properties
BackgroundColor
Gets or sets the value indicating the back color of the item. It will not applicable to custom view.
Declaration
public UIColor BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIColor | The color of the background. |
BackgroundImage
Gets or sets the value indicating the back image of the item. It will not applicable to custom view.
Declaration
public UIImage BackgroundImage { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIImage | The image of the background. |
Font
Gets or sets the font.
Declaration
public UIFont Font { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIFont | The font. |
FontIcon
Gets or sets the font icon.
Declaration
public string FontIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The font icon. |
FontIconColor
Gets or sets the value indicating the color of FontIconText.
Declaration
public UIColor FontIconColor { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIColor | The color of the font icon. |
FontIconFrame
Gets or sets the font icon frame.
Declaration
public CGRect FontIconFrame { get; set; }
Property Value
| Type | Description |
|---|---|
| CoreGraphics.CGRect | The font icon frame. |
FontSize
Gets or sets the value indicating size of the caption text of the item. It will not applicable to custom view.
Declaration
public double FontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The size of the font. |
Height
Gets or sets the value indication the height of the items.
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The height. |
IconFont
Gets or sets the icon font.
Declaration
public UIFont IconFont { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIFont | The icon font. |
Image
Gets or sets the value indicating image that load on the item. Users can directly load an image instead of custom view.
Declaration
public string Image { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The image. |
Items
Gets or sets the items.
Declaration
public List<SfRadialMenuItem> Items { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<SfRadialMenuItem> | The items. |
SlottedIndex
Gets or sets The Slotted Index.
Declaration
public int SlottedIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Text
Gets or sets the value indicating caption text of the item. It will not applicable to custom view.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The text. |
TextColor
Gets or sets the value indicating color of the caption text of the item. It will not applicable to custom view.
Declaration
public UIColor TextColor { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIColor | The color of the text. |
View
Gets or sets the value indicating a view that placed on it . Any view can be assigned on the item.
Declaration
public UIView View { get; set; }
Property Value
| Type | Description |
|---|---|
| UIKit.UIView | The view. |
VisibleItemCount
Gets or sets a value indicating whether that splits the available spaces as pie segments. Exceeded items will not shown and beneath items leave empty space on rim. It will be applicable only if the RadialMenu in Custom layout type
Declaration
public int VisibleItemCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The visible item count. |
Width
Gets or sets the value indication the width of the items.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | The width. |
Methods
Dispose(Boolean)
Dispose the specified disposing.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | If set to |
TouchesBegan(NSSet, UIEvent)
Override Touches Began.
Declaration
public override void TouchesBegan(NSSet touches, UIEvent evt)
Parameters
| Type | Name | Description |
|---|---|---|
| Foundation.NSSet | touches | The Touches. |
| UIKit.UIEvent | evt | The event. |
TouchesEnded(NSSet, UIEvent)
Override touches end.
Declaration
public override void TouchesEnded(NSSet touches, UIEvent evt)
Parameters
| Type | Name | Description |
|---|---|---|
| Foundation.NSSet | touches | The touches. |
| UIKit.UIEvent | evt | The event. |
Events
ItemTapped
The event item tapped.
Declaration
public event EventHandler<EventArgs> ItemTapped
Event Type
| Type |
|---|
| System.EventHandler<System.EventArgs> |