45 references to DrawMode
System.Windows.Forms (43)
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
238
public override
DrawMode
DrawMode {
240
return
DrawMode
.Normal;
winforms\Managed\System\WinForms\ComboBox.cs (18)
441
case
DrawMode
.OwnerDrawFixed:
444
case
DrawMode
.OwnerDrawVariable:
493
DefaultValue(
DrawMode
.Normal),
497
public
DrawMode
DrawMode {
502
return (
DrawMode
)drawMode;
505
return
DrawMode
.Normal;
510
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DrawMode
.Normal, (int)
DrawMode
.OwnerDrawVariable)) {
511
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DrawMode
));
721
DrawMode
drawMode = DrawMode;
722
if (drawMode ==
DrawMode
.OwnerDrawFixed ||
723
drawMode ==
DrawMode
.OwnerDrawVariable ||
755
if (DrawMode !=
DrawMode
.Normal) {
985
if (DrawMode !=
DrawMode
.Normal) {
2167
if (DrawMode !=
DrawMode
.OwnerDrawVariable) {
3392
if (DrawMode ==
DrawMode
.OwnerDrawFixed) {
3396
else if (DrawMode ==
DrawMode
.OwnerDrawVariable) {
3634
if (DrawMode ==
DrawMode
.OwnerDrawVariable && mis.itemID >= 0) {
winforms\Managed\System\WinForms\ListBox.cs (22)
112
DrawMode
drawMode = System.Windows.Forms.
DrawMode
.Normal;
375
case
DrawMode
.Normal:
377
case
DrawMode
.OwnerDrawFixed:
380
case
DrawMode
.OwnerDrawVariable:
427
DefaultValue(
DrawMode
.Normal),
431
public virtual
DrawMode
DrawMode {
438
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DrawMode
.Normal, (int)
DrawMode
.OwnerDrawVariable))
440
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DrawMode
));
443
if (MultiColumn && value ==
DrawMode
.OwnerDrawVariable) {
448
if (drawMode ==
DrawMode
.OwnerDrawVariable) {
618
if (drawMode ==
DrawMode
.OwnerDrawFixed ||
619
drawMode ==
DrawMode
.OwnerDrawVariable) {
632
if (drawMode ==
DrawMode
.OwnerDrawFixed && IsHandleCreated) {
680
if (DrawMode !=
DrawMode
.Normal) {
715
if (value && drawMode ==
DrawMode
.OwnerDrawVariable) {
737
if (drawMode ==
DrawMode
.OwnerDrawVariable) {
1485
if (drawMode !=
DrawMode
.OwnerDrawVariable) index = 0;
1770
if (drawMode ==
DrawMode
.OwnerDrawFixed) {
1949
if (drawMode ==
DrawMode
.OwnerDrawVariable) {
2364
if (drawMode ==
DrawMode
.OwnerDrawVariable && mis.itemID >= 0) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
390
listBox.DrawMode =
DrawMode
.OwnerDrawFixed;
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
123
this.operationsListBox.DrawMode = System.Windows.Forms.
DrawMode
.OwnerDrawVariable;
System\Workflow\Activities\Design\RichListBox.cs (1)
31
this.DrawMode =
DrawMode
.OwnerDrawVariable;