Esempio n. 1
0
 public void ConfigureResourceDictionary(ResourceDictionary dictionary, string prefix)
 {
     Default.ConfigureResourceDictionary(dictionary, prefix);
     Highlight.ConfigureResourceDictionary(dictionary, prefix + "Highlight");
     KeyText.ConfigureResourceDictionary(dictionary, prefix + "KeyText");
     SubText.ConfigureResourceDictionary(dictionary, prefix + "SubText");
     HyperlinkText.ConfigureResourceDictionary(dictionary, prefix + "HyperlinkText");
     FavoriteCounter.ConfigureResourceDictionary(dictionary, prefix + "FavoriteCounter");
     RetweetCounter.ConfigureResourceDictionary(dictionary, prefix + "RetweetCounter");
     RetweetMarker.ConfigureResourceDictionary(dictionary, prefix + "RetweetMarker");
     FavoriteAndRetweetButton.ConfigureResourceDictionary(dictionary, prefix + "FavAndRtButton");
     FavoriteButton.ConfigureResourceDictionary(dictionary, prefix + "FavoriteButton");
     ColoredFavoriteButton.ConfigureResourceDictionary(dictionary, prefix + "ColoredFavoriteButton");
     RetweetButton.ConfigureResourceDictionary(dictionary, prefix + "RetweetButton");
     ColoredRetweetButton.ConfigureResourceDictionary(dictionary, prefix + "ColoredRetweetButton");
     MentionButton.ConfigureResourceDictionary(dictionary, prefix + "MentionButton");
     DeleteButton.ConfigureResourceDictionary(dictionary, prefix + "DeleteButton");
 }
Esempio n. 2
0
 public TweetTheme Clone()
 {
     return(new TweetTheme
     {
         Default = Default.Clone(),
         Highlight = Highlight.Clone(),
         KeyText = KeyText,
         SubText = SubText,
         HyperlinkText = HyperlinkText,
         FavoriteCounter = FavoriteCounter,
         RetweetCounter = RetweetCounter,
         RetweetMarker = RetweetMarker,
         FavoriteAndRetweetButton = FavoriteAndRetweetButton.Clone(),
         FavoriteButton = FavoriteButton.Clone(),
         ColoredFavoriteButton = ColoredFavoriteButton.Clone(),
         RetweetButton = RetweetButton.Clone(),
         ColoredRetweetButton = ColoredRetweetButton.Clone(),
         MentionButton = MentionButton.Clone(),
         DeleteButton = DeleteButton.Clone()
     });
 }