TabDrawMode 列舉

定義

指定索引標籤控制項 (Tab Control) 中的索引標籤是否為主控描繪 (由父視窗所描繪),或是由作業系統描繪。Specifies whether the tabs in a tab control are owner-drawn (drawn by the parent window), or drawn by the operating system.

public enum class TabDrawMode
public enum TabDrawMode
type TabDrawMode = 
Public Enum TabDrawMode
繼承
TabDrawMode

欄位

Normal 0

索引標籤由作業系統所描繪,且有相同的大小。The tabs are drawn by the operating system, and are of the same size.

OwnerDrawFixed 1

索引標籤由父視窗所描繪,且有相同的大小。The tabs are drawn by the parent window, and are of the same size.

備註

這個列舉是由成員 (例如) TabControl.DrawMode所使用。This enumeration is used by members such as TabControl.DrawMode.

TabControl類別及其衍生類別支援主控描繪功能, 但只能用一種類型, 您可以在其中個別繪製索引標籤。The TabControl class and its derived classes support owner-draw functionality, but only one type, in which you can draw the tabs individually.

適用於

另請參閱