141 references to SetStyle
System.Web.Mobile (1)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
27SetStyle(ControlStyles.UserPaint, true);
System.Windows.Forms (129)
winforms\Managed\System\WinForms\AxHost.cs (1)
341SetStyle(ControlStyles.UserPaint, false);
winforms\Managed\System\WinForms\Button.cs (1)
64SetStyle(ControlStyles.StandardClick |
winforms\Managed\System\WinForms\ButtonBase.cs (3)
74SetStyle( ControlStyles.SupportsTransparentBackColor | 84SetStyle(ControlStyles.UserMouse | 1191SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint, OwnerDraw);
winforms\Managed\System\WinForms\CheckBox.cs (1)
79SetStyle(ControlStyles.StandardClick |
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
123SetStyle(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\ComboBox.cs (1)
166SetStyle(ControlStyles.UserPaint |
winforms\Managed\System\WinForms\ContainerControl.cs (1)
63SetStyle(ControlStyles.AllPaintingInWmPaint, false);
winforms\Managed\System\WinForms\Control.cs (5)
503SetStyle(ControlStyles.AllPaintingInWmPaint | 1207SetStyle(ControlStyles.ResizeRedraw, true); 2401SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, value); 2404SetStyle(ControlStyles.OptimizedDoubleBuffer, value); 3709SetStyle( ControlStyles.ResizeRedraw, value );
winforms\Managed\System\WinForms\DataGrid.cs (4)
330SetStyle(ControlStyles.UserPaint, true); 331SetStyle(ControlStyles.Opaque, false); 332SetStyle(ControlStyles.SupportsTransparentBackColor, false); 333SetStyle(ControlStyles.UserMouse, true);
winforms\Managed\System\WinForms\DataGridView.cs (2)
427SetStyle(ControlStyles.UserPaint | 431SetStyle(ControlStyles.SupportsTransparentBackColor, false);
winforms\Managed\System\WinForms\DateTimePicker.cs (3)
135SetStyle(ControlStyles.FixedHeight, true); 141SetStyle(ControlStyles.UserPaint | 149SetStyle(ControlStyles.UseTextForAccessibility, false);
winforms\Managed\System\WinForms\GroupBox.cs (5)
56SetStyle(ControlStyles.ContainerControl, true); 57SetStyle(ControlStyles.SupportsTransparentBackColor | 61SetStyle(ControlStyles.Selectable, false); 250SetStyle(ControlStyles.ContainerControl, true); 252SetStyle(ControlStyles.SupportsTransparentBackColor |
winforms\Managed\System\WinForms\Label.cs (4)
102SetStyle(ControlStyles.UserPaint | 106SetStyle(ControlStyles.FixedHeight | 109SetStyle(ControlStyles.ResizeRedraw, true); 425SetStyle(ControlStyles.UserPaint
winforms\Managed\System\WinForms\LinkLabel.cs (2)
86SetStyle(ControlStyles.AllPaintingInWmPaint 1882SetStyle(ControlStyles.Selectable, selectable);
winforms\Managed\System\WinForms\ListBox.cs (1)
156SetStyle(ControlStyles.UserPaint |
winforms\Managed\System\WinForms\ListView.cs (3)
244SetStyle(ControlStyles.UserPaint, false); 245SetStyle(ControlStyles.StandardClick, false); 246SetStyle(ControlStyles.UseTextForAccessibility, false);
winforms\Managed\System\WinForms\MDIClient.cs (1)
51SetStyle(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
184SetStyle(ControlStyles.UserPaint, false); 185SetStyle(ControlStyles.StandardClick, false);
winforms\Managed\System\WinForms\Panel.cs (2)
50SetStyle(ControlStyles.Selectable | 52SetStyle(ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\PictureBox.cs (4)
127SetStyle(ControlStyles.Opaque |ControlStyles.Selectable , false); 128SetStyle(ControlStyles.OptimizedDoubleBuffer|ControlStyles.SupportsTransparentBackColor, true); 974SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true); 978SetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth, false);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
73SetStyle(ControlStyles.ResizeRedraw, false); 74SetStyle(ControlStyles.Opaque | ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\ProgressBar.cs (1)
74SetStyle(ControlStyles.UserPaint |
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5030SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
63SetStyle(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
26SetStyle(ControlStyles.Selectable, true);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
38SetStyle(ControlStyles.UserPaint, false);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
198SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 199SetStyle(ControlStyles.ResizeRedraw, false); 200SetStyle(ControlStyles.UserMouse, true);
winforms\Managed\System\WinForms\RadioButton.cs (1)
78SetStyle(ControlStyles.StandardClick, false);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3733SetStyle(ControlStyles.UserMouse, true); 3735SetStyle(ControlStyles.UserMouse, oldStyle);
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
112SetStyle(ControlStyles.ContainerControl, true); 113SetStyle(ControlStyles.AllPaintingInWmPaint, false);
winforms\Managed\System\WinForms\ScrollBar.cs (3)
60SetStyle(ControlStyles.UserPaint, false); 61SetStyle(ControlStyles.StandardClick, false); 62SetStyle(ControlStyles.UseTextForAccessibility, false);
winforms\Managed\System\WinForms\SplitContainer.cs (2)
157SetStyle(ControlStyles.SupportsTransparentBackColor, true); 158SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\Splitter.cs (1)
67SetStyle(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
45SetStyle(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\StatusBar.cs (1)
66base.SetStyle(ControlStyles.UserPaint | ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\StatusStrip.cs (2)
50SetStyle(ControlStyles.ResizeRedraw, true); 604SetStyle(ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\TabControl.cs (1)
122SetStyle(ControlStyles.UserPaint, false);
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
104SetStyle(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\TabPage.cs (1)
53SetStyle (ControlStyles.CacheText, true);
winforms\Managed\System\WinForms\TextBoxBase.cs (5)
120SetStyle(ControlStyles.FixedHeight, textBoxFlags[autoSize]); 121SetStyle(ControlStyles.StandardClick 272SetStyle(ControlStyles.FixedHeight, value); 851SetStyle(ControlStyles.FixedHeight, false); 855SetStyle(ControlStyles.FixedHeight, AutoSize);
winforms\Managed\System\WinForms\ToolBar.cs (11)
140SetStyle(ControlStyles.UserPaint, false); 141SetStyle(ControlStyles.FixedHeight, AutoSize); 142SetStyle(ControlStyles.FixedWidth, false); 205SetStyle(ControlStyles.FixedWidth, AutoSize); 206SetStyle(ControlStyles.FixedHeight, false); 209SetStyle(ControlStyles.FixedHeight, AutoSize); 210SetStyle(ControlStyles.FixedWidth, false); 531SetStyle(ControlStyles.FixedWidth, AutoSize); 532SetStyle(ControlStyles.FixedHeight, false); 535SetStyle(ControlStyles.FixedHeight, AutoSize); 536SetStyle(ControlStyles.FixedWidth, false);
winforms\Managed\System\WinForms\ToolStrip.cs (3)
205SetStyle(ControlStyles.OptimizedDoubleBuffer | 209SetStyle(ControlStyles.Selectable, false); 3882SetStyle(ControlStyles.Selectable, TabStop);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
608SetStyle(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
36SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (2)
38SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true); 386SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1160SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, false); 1314SetStyle(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\ToolStripPanel.cs (6)
93SetStyle(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer | /*ControlStyles.AllPaintingInWmPaint |*/ControlStyles.SupportsTransparentBackColor, true); 94SetStyle(ControlStyles.Selectable, false); 384SetStyle(ControlStyles.Selectable, value); 823SetStyle(ControlStyles.AllPaintingInWmPaint, false); 824SetStyle(ControlStyles.OptimizedDoubleBuffer, true); 825SetStyle(ControlStyles.CacheText, true);
winforms\Managed\System\WinForms\TrackBar.cs (10)
76SetStyle(ControlStyles.UserPaint, false); 77SetStyle(ControlStyles.UseTextForAccessibility, false); 109SetStyle(ControlStyles.FixedHeight, autoSize); 110SetStyle(ControlStyles.FixedWidth, false); 113SetStyle(ControlStyles.FixedWidth, autoSize); 114SetStyle(ControlStyles.FixedHeight, false); 449SetStyle(ControlStyles.FixedHeight, autoSize); 450SetStyle(ControlStyles.FixedWidth, false); 454SetStyle(ControlStyles.FixedHeight, false); 455SetStyle(ControlStyles.FixedWidth, autoSize);
winforms\Managed\System\WinForms\TreeView.cs (4)
188SetStyle(ControlStyles.UserPaint, false); 189SetStyle(ControlStyles.StandardClick, false); 190SetStyle(ControlStyles.UseTextForAccessibility, false); 932SetStyle(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\UpDownBase.cs (7)
107SetStyle(ControlStyles.Opaque | ControlStyles.FixedHeight | ControlStyles.ResizeRedraw, true); 108SetStyle(ControlStyles.StandardClick, false); 109SetStyle(ControlStyles.UseTextForAccessibility, false); 1266SetStyle(ControlStyles.FixedHeight | 1269SetStyle(ControlStyles.Selectable, false); 1435SetStyle(ControlStyles.Opaque | ControlStyles.FixedHeight | 1438SetStyle(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\UserControl.cs (1)
52 SetStyle(ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
112this.SetStyle(ControlStyles.UserPaint, false);
System.Windows.Forms.DataVisualization (7)
WinForm\ChartWinControl.cs (7)
207 this.SetStyle(ControlStyles.ResizeRedraw, true); 209 this.SetStyle(ControlStyles.UserPaint, true); 210 this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); 211 this.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 212 this.SetStyle(ControlStyles.Selectable, true); 215 this.SetStyle(ControlStyles.DoubleBuffer, true); 220 this.SetStyle(ControlStyles.UserMouse, true);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerWidgets.cs (3)
1083SetStyle(ControlStyles.OptimizedDoubleBuffer | 1399SetStyle(ControlStyles.OptimizedDoubleBuffer | 1714SetStyle(ControlStyles.OptimizedDoubleBuffer |
AuthoringOM\Design\WorkflowView.cs (1)
160SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.Opaque | ControlStyles.AllPaintingInWmPaint | ControlStyles.Selectable | ControlStyles.EnableNotifyMessage, true);