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