85 references to Appearance
System.Windows.Forms (36)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (3)
24
if (Appearance ==
Appearance
.Button)
41
private
Appearance
Appearance
56
return
Appearance
.Normal;
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxFlatAdapter.cs (3)
14
if (Control.Appearance ==
Appearance
.Button)
33
if (Control.Appearance ==
Appearance
.Button)
52
if (Control.Appearance ==
Appearance
.Button)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (3)
17
if (Control.Appearance ==
Appearance
.Button)
52
if (Control.Appearance ==
Appearance
.Button)
95
if (Control.Appearance ==
Appearance
.Button)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (4)
17
if (Control.Appearance ==
Appearance
.Button)
66
if (Control.Appearance ==
Appearance
.Button)
78
if (Control.Appearance ==
Appearance
.Button)
90
if (Control.Appearance ==
Appearance
.Button)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (3)
14
if (Control.Appearance ==
Appearance
.Button)
34
if (Control.Appearance ==
Appearance
.Button)
54
if (Control.Appearance ==
Appearance
.Button)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (3)
12
if (Control.Appearance ==
Appearance
.Button)
41
if (Control.Appearance ==
Appearance
.Button)
66
if (Control.Appearance ==
Appearance
.Button)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (3)
12
if (Control.Appearance ==
Appearance
.Button)
31
if (Control.Appearance ==
Appearance
.Button)
43
if (Control.Appearance ==
Appearance
.Button)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (7)
30
private
Appearance
_appearance;
57
[DefaultValue(
Appearance
.Normal)]
61
public
Appearance
Appearance
234
if (Appearance ==
Appearance
.Button)
272
if (Appearance ==
Appearance
.Button)
296
if (Appearance ==
Appearance
.Button)
317
if (Appearance ==
Appearance
.Button || FlatStyle == FlatStyle.System)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (7)
34
private
Appearance
_appearance =
Appearance
.Normal;
76
[DefaultValue(
Appearance
.Normal)]
80
public
Appearance
Appearance
202
if (Appearance ==
Appearance
.Button)
270
if (Appearance ==
Appearance
.Button)
287
Appearance ==
Appearance
.Button || FlatStyle == FlatStyle.System
System.Windows.Forms.Design (18)
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (9)
117
_topLeft.Appearance =
Appearance
.Button;
123
_topCenter.Appearance =
Appearance
.Button;
129
_topRight.Appearance =
Appearance
.Button;
135
_middleLeft.Appearance =
Appearance
.Button;
141
_middleCenter.Appearance =
Appearance
.Button;
147
_middleRight.Appearance =
Appearance
.Button;
153
_bottomLeft.Appearance =
Appearance
.Button;
159
_bottomCenter.Appearance =
Appearance
.Button;
165
_bottomRight.Appearance =
Appearance
.Button;
System\Windows\Forms\Design\ButtonBaseDesigner.cs (3)
71
Appearance
appearance =
Appearance
.Normal;
78
if (appearance ==
Appearance
.Normal)
System\Windows\Forms\Design\DockEditor.DockUI.cs (6)
49
Appearance =
Appearance
.Button,
61
Appearance =
Appearance
.Button,
72
Appearance =
Appearance
.Button,
83
Appearance =
Appearance
.Button,
94
Appearance =
Appearance
.Button,
105
Appearance =
Appearance
.Button,
System.Windows.Forms.Tests (29)
System\Windows\Forms\AbstractButtonBaseTests.cs (3)
48
protected virtual void ButtonBase_OverChangeRectangle_Get(
Appearance
appearance, FlatStyle flatStyle)
63
if (appearance ==
Appearance
.Normal
83
if (control.Appearance ==
Appearance
.Button)
System\Windows\Forms\CheckBoxTests.cs (16)
25
Assert.Equal(
Appearance
.Normal, control.Appearance);
147
[EnumData<
Appearance
>]
148
public void CheckBox_Appearance_Set_GetReturnsExpected(
Appearance
value)
164
[InvalidEnumData<
Appearance
>]
165
public void CheckBox_Appearance_SetInvalidValue_ThrowsInvalidEnumArgumentException(
Appearance
value)
776
yield return new object[] {
Appearance
.Button, FlatStyle.Standard };
777
yield return new object[] {
Appearance
.Button, FlatStyle.Flat };
778
yield return new object[] {
Appearance
.Button, FlatStyle.Popup };
779
yield return new object[] {
Appearance
.Button, FlatStyle.System };
780
yield return new object[] {
Appearance
.Normal, FlatStyle.Standard };
781
yield return new object[] {
Appearance
.Normal, FlatStyle.Flat };
782
yield return new object[] {
Appearance
.Normal, FlatStyle.Popup };
783
yield return new object[] {
Appearance
.Normal, FlatStyle.System };
788
public void CheckBox_OverChangeRectangle_Get(
Appearance
appearance, FlatStyle flatStyle) => base.ButtonBase_OverChangeRectangle_Get(appearance, flatStyle);
792
public void CheckBox_DownChangeRectangle_ReturnsExpectedRectangle(
Appearance
appearance, FlatStyle flatStyle)
800
if (appearance ==
Appearance
.Button || flatStyle == FlatStyle.System)
System\Windows\Forms\RadioButtonTests.cs (10)
25
Assert.Equal(
Appearance
.Normal, control.Appearance);
1656
[InlineData(
Appearance
.Button, FlatStyle.Standard)]
1657
[InlineData(
Appearance
.Button, FlatStyle.Flat)]
1658
[InlineData(
Appearance
.Button, FlatStyle.Popup)]
1659
[InlineData(
Appearance
.Button, FlatStyle.System)]
1660
[InlineData(
Appearance
.Normal, FlatStyle.Standard)]
1661
[InlineData(
Appearance
.Normal, FlatStyle.Flat)]
1662
[InlineData(
Appearance
.Normal, FlatStyle.Popup)]
1663
[InlineData(
Appearance
.Normal, FlatStyle.System)]
1664
public void RadioButton_OverChangeRectangle_Get(
Appearance
appearance, FlatStyle flatStyle) => base.ButtonBase_OverChangeRectangle_Get(appearance, flatStyle);
WinFormsControlsTest (2)
CustomComCtl32Button.cs (2)
27
Appearance =
Appearance
.Button,
36
Appearance =
Appearance
.Button,