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