195 writes to Style
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
59cp.Style = cp.Style Or WS_THICKFRAME
System.Windows.Forms (190)
System\Windows\Forms\ActiveX\AxHost.cs (1)
212cp.Style &= ~(int)WINDOW_STYLE.WS_VISIBLE;
System\Windows\Forms\Control.cs (7)
1397cp.Style = 0; 1407cp.Style = (int)WINDOW_STYLE.WS_CLIPCHILDREN; 1420cp.Style |= (int)(WINDOW_STYLE.WS_CHILD | WINDOW_STYLE.WS_CLIPSIBLINGS); 1429cp.Style |= (int)WINDOW_STYLE.WS_TABSTOP; 1434cp.Style |= (int)WINDOW_STYLE.WS_VISIBLE; 1441cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 11090cp.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)
273cp.Style |= PInvoke.BS_MULTILINE; 277cp.Style |= PInvoke.BS_DEFPUSHBUTTON; 284cp.Style |= PInvoke.BS_LEFT; 288cp.Style |= PInvoke.BS_RIGHT; 292cp.Style |= PInvoke.BS_CENTER; 297cp.Style |= PInvoke.BS_TOP; 301cp.Style |= PInvoke.BS_BOTTOM; 305cp.Style |= PInvoke.BS_VCENTER;
System\Windows\Forms\Controls\Buttons\CheckBox.cs (4)
250cp.Style |= PInvoke.BS_OWNERDRAW; 254cp.Style |= PInvoke.BS_3STATE; 257cp.Style |= PInvoke.BS_PUSHLIKE; 264cp.Style |= PInvoke.BS_RIGHTBUTTON;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
215cp.Style |= PInvoke.BS_OWNERDRAW; 219cp.Style |= PInvoke.BS_RADIOBUTTON; 222cp.Style |= PInvoke.BS_PUSHLIKE; 229cp.Style |= PInvoke.BS_RIGHTBUTTON;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (7)
340cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.CBS_HASSTRINGS | PInvoke.CBS_AUTOHSCROLL; 344cp.Style |= PInvoke.CBS_NOINTEGRALHEIGHT; 350cp.Style |= PInvoke.CBS_SIMPLE; 353cp.Style |= PInvoke.CBS_DROPDOWN; 358cp.Style |= PInvoke.CBS_DROPDOWNLIST; 367cp.Style |= PInvoke.CBS_OWNERDRAWFIXED; 370cp.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; 314cp.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)
269cp.Style |= PInvoke.ES_LOWERCASE; 272cp.Style |= PInvoke.ES_UPPERCASE; 285cp.Style |= PInvoke.ES_LEFT; 288cp.Style |= PInvoke.ES_CENTER; 291cp.Style |= PInvoke.ES_RIGHT; 302cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 307cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL; 313cp.Style |= PInvoke.ES_PASSWORD;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (7)
407cp.Style |= PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL; 410cp.Style |= PInvoke.ES_NOHIDESEL; 415cp.Style |= PInvoke.ES_READONLY; 418cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 427cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 433cp.Style |= PInvoke.ES_MULTILINE; 436cp.Style &= ~PInvoke.ES_AUTOHSCROLL;
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)
316cp.Style |= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL); 325cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 331cp.Style |= (int)PInvoke.LVS_NOSCROLL; 336cp.Style |= (int)PInvoke.TVS_SHOWSELALWAYS; 341cp.Style |= (int)PInvoke.TVS_EDITLABELS; 346cp.Style |= (int)PInvoke.TVS_HASLINES; 351cp.Style |= (int)PInvoke.TVS_HASBUTTONS; 356cp.Style |= (int)PInvoke.TVS_LINESATROOT; 361cp.Style |= (int)PInvoke.TVS_TRACKSELECT; 366cp.Style |= (int)PInvoke.TVS_FULLROWSELECT; 371cp.Style |= (int)PInvoke.TVS_NONEVENHEIGHT; 378cp.Style |= (int)PInvoke.TVS_INFOTIP; 385cp.Style |= (int)PInvoke.TVS_CHECKBOXES; 401cp.Style |= (int)PInvoke.TVS_RTLREADING;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
222cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 231cp.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)
763cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 768cp.Style &= ~(int)WINDOW_STYLE.WS_DISABLED; 805cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 813cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 829cp.Style &= ~(int)WINDOW_STYLE.WS_VISIBLE; 3583cp.Style |= (int)WINDOW_STYLE.WS_CAPTION; 3588cp.Style |= (int)(WINDOW_STYLE.WS_SYSMENU | WINDOW_STYLE.WS_CAPTION); 3592cp.Style &= ~(int)WINDOW_STYLE.WS_SYSMENU; 3597cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZEBOX; 3601cp.Style &= ~(int)WINDOW_STYLE.WS_MAXIMIZEBOX; 3606cp.Style |= (int)WINDOW_STYLE.WS_MINIMIZEBOX; 3610cp.Style &= ~(int)WINDOW_STYLE.WS_MINIMIZEBOX; 3638cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3641cp.Style |= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME); 3644cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3648cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3652cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3656cp.Style |= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME); 3745cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 3748cp.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)
383AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 4598if (cp.Parent == IntPtr.Zero && (cp.Style & (int)WINDOW_STYLE.WS_CHILD) != 0) 5401AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle); 5405AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle, OriginalDeviceDpiInternal); 9801AdjustWindowRectExForControlDpi(ref adornments, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 10246AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 10889AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 11093if (currentStyle != (WINDOW_STYLE)cp.Style) 11095WindowStyle = (WINDOW_STYLE)cp.Style;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
312if (BorderStyle == BorderStyle.FixedSingle && ((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)
826if ((cp.Style & (int)WINDOW_STYLE.WS_VISIBLE) != 0) 3268return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.Style, (WINDOW_EX_STYLE)cp.ExStyle); 3670int 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,