System.Windows.Forms.TabControl.DrawMode Property

Gets or sets the way that the control's tabs are drawn.

Syntax

[System.ComponentModel.DefaultValue(System.Windows.Forms.TabDrawMode.Normal)]
public TabDrawMode DrawMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When you set the TabControl.DrawMode property to TabDrawMode.OwnerDrawFixed, the System.Windows.Forms.TabControl raises the TabControl.DrawItem event whenever it needs to paint one of its tabs. To customize the appearance of the tabs, provide your own painting code in a handler for the TabControl.DrawItem event.

The System.Windows.Forms.TabControl does not support variable tab sizes with owner drawing.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0