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);