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)
359label.FlatStyle = style; 366label.FlatStyle = style; 375label.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)
1045internal virtual bool UseGDIMeasuring() => (FlatStyle == FlatStyle.System || !UseCompatibleTextRendering); 1072TextFormatFlags format = FlatStyle == FlatStyle.System ? TextFormatFlags.Default : CreateTextFormatFlags(proposedConstraints); 1104if (UseCompatibleTextRendering && FlatStyle != FlatStyle.System) 1144private 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)
64Assert.Equal(FlatStyle.Standard, control.FlatStyle); 363Assert.Equal(style, label.FlatStyle); 370Assert.Equal(style, label.FlatStyle); 378Assert.Equal(FlatStyle.Flat, label.FlatStyle);