57 references to UserPaint
System.Web.Mobile (1)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
27
SetStyle(ControlStyles.
UserPaint
, true);
System.Windows.Forms (51)
winforms\Managed\System\WinForms\AxHost.cs (1)
341
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\Button.cs (4)
158
if (GetStyle(ControlStyles.
UserPaint
)) {
300
if (GetStyle(ControlStyles.
UserPaint
)) {
307
if (GetStyle(ControlStyles.
UserPaint
)) {
406
Debug.Assert(!GetStyle(ControlStyles.
UserPaint
), "Shouldn't get BN_CLICKED when UserPaint");
winforms\Managed\System\WinForms\ButtonBase.cs (5)
85
ControlStyles.
UserPaint
, OwnerDraw);
942
Debug.Assert(GetStyle(ControlStyles.
UserPaint
), "Shouldn't be in PaintControl when control is not UserPaint style");
1139
if (GetStyle(ControlStyles.
UserPaint
)) {
1190
if (OwnerDraw != GetStyle(ControlStyles.
UserPaint
)) {
1191
SetStyle(ControlStyles.UserMouse | ControlStyles.
UserPaint
, OwnerDraw);
winforms\Managed\System\WinForms\ComboBox.cs (6)
166
SetStyle(ControlStyles.
UserPaint
|
2207
else if ((msg == NativeMethods.WM_CTLCOLORLISTBOX) && GetStyle(ControlStyles.
UserPaint
)) {
3688
if (!Application.RenderWithVisualStyles && GetStyle(ControlStyles.
UserPaint
) == false && this.DropDownStyle == ComboBoxStyle.DropDownList && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) {
3757
if (GetStyle(ControlStyles.
UserPaint
) == false && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) {
3811
if (GetStyle(ControlStyles.
UserPaint
) == false && FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup) {
3815
if (GetStyle(ControlStyles.
UserPaint
) == false && FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup) {
winforms\Managed\System\WinForms\Control.cs (13)
504
ControlStyles.
UserPaint
|
2413
return GetStyle(ControlStyles.DoubleBuffer | ControlStyles.
UserPaint
);
2571
if (IsHandleCreated && !GetStyle(ControlStyles.
UserPaint
)) {
7141
if (!GetStyle(ControlStyles.
UserPaint
)) {
8174
if (GetStyle(ControlStyles.
UserPaint
)) {
8224
if (IsHandleCreated && !GetStyle(ControlStyles.
UserPaint
)) {
8501
if (GetStyle(ControlStyles.
UserPaint
)) {
8726
if (!GetStyle(ControlStyles.
UserPaint
)){
10402
if(GetStyle(ControlStyles.
UserPaint
)) {
11409
if (DpiHelper.EnableDpiChangedHighDpiImprovements && !GetStyle(ControlStyles.
UserPaint
) && (Properties.GetObject(PropFont) == null)) {
12955
if (GetStyle(ControlStyles.
UserPaint
)) {
14163
if (GetStyle(ControlStyles.
UserPaint
)) {
14172
if (GetStyle(ControlStyles.
UserPaint
)) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
330
SetStyle(ControlStyles.
UserPaint
, true);
winforms\Managed\System\WinForms\DataGridView.cs (1)
427
SetStyle(ControlStyles.
UserPaint
|
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
141
SetStyle(ControlStyles.
UserPaint
|
winforms\Managed\System\WinForms\GroupBox.cs (2)
58
ControlStyles.
UserPaint
|
253
ControlStyles.
UserPaint
|
winforms\Managed\System\WinForms\Label.cs (2)
102
SetStyle(ControlStyles.
UserPaint
|
425
SetStyle(ControlStyles.
UserPaint
winforms\Managed\System\WinForms\LinkLabel.cs (1)
89
| ControlStyles.
UserPaint
winforms\Managed\System\WinForms\ListBox.cs (1)
156
SetStyle(ControlStyles.
UserPaint
|
winforms\Managed\System\WinForms\ListView.cs (1)
244
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
184
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\ProgressBar.cs (1)
74
SetStyle(ControlStyles.
UserPaint
|
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
38
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\RadioButton.cs (1)
571
if (mevent.Button == MouseButtons.Left && GetStyle(ControlStyles.
UserPaint
)) {
winforms\Managed\System\WinForms\ScrollBar.cs (1)
60
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\StatusBar.cs (1)
66
base.SetStyle(ControlStyles.
UserPaint
| ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\TabControl.cs (1)
122
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
124
| ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\ToolBar.cs (1)
140
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\TrackBar.cs (1)
76
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\TreeView.cs (1)
188
SetStyle(ControlStyles.
UserPaint
, false);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
112
this.SetStyle(ControlStyles.
UserPaint
, false);
System.Windows.Forms.DataVisualization (1)
WinForm\ChartWinControl.cs (1)
209
this.SetStyle(ControlStyles.
UserPaint
, true);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerWidgets.cs (3)
1084
ControlStyles.
UserPaint
|
1400
ControlStyles.
UserPaint
|
1715
ControlStyles.
UserPaint
|
AuthoringOM\Design\WorkflowView.cs (1)
160
SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.
UserPaint
| ControlStyles.Opaque | ControlStyles.AllPaintingInWmPaint | ControlStyles.Selectable | ControlStyles.EnableNotifyMessage, true);