196 writes to Style
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
59cp.Style = cp.Style Or WS_THICKFRAME
System.Windows.Forms (191)
System\Windows\Forms\ActiveX\AxHost.cs (1)
212cp.Style &= ~(int)WINDOW_STYLE.WS_VISIBLE;
System\Windows\Forms\Control.cs (7)
1576cp.Style = 0; 1586cp.Style = (int)WINDOW_STYLE.WS_CLIPCHILDREN; 1599cp.Style |= (int)(WINDOW_STYLE.WS_CHILD | WINDOW_STYLE.WS_CLIPSIBLINGS); 1608cp.Style |= (int)WINDOW_STYLE.WS_TABSTOP; 1613cp.Style |= (int)WINDOW_STYLE.WS_VISIBLE; 1620cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 11819cp.Style |= (int)WINDOW_STYLE.WS_VISIBLE;
System\Windows\Forms\Controls\Buttons\Button.cs (3)
119cp.Style |= PInvoke.BS_OWNERDRAW; 123cp.Style |= PInvoke.BS_PUSHBUTTON; 127cp.Style |= PInvoke.BS_DEFPUSHBUTTON;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (8)
276cp.Style |= PInvoke.BS_MULTILINE; 280cp.Style |= PInvoke.BS_DEFPUSHBUTTON; 287cp.Style |= PInvoke.BS_LEFT; 291cp.Style |= PInvoke.BS_RIGHT; 295cp.Style |= PInvoke.BS_CENTER; 300cp.Style |= PInvoke.BS_TOP; 304cp.Style |= PInvoke.BS_BOTTOM; 308cp.Style |= PInvoke.BS_VCENTER;
System\Windows\Forms\Controls\Buttons\CheckBox.cs (4)
300cp.Style |= PInvoke.BS_OWNERDRAW; 304cp.Style |= PInvoke.BS_3STATE; 307cp.Style |= PInvoke.BS_PUSHLIKE; 314cp.Style |= PInvoke.BS_RIGHTBUTTON;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
235cp.Style |= PInvoke.BS_OWNERDRAW; 239cp.Style |= PInvoke.BS_RADIOBUTTON; 242cp.Style |= PInvoke.BS_PUSHLIKE; 249cp.Style |= PInvoke.BS_RIGHTBUTTON;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (7)
355cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.CBS_HASSTRINGS | PInvoke.CBS_AUTOHSCROLL; 360cp.Style |= PInvoke.CBS_NOINTEGRALHEIGHT; 366cp.Style |= PInvoke.CBS_SIMPLE; 370cp.Style |= PInvoke.CBS_DROPDOWN; 376cp.Style |= PInvoke.CBS_DROPDOWNLIST; 385cp.Style |= PInvoke.CBS_OWNERDRAWFIXED; 389cp.Style |= PInvoke.CBS_OWNERDRAWVARIABLE;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
393cp.Style |= (int)_style; 398cp.Style |= (int)PInvoke.DTS_LONGDATEFORMAT; 403cp.Style |= (int)TIMEFORMAT_NOUPDOWN;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
119cp.Style |= PInvoke.BS_GROUPBOX; 125cp.Style &= ~PInvoke.BS_GROUPBOX;
System\Windows\Forms\Controls\Labels\Label.cs (8)
256cp.Style |= (int)STATIC_STYLES.SS_OWNERDRAW; 270cp.Style |= (int)STATIC_STYLES.SS_LEFT; 275cp.Style |= (int)STATIC_STYLES.SS_RIGHT; 280cp.Style |= (int)STATIC_STYLES.SS_CENTER; 286cp.Style |= (int)STATIC_STYLES.SS_LEFT; 292cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 295cp.Style |= (int)STATIC_STYLES.SS_SUNKEN; 301cp.Style |= (int)STATIC_STYLES.SS_NOPREFIX;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
100cp.Style |= PInvoke.LBS_OWNERDRAWFIXED | PInvoke.LBS_WANTKEYBOARDINPUT;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (12)
272cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.LBS_NOTIFY | PInvoke.LBS_HASSTRINGS; 275cp.Style |= PInvoke.LBS_DISABLENOSCROLL; 280cp.Style |= PInvoke.LBS_NOINTEGRALHEIGHT; 285cp.Style |= PInvoke.LBS_USETABSTOPS; 294cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 300cp.Style |= PInvoke.LBS_MULTICOLUMN | (int)WINDOW_STYLE.WS_HSCROLL; 304cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 310cp.Style |= PInvoke.LBS_NOSEL; 313cp.Style |= PInvoke.LBS_MULTIPLESEL; 316cp.Style |= PInvoke.LBS_EXTENDEDSEL; 327cp.Style |= PInvoke.LBS_OWNERDRAWFIXED; 330cp.Style |= PInvoke.LBS_OWNERDRAWVARIABLE;
System\Windows\Forms\Controls\ListView\ListView.cs (16)
640cp.Style |= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL); 643cp.Style |= (int)PInvoke.LVS_SHAREIMAGELISTS; 648cp.Style |= (int)PInvoke.LVS_ALIGNTOP; 651cp.Style |= (int)PInvoke.LVS_ALIGNLEFT; 657cp.Style |= (int)PInvoke.LVS_AUTOARRANGE; 666cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 673cp.Style |= (int)PInvoke.LVS_NOCOLUMNHEADER; 676cp.Style |= (int)PInvoke.LVS_NOSORTHEADER; 682cp.Style |= (int)PInvoke.LVS_EDITLABELS; 687cp.Style |= (int)PInvoke.LVS_NOLABELWRAP; 692cp.Style |= (int)PInvoke.LVS_SHOWSELALWAYS; 697cp.Style |= (int)PInvoke.LVS_SINGLESEL; 705cp.Style |= (int)PInvoke.LVS_SORTASCENDING; 708cp.Style |= (int)PInvoke.LVS_SORTDESCENDING; 715cp.Style |= (int)PInvoke.LVS_OWNERDATA; 723cp.Style |= (int)_viewStyle;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (4)
289cp.Style |= (int)PInvoke.MCS_MULTISELECT | (int)PInvoke.MCS_DAYSTATE; 292cp.Style |= (int)PInvoke.MCS_NOTODAY; 297cp.Style |= (int)PInvoke.MCS_NOTODAYCIRCLE; 302cp.Style |= (int)PInvoke.MCS_WEEKNUMBERS;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
206cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
54cp.Style |= (int)PInvoke.PBS_SMOOTH; 58cp.Style |= (int)PInvoke.PBS_MARQUEE;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
89Style = (int)(PInvoke.TTS_ALWAYSTIP | PInvoke.TTS_NOPREFIX),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
72cp.Style |= unchecked((int)(WINDOW_STYLE.WS_POPUP | WINDOW_STYLE.WS_BORDER));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
27cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (5)
293cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 296cp.Style |= (int)PInvoke.ES_DISABLENOSCROLL; 302cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL; 305cp.Style |= (int)PInvoke.ES_DISABLENOSCROLL; 316cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
209cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 218cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\TabControl\TabControl.cs (12)
283cp.Style |= (int)PInvoke.TCS_MULTILINE; 288cp.Style |= (int)PInvoke.TCS_OWNERDRAWFIXED; 293cp.Style |= (int)PInvoke.TCS_TOOLTIPS; 299cp.Style |= (int)PInvoke.TCS_BOTTOM; 305cp.Style |= (int)PInvoke.TCS_VERTICAL | (int)PInvoke.TCS_MULTILINE; 310cp.Style |= (int)PInvoke.TCS_HOTTRACK; 315cp.Style |= (int)PInvoke.TCS_TABS; 319cp.Style |= (int)PInvoke.TCS_BUTTONS; 322cp.Style |= (int)PInvoke.TCS_FLATBUTTONS; 329cp.Style |= (int)PInvoke.TCS_RAGGEDRIGHT; 332cp.Style |= (int)PInvoke.TCS_RIGHTJUSTIFY; 335cp.Style |= (int)PInvoke.TCS_FIXEDWIDTH;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
317cp.Style |= PInvoke.ES_LEFT; 320cp.Style |= PInvoke.ES_CENTER; 323cp.Style |= PInvoke.ES_RIGHT;
System\Windows\Forms\Controls\TextBox\TextBox.cs (8)
270cp.Style |= PInvoke.ES_LOWERCASE; 273cp.Style |= PInvoke.ES_UPPERCASE; 286cp.Style |= PInvoke.ES_LEFT; 289cp.Style |= PInvoke.ES_CENTER; 292cp.Style |= PInvoke.ES_RIGHT; 303cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 308cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL; 314cp.Style |= PInvoke.ES_PASSWORD;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (8)
434cp.Style |= PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL; 438cp.Style |= PInvoke.ES_NOHIDESEL; 443cp.Style |= PInvoke.ES_READONLY; 446cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 456cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 462cp.Style |= PInvoke.ES_MULTILINE; 466cp.Style &= ~PInvoke.ES_AUTOHSCROLL; 476cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
220cp.Style &= ~(int)(WINDOW_STYLE.WS_CAPTION | WINDOW_STYLE.WS_CLIPSIBLINGS); 223cp.Style |= TopLevel ? unchecked((int)WINDOW_STYLE.WS_POPUP) : (int)WINDOW_STYLE.WS_CHILD; 246cp.Style |= (int)WINDOW_STYLE.WS_CLIPSIBLINGS;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (6)
157cp.Style |= (int)PInvoke.TBS_NOTICKS; 160cp.Style |= (int)(PInvoke.TBS_TOP); 164cp.Style |= (int)(PInvoke.TBS_BOTTOM); 168cp.Style |= (int)(PInvoke.TBS_BOTH); 175cp.Style |= (int)PInvoke.TBS_VERT; 192cp.Style |= (int)PInvoke.TBS_AUTOTICKS;
System\Windows\Forms\Controls\TreeView\TreeView.cs (14)
347cp.Style |= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL); 356cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 362cp.Style |= (int)PInvoke.LVS_NOSCROLL; 367cp.Style |= (int)PInvoke.TVS_SHOWSELALWAYS; 372cp.Style |= (int)PInvoke.TVS_EDITLABELS; 377cp.Style |= (int)PInvoke.TVS_HASLINES; 382cp.Style |= (int)PInvoke.TVS_HASBUTTONS; 387cp.Style |= (int)PInvoke.TVS_LINESATROOT; 392cp.Style |= (int)PInvoke.TVS_TRACKSELECT; 397cp.Style |= (int)PInvoke.TVS_FULLROWSELECT; 402cp.Style |= (int)PInvoke.TVS_NONEVENHEIGHT; 409cp.Style |= (int)PInvoke.TVS_INFOTIP; 416cp.Style |= (int)PInvoke.TVS_CHECKBOXES; 432cp.Style |= (int)PInvoke.TVS_RTLREADING;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
237cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 247cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
82cp.Style &= ~(int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_OVERLAPPED | WINDOW_STYLE.WS_DLGFRAME);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
94Style = (int)(WINDOW_STYLE.WS_VISIBLE | WINDOW_STYLE.WS_CHILD), 115Style = (int)PInvoke.TTS_ALWAYSTIP
System\Windows\Forms\Form.cs (20)
766cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 771cp.Style &= ~(int)WINDOW_STYLE.WS_DISABLED; 808cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 816cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 832cp.Style &= ~(int)WINDOW_STYLE.WS_VISIBLE; 3586cp.Style |= (int)WINDOW_STYLE.WS_CAPTION; 3591cp.Style |= (int)(WINDOW_STYLE.WS_SYSMENU | WINDOW_STYLE.WS_CAPTION); 3595cp.Style &= ~(int)WINDOW_STYLE.WS_SYSMENU; 3600cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZEBOX; 3604cp.Style &= ~(int)WINDOW_STYLE.WS_MAXIMIZEBOX; 3609cp.Style |= (int)WINDOW_STYLE.WS_MINIMIZEBOX; 3613cp.Style &= ~(int)WINDOW_STYLE.WS_MINIMIZEBOX; 3641cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3644cp.Style |= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME); 3647cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3651cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3655cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3659cp.Style |= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME); 3748cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 3751cp.Style |= (int)WINDOW_STYLE.WS_MINIMIZE;
System\Windows\Forms\MDI\MDIClient.cs (2)
91cp.Style |= (int)(WINDOW_STYLE.WS_VSCROLL | WINDOW_STYLE.WS_HSCROLL); 101cp.Style |= (int)WINDOW_STYLE.WS_DISABLED;
System\Windows\Forms\Panels\Panel.cs (2)
123cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 133cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
18cp.Style |= (int)SCROLLBAR_CONSTANTS.SB_HORZ;
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
163cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 167cp.Style &= ~(int)WINDOW_STYLE.WS_HSCROLL; 172cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL; 176cp.Style &= ~(int)WINDOW_STYLE.WS_VSCROLL;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
121cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
22cp.Style |= (int)SCROLLBAR_CONSTANTS.SB_VERT;
System\Windows\Forms\Timer.cs (1)
217Style = 0,
System\Windows\Forms\ToolTip\ToolTip.cs (5)
204cp.Style = (int)PInvoke.TTS_ALWAYSTIP; 209cp.Style |= (int)PInvoke.TTS_BALLOON; 214cp.Style |= (int)PInvoke.TTS_NOPREFIX; 219cp.Style |= (int)PInvoke.TTS_NOANIMATE; 224cp.Style |= (int)PInvoke.TTS_NOFADE;
System\Windows\Forms\UserControl.cs (2)
159cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 169cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
63cp.Style |= unchecked((int)(WINDOW_STYLE.WS_POPUP | WINDOW_STYLE.WS_BORDER));
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
42cp.Style &= ~(int)(WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS);
System\Windows\Forms\Design\SelectionUIService.cs (1)
97cp.Style &= ~(int)(WINDOW_STYLE.WS_CLIPSIBLINGS | WINDOW_STYLE.WS_CLIPCHILDREN);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
179cp.Style &= ~(int)(WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS);
20 references to Style
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
59cp.Style = cp.Style Or WS_THICKFRAME
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (9)
393AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 4813if (cp.Parent == IntPtr.Zero && (cp.Style & (int)WINDOW_STYLE.WS_CHILD) != 0) 5625AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle); 5629AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle, OriginalDeviceDpiInternal); 10530AdjustWindowRectExForControlDpi(ref adornments, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 10975AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 11618AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 11822if (currentStyle != (WINDOW_STYLE)cp.Style) 11824WindowStyle = (WINDOW_STYLE)cp.Style;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
314&& ((cp.Style & (int)WINDOW_STYLE.WS_BORDER) != 0))
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
33AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\CreateParams.cs (1)
72return $"CreateParams {{'{ClassName}', '{Caption}', 0x{Style:x}, 0x{ExStyle:x}, {{{X}, {Y}, {Width}, {Height}}}}}";
System\Windows\Forms\Form.cs (3)
829if ((cp.Style & (int)WINDOW_STYLE.WS_VISIBLE) != 0) 3271return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.Style, (WINDOW_EX_STYLE)cp.ExStyle); 3673int maskedStyle = cp.Style & ~(int)(WINDOW_STYLE.WS_MAXIMIZE | WINDOW_STYLE.WS_MINIMIZE);
System\Windows\Forms\MDI\MDIClient.cs (1)
283AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\NativeWindow.cs (1)
443(WINDOW_STYLE)cp.Style,
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
40_scrollOrientation = (CreateParams.Style & (int)SCROLLBAR_CONSTANTS.SB_VERT) != 0
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
569WindowStyle = cp.Style,