62 references to CreateInstance
PresentationFramework (62)
src\Framework\System\Windows\SystemColors.cs (62)
365_cacheActiveBorderColor = CreateInstance(SystemResourceKeyID.ActiveBorderColor); 381_cacheActiveCaptionColor = CreateInstance(SystemResourceKeyID.ActiveCaptionColor); 397_cacheActiveCaptionTextColor = CreateInstance(SystemResourceKeyID.ActiveCaptionTextColor); 413_cacheAppWorkspaceColor = CreateInstance(SystemResourceKeyID.AppWorkspaceColor); 429_cacheControlColor = CreateInstance(SystemResourceKeyID.ControlColor); 445_cacheControlDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkColor); 461_cacheControlDarkDarkColor = CreateInstance(SystemResourceKeyID.ControlDarkDarkColor); 477_cacheControlLightColor = CreateInstance(SystemResourceKeyID.ControlLightColor); 493_cacheControlLightLightColor = CreateInstance(SystemResourceKeyID.ControlLightLightColor); 509_cacheControlTextColor = CreateInstance(SystemResourceKeyID.ControlTextColor); 525_cacheDesktopColor = CreateInstance(SystemResourceKeyID.DesktopColor); 541_cacheGradientActiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientActiveCaptionColor); 557_cacheGradientInactiveCaptionColor = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionColor); 573_cacheGrayTextColor = CreateInstance(SystemResourceKeyID.GrayTextColor); 589_cacheHighlightColor = CreateInstance(SystemResourceKeyID.HighlightColor); 605_cacheHighlightTextColor = CreateInstance(SystemResourceKeyID.HighlightTextColor); 621_cacheHotTrackColor = CreateInstance(SystemResourceKeyID.HotTrackColor); 637_cacheInactiveBorderColor = CreateInstance(SystemResourceKeyID.InactiveBorderColor); 653_cacheInactiveCaptionColor = CreateInstance(SystemResourceKeyID.InactiveCaptionColor); 669_cacheInactiveCaptionTextColor = CreateInstance(SystemResourceKeyID.InactiveCaptionTextColor); 685_cacheInfoColor = CreateInstance(SystemResourceKeyID.InfoColor); 701_cacheInfoTextColor = CreateInstance(SystemResourceKeyID.InfoTextColor); 717_cacheMenuColor = CreateInstance(SystemResourceKeyID.MenuColor); 733_cacheMenuBarColor = CreateInstance(SystemResourceKeyID.MenuBarColor); 749_cacheMenuHighlightColor = CreateInstance(SystemResourceKeyID.MenuHighlightColor); 765_cacheMenuTextColor = CreateInstance(SystemResourceKeyID.MenuTextColor); 781_cacheScrollBarColor = CreateInstance(SystemResourceKeyID.ScrollBarColor); 797_cacheWindowColor = CreateInstance(SystemResourceKeyID.WindowColor); 813_cacheWindowFrameColor = CreateInstance(SystemResourceKeyID.WindowFrameColor); 829_cacheWindowTextColor = CreateInstance(SystemResourceKeyID.WindowTextColor); 1225_cacheActiveBorderBrush = CreateInstance(SystemResourceKeyID.ActiveBorderBrush); 1241_cacheActiveCaptionBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionBrush); 1257_cacheActiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.ActiveCaptionTextBrush); 1273_cacheAppWorkspaceBrush = CreateInstance(SystemResourceKeyID.AppWorkspaceBrush); 1289_cacheControlBrush = CreateInstance(SystemResourceKeyID.ControlBrush); 1305_cacheControlDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkBrush); 1321_cacheControlDarkDarkBrush = CreateInstance(SystemResourceKeyID.ControlDarkDarkBrush); 1337_cacheControlLightBrush = CreateInstance(SystemResourceKeyID.ControlLightBrush); 1353_cacheControlLightLightBrush = CreateInstance(SystemResourceKeyID.ControlLightLightBrush); 1369_cacheControlTextBrush = CreateInstance(SystemResourceKeyID.ControlTextBrush); 1385_cacheDesktopBrush = CreateInstance(SystemResourceKeyID.DesktopBrush); 1401_cacheGradientActiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientActiveCaptionBrush); 1417_cacheGradientInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.GradientInactiveCaptionBrush); 1433_cacheGrayTextBrush = CreateInstance(SystemResourceKeyID.GrayTextBrush); 1449_cacheHighlightBrush = CreateInstance(SystemResourceKeyID.HighlightBrush); 1465_cacheHighlightTextBrush = CreateInstance(SystemResourceKeyID.HighlightTextBrush); 1481_cacheHotTrackBrush = CreateInstance(SystemResourceKeyID.HotTrackBrush); 1497_cacheInactiveBorderBrush = CreateInstance(SystemResourceKeyID.InactiveBorderBrush); 1513_cacheInactiveCaptionBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionBrush); 1529_cacheInactiveCaptionTextBrush = CreateInstance(SystemResourceKeyID.InactiveCaptionTextBrush); 1545_cacheInfoBrush = CreateInstance(SystemResourceKeyID.InfoBrush); 1561_cacheInfoTextBrush = CreateInstance(SystemResourceKeyID.InfoTextBrush); 1577_cacheMenuBrush = CreateInstance(SystemResourceKeyID.MenuBrush); 1593_cacheMenuBarBrush = CreateInstance(SystemResourceKeyID.MenuBarBrush); 1609_cacheMenuHighlightBrush = CreateInstance(SystemResourceKeyID.MenuHighlightBrush); 1625_cacheMenuTextBrush = CreateInstance(SystemResourceKeyID.MenuTextBrush); 1641_cacheScrollBarBrush = CreateInstance(SystemResourceKeyID.ScrollBarBrush); 1657_cacheWindowBrush = CreateInstance(SystemResourceKeyID.WindowBrush); 1673_cacheWindowFrameBrush = CreateInstance(SystemResourceKeyID.WindowFrameBrush); 1689_cacheWindowTextBrush = CreateInstance(SystemResourceKeyID.WindowTextBrush); 1707_cacheInactiveSelectionHighlightBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightBrush); 1730_cacheInactiveSelectionHighlightTextBrush = CreateInstance(SystemResourceKeyID.InactiveSelectionHighlightTextBrush);