1 instantiation of OSFeature
System.Windows.Forms (1)
winforms\Managed\System\WinForms\OSFeature.cs (1)
56
feature = new
OSFeature
();
43 references to OSFeature
System.Windows.Forms (43)
winforms\Managed\System\WinForms\Application.cs (2)
143
if (useVisualStyles &&
OSFeature
.Feature.IsPresent(
OSFeature
.Themes)) {
winforms\Managed\System\WinForms\Form.cs (6)
528
OSFeature
.Feature.IsPresent(
OSFeature
.LayeredWindows)) {
2091
if (OpacityAsByte < 255 &&
OSFeature
.Feature.IsPresent(
OSFeature
.LayeredWindows))
6451
if ((formState[FormStateLayered] != 0) && IsHandleCreated && TopLevel &&
OSFeature
.Feature.IsPresent(
OSFeature
.LayeredWindows)) {
winforms\Managed\System\WinForms\OSFeature.cs (4)
33
private static
OSFeature
feature = null;
42
/// Initializes a new instance of the <see cref='System.Windows.Forms.
OSFeature
'/> class.
51
/// <para>Represents the <see langword='static'/> instance of <see cref='System.Windows.Forms.
OSFeature
'/> to use for feature queries. This property is read-only.</para>
53
public static
OSFeature
Feature {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5499
if (
OSFeature
.IsPresent(SystemParameter.DropShadow)) {
winforms\Managed\System\WinForms\SystemInformation.cs (16)
1192
if (
OSFeature
.Feature.OnXp) {
1210
if (
OSFeature
.Feature.OnXp) {
1241
if (
OSFeature
.Feature.OnXp) {
1260
if (
OSFeature
.Feature.OnXp) {
1465
if (
OSFeature
.Feature.OnXp ||
OSFeature
.Feature.OnWin2k) {
1569
if (
OSFeature
.Feature.OnXp ||
OSFeature
.Feature.OnWin2k) {
1587
if (
OSFeature
.Feature.OnXp ||
OSFeature
.Feature.OnWin2k) {
1606
if (
OSFeature
.Feature.OnXp ||
OSFeature
.Feature.OnWin2k) {
1696
if (
OSFeature
.Feature.OnXp ||
OSFeature
.Feature.OnWin2k) {
1730
if (
OSFeature
.Feature.OnXp) {
1748
if (
OSFeature
.Feature.OnXp) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (6)
158
OSFeature
.Feature.IsPresent(
OSFeature
.LayeredWindows)) {
769
if (OpacityAsByte < 255 &&
OSFeature
.Feature.IsPresent(
OSFeature
.LayeredWindows))
2019
if (state[stateLayered] && IsHandleCreated && TopLevel &&
OSFeature
.Feature.IsPresent(
OSFeature
.LayeredWindows)) {
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (6)
8157
if (Application.UseVisualStyles && contextCreationSucceeded &&
OSFeature
.Feature.IsPresent(
OSFeature
.Themes))
8177
if (userCookie != IntPtr.Zero &&
OSFeature
.Feature.IsPresent(
OSFeature
.Themes))
8200
if (!contextCreationSucceeded &&
OSFeature
.Feature.IsPresent(
OSFeature
.Themes))
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (2)
47
return (
OSFeature
.Feature.IsPresent(
OSFeature
.Themes));