TrackBarThumbState 枚举

定义

指定以视觉样式绘制的跟踪条滑块的视觉状态(也称为滚动块)。Specifies the visual state of a track bar slider (also known as a thumb) that is drawn with visual styles.

public enum class TrackBarThumbState
public enum TrackBarThumbState
type TrackBarThumbState = 
Public Enum TrackBarThumbState
继承
TrackBarThumbState

字段

Disabled 5

滑块显示处于禁用状态。The slider appears disabled.

Hot 2

滑块显示处于热状态。The slider appears hot.

Normal 1

滑块显示处于正常状态。The slider appears normal.

Pressed 3

滑块显示处于按下状态。The slider appears pressed.

注解

这些TrackBarThumbState值与以下类公开的VisualStyleElement对象状态相对应:The TrackBarThumbState values correspond to the states of the VisualStyleElement objects exposed by the following classes:

值还用作绘制跟踪条滑块的System.Windows.Forms.TrackBarRenderer类方法中的参数。 TrackBarThumbStateThe TrackBarThumbState values are also used as an argument in the System.Windows.Forms.TrackBarRenderer class methods that draw the track bar slider.

适用于