14 references to VisualStyleState
System.Windows.Forms (7)
System\Windows\Forms\Application.cs (4)
665
public static
VisualStyleState
VisualStyleState
671
return
VisualStyleState
.NoneEnabled;
674
VisualStyleState
vState = (
VisualStyleState
)PInvoke.GetThemeAppProperties();
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (1)
14
=> !ShowHelp && Application.VisualStyleState.HasFlag(VisualStyles.
VisualStyleState
.ClientAreaEnabled);
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (2)
39
((Application.VisualStyleState &
VisualStyleState
.ClientAreaEnabled) ==
VisualStyleState
.ClientAreaEnabled));
System.Windows.Forms.Tests (7)
System\Windows\Forms\ApplicationTests.cs (7)
113
VisualStyleState
state = Application.VisualStyleState;
119
[EnumData<
VisualStyleState
>]
120
[InvalidEnumData<
VisualStyleState
>]
121
public void Application_VisualStyleState_Set_ReturnsExpected(
VisualStyleState
valueParam)
127
VisualStyleState
value = Enum.Parse<
VisualStyleState
>(valueString);
128
VisualStyleState
state = Application.VisualStyleState;