Modifying More Menu and Uninstall Popup for TaskbarService Window
[profile/iot/apps/dotnet/taskbar.git] / TaskBar / Views / CustomMenu.cs
1 using Tizen.NUI;
2 using Tizen.NUI.Components;
3 using TaskBar.Common;
4
5 namespace TaskBar.Views
6 {
7     class CustomMenu : Menu
8     {
9         public CustomMenu() : base()
10         {
11             Tizen.Log.Info(Resources.LogTag, "Custom Menu");
12         }
13
14         public CustomMenu(string style) : base(style)
15         {
16             Tizen.Log.Info(Resources.LogTag, "Custom Menu with Style defined in XAML");
17         }
18
19         public CustomMenu(MenuStyle menuStyle) : base(menuStyle)
20         {
21             Tizen.Log.Info(Resources.LogTag, "Custom Menu with MenuStyle");
22         }
23
24         public void SetScrimAttributes()
25         {
26             Scrim.BackgroundColor = new Color(0, 0, 0, 0.3f);
27             Scrim.AllowOnlyOwnTouch = true;
28         }
29     }
30 }