Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

CircleMenuItemModel

IGR777 edited this page Sep 25, 2018 · 3 revisions

Entity which describes content of CircleMenu control.

Technical description

CircleMenuItemModel has public constructor for both platforms which includes id, icons source and submenu list. In this case user should generate unique id, which will be passed to Clicked event of CircleMenu.

Fields

int Id - Circle menu item Id. Used for Clicked event of CircleMenu.

UIImage Drawable ImageSource - image of CircleMenu item.

IEnumerable Children - sub items of current menu item.

class CircleMenuItemModel
{
    int Id { get; set; }
    UIImage/Drawable ImageSource{ get; set}
    IEnumerable<CircleMenuItemModel> Children{ get; set}
}