Esempio n. 1
0
 private void InitializeTheme()
 {
     Theme = new XLTheme
     {
         Text1             = XLColor.FromHtml("#FF000000"),
         Background1       = XLColor.FromHtml("#FFFFFFFF"),
         Text2             = XLColor.FromHtml("#FF1F497D"),
         Background2       = XLColor.FromHtml("#FFEEECE1"),
         Accent1           = XLColor.FromHtml("#FF4F81BD"),
         Accent2           = XLColor.FromHtml("#FFC0504D"),
         Accent3           = XLColor.FromHtml("#FF9BBB59"),
         Accent4           = XLColor.FromHtml("#FF8064A2"),
         Accent5           = XLColor.FromHtml("#FF4BACC6"),
         Accent6           = XLColor.FromHtml("#FFF79646"),
         Hyperlink         = XLColor.FromHtml("#FF0000FF"),
         FollowedHyperlink = XLColor.FromHtml("#FF800080")
     };
 }
Esempio n. 2
0
 private void InitializeTheme()
 {
     Theme = new XLTheme
                 {
                     Text1 = XLColor.FromHtml("#FF000000"),
                     Background1 = XLColor.FromHtml("#FFFFFFFF"),
                     Text2 = XLColor.FromHtml("#FF1F497D"),
                     Background2 = XLColor.FromHtml("#FFEEECE1"),
                     Accent1 = XLColor.FromHtml("#FF4F81BD"),
                     Accent2 = XLColor.FromHtml("#FFC0504D"),
                     Accent3 = XLColor.FromHtml("#FF9BBB59"),
                     Accent4 = XLColor.FromHtml("#FF8064A2"),
                     Accent5 = XLColor.FromHtml("#FF4BACC6"),
                     Accent6 = XLColor.FromHtml("#FFF79646"),
                     Hyperlink = XLColor.FromHtml("#FF0000FF"),
                     FollowedHyperlink = XLColor.FromHtml("#FF800080")
                 };
 }
Esempio n. 3
0
 private void InitializeThemeFromThemePart(ThemePart themePart)
 {
     Theme = new XLTheme(themePart);
 }