76 references to CreateInstance
PresentationFramework (76)
System\Windows\SystemColors.cs (76)
447_cacheActiveBorderColor = CreateInstance(SystemResourceKeyID.ActiveBorderColor); 463_cacheActiveCaptionColor = CreateInstance(SystemResourceKeyID.ActiveCaptionColor); 479_cacheActiveCaptionTextColor = CreateInstance(SystemResourceKeyID.ActiveCaptionTextColor); 495_cacheAppWorkspaceColor = CreateInstance(SystemResourceKeyID.AppWorkspaceColor); 511_cacheControlColor = CreateInstance(SystemResourceKeyID.ControlColor); 527_cacheControlDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkColor); 543_cacheControlDarkDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkDarkColor); 559_cacheControlLightColor = CreateInstance(SystemResourceKeyID.ControlLightColor); 575_cacheControlLightLightColor = CreateInstance(SystemResourceKeyID.ControlLightLightColor); 591_cacheControlTextColor = CreateInstance(SystemResourceKeyID.ControlTextColor); 607_cacheDesktopColor = CreateInstance(SystemResourceKeyID.DesktopColor); 623_cacheGradientActiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientActiveCaptionColor); 639_cacheGradientInactiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionColor); 655_cacheGrayTextColor = CreateInstance(SystemResourceKeyID.GrayTextColor); 671_cacheHighlightColor = CreateInstance(SystemResourceKeyID.HighlightColor); 687_cacheHighlightTextColor = CreateInstance(SystemResourceKeyID.HighlightTextColor); 703_cacheHotTrackColor = CreateInstance(SystemResourceKeyID.HotTrackColor); 719_cacheInactiveBorderColor = CreateInstance(SystemResourceKeyID.InactiveBorderColor); 735_cacheInactiveCaptionColor = CreateInstance(SystemResourceKeyID.InactiveCaptionColor); 751_cacheInactiveCaptionTextColor = CreateInstance(SystemResourceKeyID.InactiveCaptionTextColor); 767_cacheInfoColor = CreateInstance(SystemResourceKeyID.InfoColor); 783_cacheInfoTextColor = CreateInstance(SystemResourceKeyID.InfoTextColor); 799_cacheMenuColor = CreateInstance(SystemResourceKeyID.MenuColor); 815_cacheMenuBarColor = CreateInstance(SystemResourceKeyID.MenuBarColor); 831_cacheMenuHighlightColor = CreateInstance(SystemResourceKeyID.MenuHighlightColor); 847_cacheMenuTextColor = CreateInstance(SystemResourceKeyID.MenuTextColor); 863_cacheScrollBarColor = CreateInstance(SystemResourceKeyID.ScrollBarColor); 879_cacheWindowColor = CreateInstance(SystemResourceKeyID.WindowColor); 895_cacheWindowFrameColor = CreateInstance(SystemResourceKeyID.WindowFrameColor); 911_cacheWindowTextColor = CreateInstance(SystemResourceKeyID.WindowTextColor); 927_cacheAccentColor = CreateInstance(SystemResourceKeyID.AccentColor); 943_cacheAccentColorLight1 = CreateInstance(SystemResourceKeyID.AccentColorLight1); 959_cacheAccentColorLight2 = CreateInstance(SystemResourceKeyID.AccentColorLight2); 975_cacheAccentColorLight3 = CreateInstance(SystemResourceKeyID.AccentColorLight3); 991_cacheAccentColorDark1 = CreateInstance(SystemResourceKeyID.AccentColorDark1); 1007_cacheAccentColorDark2 = CreateInstance(SystemResourceKeyID.AccentColorDark2); 1023_cacheAccentColorDark3 = CreateInstance(SystemResourceKeyID.AccentColorDark3); 1567_cacheActiveBorderBrush = CreateInstance(SystemResourceKeyID.ActiveBorderBrush); 1583_cacheActiveCaptionBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionBrush); 1599_cacheActiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionTextBrush); 1615_cacheAppWorkspaceBrush = CreateInstance(SystemResourceKeyID.AppWorkspaceBrush); 1631_cacheControlBrush = CreateInstance(SystemResourceKeyID.ControlBrush); 1647_cacheControlDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkBrush); 1663_cacheControlDarkDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkDarkBrush); 1679_cacheControlLightBrush = CreateInstance(SystemResourceKeyID.ControlLightBrush); 1695_cacheControlLightLightBrush = CreateInstance(SystemResourceKeyID.ControlLightLightBrush); 1711_cacheControlTextBrush = CreateInstance(SystemResourceKeyID.ControlTextBrush); 1727_cacheDesktopBrush = CreateInstance(SystemResourceKeyID.DesktopBrush); 1743_cacheGradientActiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientActiveCaptionBrush); 1759_cacheGradientInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionBrush); 1775_cacheGrayTextBrush = CreateInstance(SystemResourceKeyID.GrayTextBrush); 1791_cacheHighlightBrush = CreateInstance(SystemResourceKeyID.HighlightBrush); 1807_cacheHighlightTextBrush = CreateInstance(SystemResourceKeyID.HighlightTextBrush); 1823_cacheHotTrackBrush = CreateInstance(SystemResourceKeyID.HotTrackBrush); 1839_cacheInactiveBorderBrush = CreateInstance(SystemResourceKeyID.InactiveBorderBrush); 1855_cacheInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionBrush); 1871_cacheInactiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionTextBrush); 1887_cacheInfoBrush = CreateInstance(SystemResourceKeyID.InfoBrush); 1903_cacheInfoTextBrush = CreateInstance(SystemResourceKeyID.InfoTextBrush); 1919_cacheMenuBrush = CreateInstance(SystemResourceKeyID.MenuBrush); 1935_cacheMenuBarBrush = CreateInstance(SystemResourceKeyID.MenuBarBrush); 1951_cacheMenuHighlightBrush = CreateInstance(SystemResourceKeyID.MenuHighlightBrush); 1967_cacheMenuTextBrush = CreateInstance(SystemResourceKeyID.MenuTextBrush); 1983_cacheScrollBarBrush = CreateInstance(SystemResourceKeyID.ScrollBarBrush); 1999_cacheWindowBrush = CreateInstance(SystemResourceKeyID.WindowBrush); 2015_cacheWindowFrameBrush = CreateInstance(SystemResourceKeyID.WindowFrameBrush); 2031_cacheWindowTextBrush = CreateInstance(SystemResourceKeyID.WindowTextBrush); 2049_cacheInactiveSelectionHighlightBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightBrush); 2072_cacheInactiveSelectionHighlightTextBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightTextBrush); 2093_cacheAccentColorBrush = CreateInstance(SystemResourceKeyID.AccentColorBrush); 2109_cacheAccentColorLight1Brush = CreateInstance(SystemResourceKeyID.AccentColorLight1Brush); 2125_cacheAccentColorLight2Brush = CreateInstance(SystemResourceKeyID.AccentColorLight2Brush); 2141_cacheAccentColorLight3Brush = CreateInstance(SystemResourceKeyID.AccentColorLight3Brush); 2157_cacheAccentColorDark1Brush = CreateInstance(SystemResourceKeyID.AccentColorDark1Brush); 2173_cacheAccentColorDark2Brush = CreateInstance(SystemResourceKeyID.AccentColorDark2Brush); 2189_cacheAccentColorDark3Brush = CreateInstance(SystemResourceKeyID.AccentColorDark3Brush);