NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DrawMode Enumeration

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.

Remarks

Certain controls allow the programmer to explicitly draw items. For example, the DrawMode property uses this enumeration to control this feature.

Members

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.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace