119 references to CreateInstance
PresentationFramework (119)
System\Windows\SystemParameters.cs (119)
237
_cacheFocusBorderWidth =
CreateInstance
(SystemResourceKeyID.FocusBorderWidth);
253
_cacheFocusBorderHeight =
CreateInstance
(SystemResourceKeyID.FocusBorderHeight);
269
_cacheHighContrast =
CreateInstance
(SystemResourceKeyID.HighContrast);
401
_cacheDropShadow =
CreateInstance
(SystemResourceKeyID.DropShadow);
417
_cacheFlatMenu =
CreateInstance
(SystemResourceKeyID.FlatMenu);
433
_cacheWorkArea =
CreateInstance
(SystemResourceKeyID.WorkArea);
519
_cacheIconHorizontalSpacing =
CreateInstance
(SystemResourceKeyID.IconHorizontalSpacing);
535
_cacheIconVerticalSpacing =
CreateInstance
(SystemResourceKeyID.IconVerticalSpacing);
551
_cacheIconTitleWrap =
CreateInstance
(SystemResourceKeyID.IconTitleWrap);
844
_cacheKeyboardCues =
CreateInstance
(SystemResourceKeyID.KeyboardCues);
860
_cacheKeyboardDelay =
CreateInstance
(SystemResourceKeyID.KeyboardDelay);
876
_cacheKeyboardPreference =
CreateInstance
(SystemResourceKeyID.KeyboardPreference);
892
_cacheKeyboardSpeed =
CreateInstance
(SystemResourceKeyID.KeyboardSpeed);
908
_cacheSnapToDefaultButton =
CreateInstance
(SystemResourceKeyID.SnapToDefaultButton);
924
_cacheWheelScrollLines =
CreateInstance
(SystemResourceKeyID.WheelScrollLines);
940
_cacheMouseHoverTime =
CreateInstance
(SystemResourceKeyID.MouseHoverTime);
956
_cacheMouseHoverHeight =
CreateInstance
(SystemResourceKeyID.MouseHoverHeight);
972
_cacheMouseHoverWidth =
CreateInstance
(SystemResourceKeyID.MouseHoverWidth);
1080
_cacheMenuDropAlignment =
CreateInstance
(SystemResourceKeyID.MenuDropAlignment);
1096
_cacheMenuFade =
CreateInstance
(SystemResourceKeyID.MenuFade);
1112
_cacheMenuShowDelay =
CreateInstance
(SystemResourceKeyID.MenuShowDelay);
1539
_cacheComboBoxAnimation =
CreateInstance
(SystemResourceKeyID.ComboBoxAnimation);
1555
_cacheClientAreaAnimation =
CreateInstance
(SystemResourceKeyID.ClientAreaAnimation);
1571
_cacheCursorShadow =
CreateInstance
(SystemResourceKeyID.CursorShadow);
1587
_cacheGradientCaptions =
CreateInstance
(SystemResourceKeyID.GradientCaptions);
1603
_cacheHotTracking =
CreateInstance
(SystemResourceKeyID.HotTracking);
1619
_cacheListBoxSmoothScrolling =
CreateInstance
(SystemResourceKeyID.ListBoxSmoothScrolling);
1635
_cacheMenuAnimation =
CreateInstance
(SystemResourceKeyID.MenuAnimation);
1651
_cacheSelectionFade =
CreateInstance
(SystemResourceKeyID.SelectionFade);
1667
_cacheStylusHotTracking =
CreateInstance
(SystemResourceKeyID.StylusHotTracking);
1683
_cacheToolTipAnimation =
CreateInstance
(SystemResourceKeyID.ToolTipAnimation);
1699
_cacheToolTipFade =
CreateInstance
(SystemResourceKeyID.ToolTipFade);
1715
_cacheUIEffects =
CreateInstance
(SystemResourceKeyID.UIEffects);
1731
_cacheComboBoxPopupAnimation =
CreateInstance
(SystemResourceKeyID.ComboBoxPopupAnimation);
1747
_cacheMenuPopupAnimation =
CreateInstance
(SystemResourceKeyID.MenuPopupAnimation);
1763
_cacheToolTipPopupAnimation =
CreateInstance
(SystemResourceKeyID.ToolTipPopupAnimation);
2083
_cacheMinimizeAnimation =
CreateInstance
(SystemResourceKeyID.MinimizeAnimation);
2099
_cacheBorder =
CreateInstance
(SystemResourceKeyID.Border);
2115
_cacheCaretWidth =
CreateInstance
(SystemResourceKeyID.CaretWidth);
2131
_cacheForegroundFlashCount =
CreateInstance
(SystemResourceKeyID.ForegroundFlashCount);
2147
_cacheDragFullWindows =
CreateInstance
(SystemResourceKeyID.DragFullWindows);
2163
_cacheBorderWidth =
CreateInstance
(SystemResourceKeyID.BorderWidth);
2179
_cacheScrollWidth =
CreateInstance
(SystemResourceKeyID.ScrollWidth);
2195
_cacheScrollHeight =
CreateInstance
(SystemResourceKeyID.ScrollHeight);
2211
_cacheCaptionWidth =
CreateInstance
(SystemResourceKeyID.CaptionWidth);
2227
_cacheCaptionHeight =
CreateInstance
(SystemResourceKeyID.CaptionHeight);
2243
_cacheSmallCaptionWidth =
CreateInstance
(SystemResourceKeyID.SmallCaptionWidth);
2259
_cacheMenuWidth =
CreateInstance
(SystemResourceKeyID.MenuWidth);
2275
_cacheMenuHeight =
CreateInstance
(SystemResourceKeyID.MenuHeight);
3796
_cacheThinHorizontalBorderHeight =
CreateInstance
(SystemResourceKeyID.ThinHorizontalBorderHeight);
3812
_cacheThinVerticalBorderWidth =
CreateInstance
(SystemResourceKeyID.ThinVerticalBorderWidth);
3828
_cacheCursorWidth =
CreateInstance
(SystemResourceKeyID.CursorWidth);
3844
_cacheCursorHeight =
CreateInstance
(SystemResourceKeyID.CursorHeight);
3860
_cacheThickHorizontalBorderHeight =
CreateInstance
(SystemResourceKeyID.ThickHorizontalBorderHeight);
3876
_cacheThickVerticalBorderWidth =
CreateInstance
(SystemResourceKeyID.ThickVerticalBorderWidth);
3892
_cacheFixedFrameHorizontalBorderHeight =
CreateInstance
(SystemResourceKeyID.FixedFrameHorizontalBorderHeight);
3908
_cacheFixedFrameVerticalBorderWidth =
CreateInstance
(SystemResourceKeyID.FixedFrameVerticalBorderWidth);
3924
_cacheFocusHorizontalBorderHeight =
CreateInstance
(SystemResourceKeyID.FocusHorizontalBorderHeight);
3940
_cacheFocusVerticalBorderWidth =
CreateInstance
(SystemResourceKeyID.FocusVerticalBorderWidth);
3956
_cacheFullPrimaryScreenWidth =
CreateInstance
(SystemResourceKeyID.FullPrimaryScreenWidth);
3972
_cacheFullPrimaryScreenHeight =
CreateInstance
(SystemResourceKeyID.FullPrimaryScreenHeight);
3988
_cacheHorizontalScrollBarButtonWidth =
CreateInstance
(SystemResourceKeyID.HorizontalScrollBarButtonWidth);
4004
_cacheHorizontalScrollBarHeight =
CreateInstance
(SystemResourceKeyID.HorizontalScrollBarHeight);
4020
_cacheHorizontalScrollBarThumbWidth =
CreateInstance
(SystemResourceKeyID.HorizontalScrollBarThumbWidth);
4036
_cacheIconWidth =
CreateInstance
(SystemResourceKeyID.IconWidth);
4052
_cacheIconHeight =
CreateInstance
(SystemResourceKeyID.IconHeight);
4068
_cacheIconGridWidth =
CreateInstance
(SystemResourceKeyID.IconGridWidth);
4084
_cacheIconGridHeight =
CreateInstance
(SystemResourceKeyID.IconGridHeight);
4100
_cacheMaximizedPrimaryScreenWidth =
CreateInstance
(SystemResourceKeyID.MaximizedPrimaryScreenWidth);
4116
_cacheMaximizedPrimaryScreenHeight =
CreateInstance
(SystemResourceKeyID.MaximizedPrimaryScreenHeight);
4132
_cacheMaximumWindowTrackWidth =
CreateInstance
(SystemResourceKeyID.MaximumWindowTrackWidth);
4148
_cacheMaximumWindowTrackHeight =
CreateInstance
(SystemResourceKeyID.MaximumWindowTrackHeight);
4164
_cacheMenuCheckmarkWidth =
CreateInstance
(SystemResourceKeyID.MenuCheckmarkWidth);
4180
_cacheMenuCheckmarkHeight =
CreateInstance
(SystemResourceKeyID.MenuCheckmarkHeight);
4196
_cacheMenuButtonWidth =
CreateInstance
(SystemResourceKeyID.MenuButtonWidth);
4212
_cacheMenuButtonHeight =
CreateInstance
(SystemResourceKeyID.MenuButtonHeight);
4228
_cacheMinimumWindowWidth =
CreateInstance
(SystemResourceKeyID.MinimumWindowWidth);
4244
_cacheMinimumWindowHeight =
CreateInstance
(SystemResourceKeyID.MinimumWindowHeight);
4260
_cacheMinimizedWindowWidth =
CreateInstance
(SystemResourceKeyID.MinimizedWindowWidth);
4276
_cacheMinimizedWindowHeight =
CreateInstance
(SystemResourceKeyID.MinimizedWindowHeight);
4292
_cacheMinimizedGridWidth =
CreateInstance
(SystemResourceKeyID.MinimizedGridWidth);
4308
_cacheMinimizedGridHeight =
CreateInstance
(SystemResourceKeyID.MinimizedGridHeight);
4324
_cacheMinimumWindowTrackWidth =
CreateInstance
(SystemResourceKeyID.MinimumWindowTrackWidth);
4340
_cacheMinimumWindowTrackHeight =
CreateInstance
(SystemResourceKeyID.MinimumWindowTrackHeight);
4356
_cachePrimaryScreenWidth =
CreateInstance
(SystemResourceKeyID.PrimaryScreenWidth);
4372
_cachePrimaryScreenHeight =
CreateInstance
(SystemResourceKeyID.PrimaryScreenHeight);
4388
_cacheWindowCaptionButtonWidth =
CreateInstance
(SystemResourceKeyID.WindowCaptionButtonWidth);
4404
_cacheWindowCaptionButtonHeight =
CreateInstance
(SystemResourceKeyID.WindowCaptionButtonHeight);
4420
_cacheResizeFrameHorizontalBorderHeight =
CreateInstance
(SystemResourceKeyID.ResizeFrameHorizontalBorderHeight);
4436
_cacheResizeFrameVerticalBorderWidth =
CreateInstance
(SystemResourceKeyID.ResizeFrameVerticalBorderWidth);
4452
_cacheSmallIconWidth =
CreateInstance
(SystemResourceKeyID.SmallIconWidth);
4468
_cacheSmallIconHeight =
CreateInstance
(SystemResourceKeyID.SmallIconHeight);
4484
_cacheSmallWindowCaptionButtonWidth =
CreateInstance
(SystemResourceKeyID.SmallWindowCaptionButtonWidth);
4500
_cacheSmallWindowCaptionButtonHeight =
CreateInstance
(SystemResourceKeyID.SmallWindowCaptionButtonHeight);
4516
_cacheVirtualScreenWidth =
CreateInstance
(SystemResourceKeyID.VirtualScreenWidth);
4532
_cacheVirtualScreenHeight =
CreateInstance
(SystemResourceKeyID.VirtualScreenHeight);
4548
_cacheVerticalScrollBarWidth =
CreateInstance
(SystemResourceKeyID.VerticalScrollBarWidth);
4564
_cacheVerticalScrollBarButtonHeight =
CreateInstance
(SystemResourceKeyID.VerticalScrollBarButtonHeight);
4580
_cacheWindowCaptionHeight =
CreateInstance
(SystemResourceKeyID.WindowCaptionHeight);
4596
_cacheKanjiWindowHeight =
CreateInstance
(SystemResourceKeyID.KanjiWindowHeight);
4612
_cacheMenuBarHeight =
CreateInstance
(SystemResourceKeyID.MenuBarHeight);
4628
_cacheSmallCaptionHeight =
CreateInstance
(SystemResourceKeyID.SmallCaptionHeight);
4644
_cacheVerticalScrollBarThumbHeight =
CreateInstance
(SystemResourceKeyID.VerticalScrollBarThumbHeight);
4660
_cacheIsImmEnabled =
CreateInstance
(SystemResourceKeyID.IsImmEnabled);
4676
_cacheIsMediaCenter =
CreateInstance
(SystemResourceKeyID.IsMediaCenter);
4692
_cacheIsMenuDropRightAligned =
CreateInstance
(SystemResourceKeyID.IsMenuDropRightAligned);
4708
_cacheIsMiddleEastEnabled =
CreateInstance
(SystemResourceKeyID.IsMiddleEastEnabled);
4724
_cacheIsMousePresent =
CreateInstance
(SystemResourceKeyID.IsMousePresent);
4740
_cacheIsMouseWheelPresent =
CreateInstance
(SystemResourceKeyID.IsMouseWheelPresent);
4756
_cacheIsPenWindows =
CreateInstance
(SystemResourceKeyID.IsPenWindows);
4772
_cacheIsRemotelyControlled =
CreateInstance
(SystemResourceKeyID.IsRemotelyControlled);
4788
_cacheIsRemoteSession =
CreateInstance
(SystemResourceKeyID.IsRemoteSession);
4804
_cacheShowSounds =
CreateInstance
(SystemResourceKeyID.ShowSounds);
4820
_cacheIsSlowMachine =
CreateInstance
(SystemResourceKeyID.IsSlowMachine);
4836
_cacheSwapButtons =
CreateInstance
(SystemResourceKeyID.SwapButtons);
4852
_cacheIsTabletPC =
CreateInstance
(SystemResourceKeyID.IsTabletPC);
4868
_cacheVirtualScreenLeft =
CreateInstance
(SystemResourceKeyID.VirtualScreenLeft);
4884
_cacheVirtualScreenTop =
CreateInstance
(SystemResourceKeyID.VirtualScreenTop);
4992
_cachePowerLineStatus =
CreateInstance
(SystemResourceKeyID.PowerLineStatus);