TabDrawMode 枚举

定义

指定选项卡控件中的选项卡是所有者描述的(由父窗口描述)还是由操作系统描述的。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.

适用于

另请参阅