3 overrides of OwnerDraw
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
159
private protected override bool
OwnerDraw
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
97
private protected override bool
OwnerDraw
=>
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
174
private protected override bool
OwnerDraw
=>
14 references to OwnerDraw
System.Windows.Forms (14)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
181
return base.
OwnerDraw
;
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
18
this.IsOwnerHandleCreated(out ButtonBase? owner) && owner.
OwnerDraw
&& owner.MouseIsDown
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (10)
81
SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint,
OwnerDraw
);
268
if (!
OwnerDraw
)
328
if (
OwnerDraw
)
746
if (
OwnerDraw
)
1190
if (!
OwnerDraw
)
1212
if (
OwnerDraw
)
1292
if (
OwnerDraw
&& (flag & FlagMouseDown) != 0 && value != oldValue)
1306
if (
OwnerDraw
!= GetStyle(ControlStyles.UserPaint))
1308
SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint,
OwnerDraw
);
1374
if (
OwnerDraw
)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
107
&& base.
OwnerDraw
;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
185
&& base.
OwnerDraw
;