119 references to CreateInstance
PresentationFramework (119)
System\Windows\SystemParameters.cs (119)
236_cacheFocusBorderWidth = CreateInstance(SystemResourceKeyID.FocusBorderWidth); 252_cacheFocusBorderHeight = CreateInstance(SystemResourceKeyID.FocusBorderHeight); 268_cacheHighContrast = CreateInstance(SystemResourceKeyID.HighContrast); 400_cacheDropShadow = CreateInstance(SystemResourceKeyID.DropShadow); 416_cacheFlatMenu = CreateInstance(SystemResourceKeyID.FlatMenu); 432_cacheWorkArea = CreateInstance(SystemResourceKeyID.WorkArea); 518_cacheIconHorizontalSpacing = CreateInstance(SystemResourceKeyID.IconHorizontalSpacing); 534_cacheIconVerticalSpacing = CreateInstance(SystemResourceKeyID.IconVerticalSpacing); 550_cacheIconTitleWrap = CreateInstance(SystemResourceKeyID.IconTitleWrap); 843_cacheKeyboardCues = CreateInstance(SystemResourceKeyID.KeyboardCues); 859_cacheKeyboardDelay = CreateInstance(SystemResourceKeyID.KeyboardDelay); 875_cacheKeyboardPreference = CreateInstance(SystemResourceKeyID.KeyboardPreference); 891_cacheKeyboardSpeed = CreateInstance(SystemResourceKeyID.KeyboardSpeed); 907_cacheSnapToDefaultButton = CreateInstance(SystemResourceKeyID.SnapToDefaultButton); 923_cacheWheelScrollLines = CreateInstance(SystemResourceKeyID.WheelScrollLines); 939_cacheMouseHoverTime = CreateInstance(SystemResourceKeyID.MouseHoverTime); 955_cacheMouseHoverHeight = CreateInstance(SystemResourceKeyID.MouseHoverHeight); 971_cacheMouseHoverWidth = CreateInstance(SystemResourceKeyID.MouseHoverWidth); 1079_cacheMenuDropAlignment = CreateInstance(SystemResourceKeyID.MenuDropAlignment); 1095_cacheMenuFade = CreateInstance(SystemResourceKeyID.MenuFade); 1111_cacheMenuShowDelay = CreateInstance(SystemResourceKeyID.MenuShowDelay); 1538_cacheComboBoxAnimation = CreateInstance(SystemResourceKeyID.ComboBoxAnimation); 1554_cacheClientAreaAnimation = CreateInstance(SystemResourceKeyID.ClientAreaAnimation); 1570_cacheCursorShadow = CreateInstance(SystemResourceKeyID.CursorShadow); 1586_cacheGradientCaptions = CreateInstance(SystemResourceKeyID.GradientCaptions); 1602_cacheHotTracking = CreateInstance(SystemResourceKeyID.HotTracking); 1618_cacheListBoxSmoothScrolling = CreateInstance(SystemResourceKeyID.ListBoxSmoothScrolling); 1634_cacheMenuAnimation = CreateInstance(SystemResourceKeyID.MenuAnimation); 1650_cacheSelectionFade = CreateInstance(SystemResourceKeyID.SelectionFade); 1666_cacheStylusHotTracking = CreateInstance(SystemResourceKeyID.StylusHotTracking); 1682_cacheToolTipAnimation = CreateInstance(SystemResourceKeyID.ToolTipAnimation); 1698_cacheToolTipFade = CreateInstance(SystemResourceKeyID.ToolTipFade); 1714_cacheUIEffects = CreateInstance(SystemResourceKeyID.UIEffects); 1730_cacheComboBoxPopupAnimation = CreateInstance(SystemResourceKeyID.ComboBoxPopupAnimation); 1746_cacheMenuPopupAnimation = CreateInstance(SystemResourceKeyID.MenuPopupAnimation); 1762_cacheToolTipPopupAnimation = CreateInstance(SystemResourceKeyID.ToolTipPopupAnimation); 2082_cacheMinimizeAnimation = CreateInstance(SystemResourceKeyID.MinimizeAnimation); 2098_cacheBorder = CreateInstance(SystemResourceKeyID.Border); 2114_cacheCaretWidth = CreateInstance(SystemResourceKeyID.CaretWidth); 2130_cacheForegroundFlashCount = CreateInstance(SystemResourceKeyID.ForegroundFlashCount); 2146_cacheDragFullWindows = CreateInstance(SystemResourceKeyID.DragFullWindows); 2162_cacheBorderWidth = CreateInstance(SystemResourceKeyID.BorderWidth); 2178_cacheScrollWidth = CreateInstance(SystemResourceKeyID.ScrollWidth); 2194_cacheScrollHeight = CreateInstance(SystemResourceKeyID.ScrollHeight); 2210_cacheCaptionWidth = CreateInstance(SystemResourceKeyID.CaptionWidth); 2226_cacheCaptionHeight = CreateInstance(SystemResourceKeyID.CaptionHeight); 2242_cacheSmallCaptionWidth = CreateInstance(SystemResourceKeyID.SmallCaptionWidth); 2258_cacheMenuWidth = CreateInstance(SystemResourceKeyID.MenuWidth); 2274_cacheMenuHeight = CreateInstance(SystemResourceKeyID.MenuHeight); 3795_cacheThinHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ThinHorizontalBorderHeight); 3811_cacheThinVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ThinVerticalBorderWidth); 3827_cacheCursorWidth = CreateInstance(SystemResourceKeyID.CursorWidth); 3843_cacheCursorHeight = CreateInstance(SystemResourceKeyID.CursorHeight); 3859_cacheThickHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ThickHorizontalBorderHeight); 3875_cacheThickVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ThickVerticalBorderWidth); 3891_cacheFixedFrameHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.FixedFrameHorizontalBorderHeight); 3907_cacheFixedFrameVerticalBorderWidth = CreateInstance(SystemResourceKeyID.FixedFrameVerticalBorderWidth); 3923_cacheFocusHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.FocusHorizontalBorderHeight); 3939_cacheFocusVerticalBorderWidth = CreateInstance(SystemResourceKeyID.FocusVerticalBorderWidth); 3955_cacheFullPrimaryScreenWidth = CreateInstance(SystemResourceKeyID.FullPrimaryScreenWidth); 3971_cacheFullPrimaryScreenHeight = CreateInstance(SystemResourceKeyID.FullPrimaryScreenHeight); 3987_cacheHorizontalScrollBarButtonWidth = CreateInstance(SystemResourceKeyID.HorizontalScrollBarButtonWidth); 4003_cacheHorizontalScrollBarHeight = CreateInstance(SystemResourceKeyID.HorizontalScrollBarHeight); 4019_cacheHorizontalScrollBarThumbWidth = CreateInstance(SystemResourceKeyID.HorizontalScrollBarThumbWidth); 4035_cacheIconWidth = CreateInstance(SystemResourceKeyID.IconWidth); 4051_cacheIconHeight = CreateInstance(SystemResourceKeyID.IconHeight); 4067_cacheIconGridWidth = CreateInstance(SystemResourceKeyID.IconGridWidth); 4083_cacheIconGridHeight = CreateInstance(SystemResourceKeyID.IconGridHeight); 4099_cacheMaximizedPrimaryScreenWidth = CreateInstance(SystemResourceKeyID.MaximizedPrimaryScreenWidth); 4115_cacheMaximizedPrimaryScreenHeight = CreateInstance(SystemResourceKeyID.MaximizedPrimaryScreenHeight); 4131_cacheMaximumWindowTrackWidth = CreateInstance(SystemResourceKeyID.MaximumWindowTrackWidth); 4147_cacheMaximumWindowTrackHeight = CreateInstance(SystemResourceKeyID.MaximumWindowTrackHeight); 4163_cacheMenuCheckmarkWidth = CreateInstance(SystemResourceKeyID.MenuCheckmarkWidth); 4179_cacheMenuCheckmarkHeight = CreateInstance(SystemResourceKeyID.MenuCheckmarkHeight); 4195_cacheMenuButtonWidth = CreateInstance(SystemResourceKeyID.MenuButtonWidth); 4211_cacheMenuButtonHeight = CreateInstance(SystemResourceKeyID.MenuButtonHeight); 4227_cacheMinimumWindowWidth = CreateInstance(SystemResourceKeyID.MinimumWindowWidth); 4243_cacheMinimumWindowHeight = CreateInstance(SystemResourceKeyID.MinimumWindowHeight); 4259_cacheMinimizedWindowWidth = CreateInstance(SystemResourceKeyID.MinimizedWindowWidth); 4275_cacheMinimizedWindowHeight = CreateInstance(SystemResourceKeyID.MinimizedWindowHeight); 4291_cacheMinimizedGridWidth = CreateInstance(SystemResourceKeyID.MinimizedGridWidth); 4307_cacheMinimizedGridHeight = CreateInstance(SystemResourceKeyID.MinimizedGridHeight); 4323_cacheMinimumWindowTrackWidth = CreateInstance(SystemResourceKeyID.MinimumWindowTrackWidth); 4339_cacheMinimumWindowTrackHeight = CreateInstance(SystemResourceKeyID.MinimumWindowTrackHeight); 4355_cachePrimaryScreenWidth = CreateInstance(SystemResourceKeyID.PrimaryScreenWidth); 4371_cachePrimaryScreenHeight = CreateInstance(SystemResourceKeyID.PrimaryScreenHeight); 4387_cacheWindowCaptionButtonWidth = CreateInstance(SystemResourceKeyID.WindowCaptionButtonWidth); 4403_cacheWindowCaptionButtonHeight = CreateInstance(SystemResourceKeyID.WindowCaptionButtonHeight); 4419_cacheResizeFrameHorizontalBorderHeight = CreateInstance(SystemResourceKeyID.ResizeFrameHorizontalBorderHeight); 4435_cacheResizeFrameVerticalBorderWidth = CreateInstance(SystemResourceKeyID.ResizeFrameVerticalBorderWidth); 4451_cacheSmallIconWidth = CreateInstance(SystemResourceKeyID.SmallIconWidth); 4467_cacheSmallIconHeight = CreateInstance(SystemResourceKeyID.SmallIconHeight); 4483_cacheSmallWindowCaptionButtonWidth = CreateInstance(SystemResourceKeyID.SmallWindowCaptionButtonWidth); 4499_cacheSmallWindowCaptionButtonHeight = CreateInstance(SystemResourceKeyID.SmallWindowCaptionButtonHeight); 4515_cacheVirtualScreenWidth = CreateInstance(SystemResourceKeyID.VirtualScreenWidth); 4531_cacheVirtualScreenHeight = CreateInstance(SystemResourceKeyID.VirtualScreenHeight); 4547_cacheVerticalScrollBarWidth = CreateInstance(SystemResourceKeyID.VerticalScrollBarWidth); 4563_cacheVerticalScrollBarButtonHeight = CreateInstance(SystemResourceKeyID.VerticalScrollBarButtonHeight); 4579_cacheWindowCaptionHeight = CreateInstance(SystemResourceKeyID.WindowCaptionHeight); 4595_cacheKanjiWindowHeight = CreateInstance(SystemResourceKeyID.KanjiWindowHeight); 4611_cacheMenuBarHeight = CreateInstance(SystemResourceKeyID.MenuBarHeight); 4627_cacheSmallCaptionHeight = CreateInstance(SystemResourceKeyID.SmallCaptionHeight); 4643_cacheVerticalScrollBarThumbHeight = CreateInstance(SystemResourceKeyID.VerticalScrollBarThumbHeight); 4659_cacheIsImmEnabled = CreateInstance(SystemResourceKeyID.IsImmEnabled); 4675_cacheIsMediaCenter = CreateInstance(SystemResourceKeyID.IsMediaCenter); 4691_cacheIsMenuDropRightAligned = CreateInstance(SystemResourceKeyID.IsMenuDropRightAligned); 4707_cacheIsMiddleEastEnabled = CreateInstance(SystemResourceKeyID.IsMiddleEastEnabled); 4723_cacheIsMousePresent = CreateInstance(SystemResourceKeyID.IsMousePresent); 4739_cacheIsMouseWheelPresent = CreateInstance(SystemResourceKeyID.IsMouseWheelPresent); 4755_cacheIsPenWindows = CreateInstance(SystemResourceKeyID.IsPenWindows); 4771_cacheIsRemotelyControlled = CreateInstance(SystemResourceKeyID.IsRemotelyControlled); 4787_cacheIsRemoteSession = CreateInstance(SystemResourceKeyID.IsRemoteSession); 4803_cacheShowSounds = CreateInstance(SystemResourceKeyID.ShowSounds); 4819_cacheIsSlowMachine = CreateInstance(SystemResourceKeyID.IsSlowMachine); 4835_cacheSwapButtons = CreateInstance(SystemResourceKeyID.SwapButtons); 4851_cacheIsTabletPC = CreateInstance(SystemResourceKeyID.IsTabletPC); 4867_cacheVirtualScreenLeft = CreateInstance(SystemResourceKeyID.VirtualScreenLeft); 4883_cacheVirtualScreenTop = CreateInstance(SystemResourceKeyID.VirtualScreenTop); 4991_cachePowerLineStatus = CreateInstance(SystemResourceKeyID.PowerLineStatus);