76 references to CreateInstance
PresentationFramework (76)
System\Windows\SystemColors.cs (76)
445_cacheActiveBorderColor = CreateInstance(SystemResourceKeyID.ActiveBorderColor); 461_cacheActiveCaptionColor = CreateInstance(SystemResourceKeyID.ActiveCaptionColor); 477_cacheActiveCaptionTextColor = CreateInstance(SystemResourceKeyID.ActiveCaptionTextColor); 493_cacheAppWorkspaceColor = CreateInstance(SystemResourceKeyID.AppWorkspaceColor); 509_cacheControlColor = CreateInstance(SystemResourceKeyID.ControlColor); 525_cacheControlDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkColor); 541_cacheControlDarkDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkDarkColor); 557_cacheControlLightColor = CreateInstance(SystemResourceKeyID.ControlLightColor); 573_cacheControlLightLightColor = CreateInstance(SystemResourceKeyID.ControlLightLightColor); 589_cacheControlTextColor = CreateInstance(SystemResourceKeyID.ControlTextColor); 605_cacheDesktopColor = CreateInstance(SystemResourceKeyID.DesktopColor); 621_cacheGradientActiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientActiveCaptionColor); 637_cacheGradientInactiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionColor); 653_cacheGrayTextColor = CreateInstance(SystemResourceKeyID.GrayTextColor); 669_cacheHighlightColor = CreateInstance(SystemResourceKeyID.HighlightColor); 685_cacheHighlightTextColor = CreateInstance(SystemResourceKeyID.HighlightTextColor); 701_cacheHotTrackColor = CreateInstance(SystemResourceKeyID.HotTrackColor); 717_cacheInactiveBorderColor = CreateInstance(SystemResourceKeyID.InactiveBorderColor); 733_cacheInactiveCaptionColor = CreateInstance(SystemResourceKeyID.InactiveCaptionColor); 749_cacheInactiveCaptionTextColor = CreateInstance(SystemResourceKeyID.InactiveCaptionTextColor); 765_cacheInfoColor = CreateInstance(SystemResourceKeyID.InfoColor); 781_cacheInfoTextColor = CreateInstance(SystemResourceKeyID.InfoTextColor); 797_cacheMenuColor = CreateInstance(SystemResourceKeyID.MenuColor); 813_cacheMenuBarColor = CreateInstance(SystemResourceKeyID.MenuBarColor); 829_cacheMenuHighlightColor = CreateInstance(SystemResourceKeyID.MenuHighlightColor); 845_cacheMenuTextColor = CreateInstance(SystemResourceKeyID.MenuTextColor); 861_cacheScrollBarColor = CreateInstance(SystemResourceKeyID.ScrollBarColor); 877_cacheWindowColor = CreateInstance(SystemResourceKeyID.WindowColor); 893_cacheWindowFrameColor = CreateInstance(SystemResourceKeyID.WindowFrameColor); 909_cacheWindowTextColor = CreateInstance(SystemResourceKeyID.WindowTextColor); 925_cacheAccentColor = CreateInstance(SystemResourceKeyID.AccentColor); 941_cacheAccentColorLight1 = CreateInstance(SystemResourceKeyID.AccentColorLight1); 957_cacheAccentColorLight2 = CreateInstance(SystemResourceKeyID.AccentColorLight2); 973_cacheAccentColorLight3 = CreateInstance(SystemResourceKeyID.AccentColorLight3); 989_cacheAccentColorDark1 = CreateInstance(SystemResourceKeyID.AccentColorDark1); 1005_cacheAccentColorDark2 = CreateInstance(SystemResourceKeyID.AccentColorDark2); 1021_cacheAccentColorDark3 = CreateInstance(SystemResourceKeyID.AccentColorDark3); 1565_cacheActiveBorderBrush = CreateInstance(SystemResourceKeyID.ActiveBorderBrush); 1581_cacheActiveCaptionBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionBrush); 1597_cacheActiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionTextBrush); 1613_cacheAppWorkspaceBrush = CreateInstance(SystemResourceKeyID.AppWorkspaceBrush); 1629_cacheControlBrush = CreateInstance(SystemResourceKeyID.ControlBrush); 1645_cacheControlDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkBrush); 1661_cacheControlDarkDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkDarkBrush); 1677_cacheControlLightBrush = CreateInstance(SystemResourceKeyID.ControlLightBrush); 1693_cacheControlLightLightBrush = CreateInstance(SystemResourceKeyID.ControlLightLightBrush); 1709_cacheControlTextBrush = CreateInstance(SystemResourceKeyID.ControlTextBrush); 1725_cacheDesktopBrush = CreateInstance(SystemResourceKeyID.DesktopBrush); 1741_cacheGradientActiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientActiveCaptionBrush); 1757_cacheGradientInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionBrush); 1773_cacheGrayTextBrush = CreateInstance(SystemResourceKeyID.GrayTextBrush); 1789_cacheHighlightBrush = CreateInstance(SystemResourceKeyID.HighlightBrush); 1805_cacheHighlightTextBrush = CreateInstance(SystemResourceKeyID.HighlightTextBrush); 1821_cacheHotTrackBrush = CreateInstance(SystemResourceKeyID.HotTrackBrush); 1837_cacheInactiveBorderBrush = CreateInstance(SystemResourceKeyID.InactiveBorderBrush); 1853_cacheInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionBrush); 1869_cacheInactiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionTextBrush); 1885_cacheInfoBrush = CreateInstance(SystemResourceKeyID.InfoBrush); 1901_cacheInfoTextBrush = CreateInstance(SystemResourceKeyID.InfoTextBrush); 1917_cacheMenuBrush = CreateInstance(SystemResourceKeyID.MenuBrush); 1933_cacheMenuBarBrush = CreateInstance(SystemResourceKeyID.MenuBarBrush); 1949_cacheMenuHighlightBrush = CreateInstance(SystemResourceKeyID.MenuHighlightBrush); 1965_cacheMenuTextBrush = CreateInstance(SystemResourceKeyID.MenuTextBrush); 1981_cacheScrollBarBrush = CreateInstance(SystemResourceKeyID.ScrollBarBrush); 1997_cacheWindowBrush = CreateInstance(SystemResourceKeyID.WindowBrush); 2013_cacheWindowFrameBrush = CreateInstance(SystemResourceKeyID.WindowFrameBrush); 2029_cacheWindowTextBrush = CreateInstance(SystemResourceKeyID.WindowTextBrush); 2047_cacheInactiveSelectionHighlightBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightBrush); 2070_cacheInactiveSelectionHighlightTextBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightTextBrush); 2091_cacheAccentColorBrush = CreateInstance(SystemResourceKeyID.AccentColorBrush); 2107_cacheAccentColorLight1Brush = CreateInstance(SystemResourceKeyID.AccentColorLight1Brush); 2123_cacheAccentColorLight2Brush = CreateInstance(SystemResourceKeyID.AccentColorLight2Brush); 2139_cacheAccentColorLight3Brush = CreateInstance(SystemResourceKeyID.AccentColorLight3Brush); 2155_cacheAccentColorDark1Brush = CreateInstance(SystemResourceKeyID.AccentColorDark1Brush); 2171_cacheAccentColorDark2Brush = CreateInstance(SystemResourceKeyID.AccentColorDark2Brush); 2187_cacheAccentColorDark3Brush = CreateInstance(SystemResourceKeyID.AccentColorDark3Brush);