Specifies responsibility for drawing a control or portion of a control.
[Visual Basic] Public Enum DrawMode [C#] public enum DrawMode [C++] public enum DrawMode
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Certain controls allow the programmer to explicitly draw items. For example, the DrawMode property uses this enumeration to control this feature.
Member Name | Description |
---|---|
Normal | The operating system paints the items in the control, and the items are each the same height. |
OwnerDrawFixed | The programmer explicitly paints the items in the control, and the items are each the same height. |
OwnerDrawVariable | The programmer explicitly paints the items in the control manually, and they may be different heights. |
Namespace: System.WinForms
Assembly: System.WinForms.dll