5 writes to FlatStyle
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
152
set => base.
FlatStyle
= value;
System.Windows.Forms.Tests (3)
System\Windows\Forms\LabelTests.cs (3)
357
label.
FlatStyle
= style;
364
label.
FlatStyle
= style;
373
label.
FlatStyle
= FlatStyle.Flat;
WinFormsControlsTest (1)
MultipleControls.Designer.cs (1)
92
this.label1.
FlatStyle
= System.Windows.Forms.FlatStyle.System;
9 references to FlatStyle
System.Windows.Forms (5)
System\Windows\Forms\Controls\Labels\Label.cs (4)
1047
internal virtual bool UseGDIMeasuring() => (
FlatStyle
== FlatStyle.System || !UseCompatibleTextRendering);
1074
TextFormatFlags format =
FlatStyle
== FlatStyle.System ? TextFormatFlags.Default : CreateTextFormatFlags(proposedConstraints);
1106
if (UseCompatibleTextRendering &&
FlatStyle
!= FlatStyle.System)
1146
private bool IsOwnerDraw() =>
FlatStyle
!= FlatStyle.System;
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
151
get => base.
FlatStyle
;
System.Windows.Forms.Tests (4)
System\Windows\Forms\LabelTests.cs (4)
62
Assert.Equal(FlatStyle.Standard, control.
FlatStyle
);
361
Assert.Equal(style, label.
FlatStyle
);
368
Assert.Equal(style, label.
FlatStyle
);
376
Assert.Equal(FlatStyle.Flat, label.
FlatStyle
);