58 references to UserPreferenceCategory
System (27)
compmod\microsoft\win32\SystemEvents.cs (21)
616
private
UserPreferenceCategory
GetUserPreferenceCategory(int msg, IntPtr wParam, IntPtr lParam) {
618
UserPreferenceCategory
pref =
UserPreferenceCategory
.General;
623
pref =
UserPreferenceCategory
.Policy;
626
pref =
UserPreferenceCategory
.Locale;
640
pref =
UserPreferenceCategory
.Accessibility;
649
pref =
UserPreferenceCategory
.Desktop;
658
pref =
UserPreferenceCategory
.Icon;
676
pref =
UserPreferenceCategory
.Mouse;
683
pref =
UserPreferenceCategory
.Keyboard;
691
pref =
UserPreferenceCategory
.Menu;
698
pref =
UserPreferenceCategory
.Power;
704
pref =
UserPreferenceCategory
.Screensaver;
726
pref =
UserPreferenceCategory
.Window;
732
pref =
UserPreferenceCategory
.Color;
988
RaiseEvent(OnUserPreferenceChangingEvent, this, new UserPreferenceChangingEventArgs(
UserPreferenceCategory
.VisualStyle));
990
UserPreferenceCategory
pref =
UserPreferenceCategory
.Window;
994
pref =
UserPreferenceCategory
.VisualStyle;
1003
UserPreferenceCategory
pref = GetUserPreferenceCategory(msg, wParam, lParam);
1010
UserPreferenceCategory
pref = GetUserPreferenceCategory(msg, wParam, lParam);
compmod\microsoft\win32\UserPreferenceChangedEventArgs.cs (3)
22
private readonly
UserPreferenceCategory
category;
27
public UserPreferenceChangedEventArgs(
UserPreferenceCategory
category) {
34
public
UserPreferenceCategory
Category {
compmod\microsoft\win32\UserPreferenceChangingEventArgs.cs (3)
22
private readonly
UserPreferenceCategory
category;
27
public UserPreferenceChangingEventArgs(
UserPreferenceCategory
category) {
34
public
UserPreferenceCategory
Category {
System.Drawing (2)
commonui\System\Drawing\Advanced\SystemColorTracker.cs (1)
135
if (e.Category ==
UserPreferenceCategory
.Color) {
commonui\System\Drawing\KnownColorTable.cs (1)
438
if (e.Category ==
UserPreferenceCategory
.Color && colorTable != null) {
System.Web.Mobile (2)
UI\MobileControls\Design\FormDesigner.cs (1)
175
if (e.Category ==
UserPreferenceCategory
.Color)
UI\MobileControls\Design\PanelDesigner.cs (1)
150
if (e.Category ==
UserPreferenceCategory
.Color)
System.Windows.Forms (22)
winforms\Managed\System\WinForms\Control.cs (1)
12765
if (pref.Category ==
UserPreferenceCategory
.Color) {
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
19582
if (e.Category ==
UserPreferenceCategory
.Color ||
19583
e.Category ==
UserPreferenceCategory
.Locale ||
19584
e.Category ==
UserPreferenceCategory
.General ||
19585
e.Category ==
UserPreferenceCategory
.Window ||
19586
e.Category ==
UserPreferenceCategory
.VisualStyle)
19589
if (e.Category ==
UserPreferenceCategory
.Window)
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1591
if (pref.Category ==
UserPreferenceCategory
.Locale) {
winforms\Managed\System\WinForms\DisplayInformation.cs (1)
139
if (e.Category ==
UserPreferenceCategory
.General) {
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2276
if (pref.Category ==
UserPreferenceCategory
.Locale) {
winforms\Managed\System\WinForms\ProfessionalColors.cs (1)
362
if (e.Category ==
UserPreferenceCategory
.Color) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
3844
if (e.Category ==
UserPreferenceCategory
.Color || e.Category ==
UserPreferenceCategory
.Accessibility) {
winforms\Managed\System\WinForms\Screen.cs (1)
470
if (e.Category ==
UserPreferenceCategory
.Desktop) {
winforms\Managed\System\WinForms\ToolStrip.cs (2)
3869
case
UserPreferenceCategory
.Window:
3872
case
UserPreferenceCategory
.General:
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
272
if (e.Category ==
UserPreferenceCategory
.Window) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
811
if (e.Category ==
UserPreferenceCategory
.Window) {
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
433
if (e.Category ==
UserPreferenceCategory
.Window)
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (1)
831
if (e.Category ==
UserPreferenceCategory
.Window)
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1189
if (pref.Category ==
UserPreferenceCategory
.Locale) {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
1036
if (ea.Category ==
UserPreferenceCategory
.VisualStyle) {
System.Workflow.ComponentModel (5)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
635
if (e.Category ==
UserPreferenceCategory
.Color || e.Category ==
UserPreferenceCategory
.VisualStyle)
AuthoringOM\Design\Themes.cs (3)
2185
OnOperatingSystemSettingsChanged(this, new UserPreferenceChangedEventArgs(
UserPreferenceCategory
.Color));
3166
if (e.Category ==
UserPreferenceCategory
.Color || e.Category ==
UserPreferenceCategory
.VisualStyle)