18 references to OwnerDraw
System.Windows.Forms (18)
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)
79
SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint,
OwnerDraw
);
262
if (!
OwnerDraw
)
322
if (
OwnerDraw
)
688
if (
OwnerDraw
)
1128
if (!
OwnerDraw
)
1150
if (
OwnerDraw
)
1230
if (
OwnerDraw
&& (flag & FlagMouseDown) != 0 && value != oldValue)
1240
if (
OwnerDraw
!= GetStyle(ControlStyles.UserPaint))
1242
SetStyle(ControlStyles.UserMouse | ControlStyles.UserPaint,
OwnerDraw
);
1308
if (
OwnerDraw
)
System\Windows\Forms\Controls\Buttons\CheckBox.cs (4)
76
if (
OwnerDraw
)
129
if (
OwnerDraw
)
227
if (
OwnerDraw
)
395
if (
OwnerDraw
)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (3)
92
if (
OwnerDraw
)
130
if (
OwnerDraw
)
195
if (
OwnerDraw
)