Ejemplo n.º 1
0
 private void ThemeItemSelected(int position)
 {
     if (position > 0)
     {
         _workTime.GetThemeProvider().SetCurrentTheme(ThemeTypes.ThemeCollection.ElementAt(position).Value);
         if (_workTime.GetThemeProvider().GetCurrentTheme() is LightEOSTheme)
         {
             _workTime.SetBackgroundColor(Color.White);
         }
         else
         {
             _workTime.SetBackgroundColor(Color.Transparent);
         }
         ResetCustomValues();
         UpdateAppearance();
     }
 }