187 references to SetStyle
System.Windows.Forms (133)
System\Windows\Forms\ActiveX\AxHost.cs (1)
241SetStyle(ControlStyles.UserPaint, false);
System\Windows\Forms\Control.cs (5)
322SetStyle( 884SetStyle(ControlStyles.ResizeRedraw, true); 1731SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, value); 1735SetStyle(ControlStyles.OptimizedDoubleBuffer, value); 2830set => SetStyle(ControlStyles.ResizeRedraw, value);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
39SetStyle(ControlStyles.StandardClick | ControlStyles.StandardDoubleClick, false);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (4)
66SetStyle( 79SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint, OwnerDraw); 82SetStyle(ControlStyles.ApplyThemingImplicitly, true); 1242SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint, OwnerDraw);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
45SetStyle(ControlStyles.StandardClick | ControlStyles.StandardDoubleClick, false);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
46SetStyle(ControlStyles.StandardClick, false);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
118SetStyle(ControlStyles.UserPaint |
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
384SetStyle(ControlStyles.UserPaint | 388SetStyle(ControlStyles.SupportsTransparentBackColor, false); 391SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
115SetStyle(ControlStyles.FixedHeight, true); 119SetStyle(ControlStyles.UserPaint | ControlStyles.StandardClick, false); 123SetStyle(ControlStyles.UseTextForAccessibility, false);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (5)
33SetStyle(ControlStyles.ContainerControl, true); 34SetStyle(ControlStyles.SupportsTransparentBackColor | ControlStyles.UserPaint | 37SetStyle(ControlStyles.Selectable, false); 197SetStyle(ControlStyles.ContainerControl, true); 199SetStyle(ControlStyles.SupportsTransparentBackColor |
System\Windows\Forms\Controls\Labels\FocusableLabel.cs (1)
14SetStyle(ControlStyles.Selectable, true);
System\Windows\Forms\Controls\Labels\Label.cs (5)
68SetStyle(ControlStyles.UserPaint | 72SetStyle(ControlStyles.FixedHeight | 75SetStyle(ControlStyles.ResizeRedraw, true); 78SetStyle(ControlStyles.ApplyThemingImplicitly, true); 340SetStyle(ControlStyles.UserPaint
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
55SetStyle(ControlStyles.AllPaintingInWmPaint 1718SetStyle(ControlStyles.Selectable, selectable);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
67SetStyle(ControlStyles.ResizeRedraw, true);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
121SetStyle(ControlStyles.UserPaint | ControlStyles.StandardClick | ControlStyles.UseTextForAccessibility, false); 124SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\ListView\ListView.cs (3)
225SetStyle(ControlStyles.UserPaint, false); 226SetStyle(ControlStyles.StandardClick, false); 227SetStyle(ControlStyles.UseTextForAccessibility, false);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
138SetStyle(ControlStyles.UserPaint, false); 139SetStyle(ControlStyles.StandardClick, false); 141SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (5)
111SetStyle(ControlStyles.Opaque | ControlStyles.Selectable, false); 112SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor, true); 115SetStyle(ControlStyles.ApplyThemingImplicitly, true); 836SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true); 842SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, false);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
40SetStyle(ControlStyles.UserPaint | ControlStyles.UseTextForAccessibility | ControlStyles.Selectable, false); 42SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (1)
21SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
16SetStyle(ControlStyles.Selectable, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
16SetStyle(ControlStyles.UserPaint, false);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
57SetStyle(ControlStyles.Selectable, false);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
134SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 135SetStyle(ControlStyles.ResizeRedraw, false); 136SetStyle(ControlStyles.UserMouse, true);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
3512SetStyle(ControlStyles.UserMouse, true); 3514SetStyle(ControlStyles.UserMouse, oldStyle);
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
49SetStyle(ControlStyles.Selectable, false); 51SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
85SetStyle(ControlStyles.UserPaint, false); 87SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
37SetStyle(ControlStyles.CacheText, true); 39SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (6)
95SetStyle(ControlStyles.FixedHeight, _textBoxFlags[s_autoSize]); 96SetStyle(ControlStyles.StandardClick 102SetStyle(ControlStyles.ApplyThemingImplicitly, true); 267SetStyle(ControlStyles.FixedHeight, value); 733SetStyle(ControlStyles.FixedHeight, false); 738SetStyle(ControlStyles.FixedHeight, AutoSize);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
38SetStyle(ControlStyles.ResizeRedraw, true); 614SetStyle(ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
130SetStyle( 134SetStyle(ControlStyles.Selectable, false); 3712SetStyle(ControlStyles.Selectable, TabStop);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
13SetStyle(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
21SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (2)
27SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true); 335SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
955SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, false); 1093SetStyle(ControlStyles.ResizeRedraw, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (3)
51SetStyle(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer | /*ControlStyles.AllPaintingInWmPaint |*/ControlStyles.SupportsTransparentBackColor, true); 52SetStyle(ControlStyles.Selectable, false); 323SetStyle(ControlStyles.Selectable, value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (3)
20SetStyle(ControlStyles.AllPaintingInWmPaint, false); 21SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 22SetStyle(ControlStyles.CacheText, true);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (11)
55SetStyle(ControlStyles.UserPaint, false); 56SetStyle(ControlStyles.UseTextForAccessibility, false); 59SetStyle(ControlStyles.ApplyThemingImplicitly, true); 90SetStyle(ControlStyles.FixedHeight, _autoSize); 91SetStyle(ControlStyles.FixedWidth, false); 95SetStyle(ControlStyles.FixedWidth, _autoSize); 96SetStyle(ControlStyles.FixedHeight, false); 380SetStyle(ControlStyles.FixedHeight, _autoSize); 381SetStyle(ControlStyles.FixedWidth, false); 386SetStyle(ControlStyles.FixedHeight, false); 387SetStyle(ControlStyles.FixedWidth, _autoSize);
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
170SetStyle(ControlStyles.UserPaint, false); 171SetStyle(ControlStyles.StandardClick, false); 172SetStyle(ControlStyles.UseTextForAccessibility, false); 174SetStyle(ControlStyles.ApplyThemingImplicitly, true); 918SetStyle(ControlStyles.ResizeRedraw, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (4)
67SetStyle(ControlStyles.Opaque | ControlStyles.FixedHeight | ControlStyles.ResizeRedraw, true); 68SetStyle(ControlStyles.StandardClick, false); 69SetStyle(ControlStyles.UseTextForAccessibility, false); 72SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (3)
35SetStyle(ControlStyles.Opaque | ControlStyles.FixedHeight | ControlStyles.FixedWidth, true); 36SetStyle(ControlStyles.Selectable, false); 39SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (1)
17SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
77SetStyle(ControlStyles.UserPaint, false);
System\Windows\Forms\Form.cs (1)
210SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
91SetStyle(ControlStyles.AllPaintingInWmPaint, false);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
102SetStyle(ControlStyles.SupportsTransparentBackColor, true); 103SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
System\Windows\Forms\MDI\MDIClient.cs (2)
31SetStyle(ControlStyles.Selectable, false); 34SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Panels\Panel.cs (3)
31SetStyle(ControlStyles.Selectable | ControlStyles.AllPaintingInWmPaint, false); 32SetStyle(ControlStyles.SupportsTransparentBackColor, true); 35SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Panels\SplitterPanel.cs (1)
17SetStyle(ControlStyles.ResizeRedraw, true);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
87SetStyle(ControlStyles.ResizeRedraw, true);
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
61SetStyle(ControlStyles.ResizeRedraw, false); 62SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.OptimizedDoubleBuffer, true);
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
60SetStyle(ControlStyles.ContainerControl, true); 61SetStyle(ControlStyles.AllPaintingInWmPaint, false); 65SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\Scrolling\ScrollBar.cs (4)
34SetStyle(ControlStyles.UserPaint, false); 35SetStyle(ControlStyles.StandardClick, false); 36SetStyle(ControlStyles.UseTextForAccessibility, false); 39SetStyle(ControlStyles.ApplyThemingImplicitly, true);
System\Windows\Forms\UserControl.cs (1)
34SetStyle(ControlStyles.SupportsTransparentBackColor, true);
System.Windows.Forms.Design (18)
System\ComponentModel\Design\ByteViewer.cs (1)
75SetStyle(ControlStyles.ResizeRedraw, true);
System\ComponentModel\Design\DesignerActionPanel.cs (5)
50SetStyle(ControlStyles.AllPaintingInWmPaint, true); 51SetStyle(ControlStyles.Opaque, true); 52SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 53SetStyle(ControlStyles.ResizeRedraw, true); 54SetStyle(ControlStyles.UserPaint, true);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
324SetStyle(ControlStyles.Selectable, true);
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
68SetStyle(ControlStyles.Opaque, true);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
195SetStyle(ControlStyles.Selectable, false);
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
31SetStyle(ControlStyles.Opaque, true);
System\Windows\Forms\Design\ComponentTray.cs (3)
83SetStyle(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer, true); 1922SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 1923SetStyle(ControlStyles.Selectable, false);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
348SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true);
System\Windows\Forms\Design\SelectionUIService.cs (1)
62SetStyle(ControlStyles.StandardClick | ControlStyles.Opaque | ControlStyles.OptimizedDoubleBuffer, true);
System\Windows\Forms\Design\TabOrder.cs (1)
68SetStyle(ControlStyles.Opaque, true);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
174SetStyle(ControlStyles.Opaque, true);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1638SetStyle(ControlStyles.Selectable, true);
System.Windows.Forms.Tests (33)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
1742public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ButtonBaseTests.cs (1)
9375public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ButtonTests.cs (1)
3771public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ComboBoxTests.cs (1)
2936public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ContainerControlTests.cs (1)
1396public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ControlTests.cs (1)
1430public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ControlTests.Methods.cs (3)
2241public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value); 10187public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value); 14198public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
2180public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\GroupBoxTests.cs (1)
2387public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ListViewTests.cs (1)
6161public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\MenuStripTests.cs (1)
946public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\MonthCalendarTests.cs (1)
4820public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\PanelTests.cs (1)
1234public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\PictureBoxTests.cs (1)
2928public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ProgressBarTests.cs (1)
2674public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\RadioButtonTests.cs (1)
1619public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\RichTextBoxTests.cs (1)
11000public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ScrollableControlTests.cs (1)
2662public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ScrollBarTests.cs (1)
3246public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\TabControlTests.cs (1)
5819public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
2259public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\TabPageTests.cs (1)
5311public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
2096public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
5238public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\ToolStripTests.cs (1)
7690public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
System\Windows\Forms\UserControlTests.cs (2)
1780public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value); 1877public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
TextBoxBaseTests.cs (1)
7783public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
TextBoxTests.cs (1)
761set => SetStyle(ControlStyles.UserPaint, value);
TrackBarTests.cs (1)
3370public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
WebBrowserBaseTests.cs (1)
952public new void SetStyle(ControlStyles flag, bool value) => base.SetStyle(flag, value);
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (3)
71SetStyle(SWF.ControlStyles.SupportsTransparentBackColor, true); 72SetStyle(SWF.ControlStyles.UserPaint, true); 73SetStyle(SWF.ControlStyles.AllPaintingInWmPaint, true);