public string MenuPath { get; private set; }
- public MainMenuItem(string iconPath, Color iconBackgroungColor, string title, string menuPath) : base()
+ public MainMenuItem(string iconPath, Color iconBackgroundColor, string title, string menuPath) : base()
{
Layout = new LinearLayout
{
iconBackground = new View
{
CornerRadius = 5.SpToPx(),
- BackgroundColor = iconBackgroungColor,
+ BackgroundColor = iconBackgroundColor,
Size = new Size(32, 32).SpToPx(),
Margin = new Extents(16, 16, 16, 16).SpToPx(),
};
ThemeManager.ThemeChanged += ThemeManager_ThemeChanged;
}
- public void UpdateItem(string title, Color iconBackgroungColor)
+ public void UpdateItem(string title, Color iconBackgroundColor)
{
titleTextLabel.Text = title;
- iconBackground.BackgroundColor = iconBackgroungColor;
+ iconBackground.BackgroundColor = iconBackgroundColor;
}
public override void OnChangeSelected(bool selected)