通过


TrackBarRenderer.DrawBottomPointingThumb 方法

定义

绘制具有视觉样式的向下跟踪条滑块(也称为拇指)。

public:
 static void DrawBottomPointingThumb(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::VisualStyles::TrackBarThumbState state);
public static void DrawBottomPointingThumb(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.TrackBarThumbState state);
static member DrawBottomPointingThumb : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.VisualStyles.TrackBarThumbState -> unit
Public Shared Sub DrawBottomPointingThumb (g As Graphics, bounds As Rectangle, state As TrackBarThumbState)

参数

g
Graphics

Graphics用于绘制跟踪条滑块。

bounds
Rectangle

指定 Rectangle 跟踪条滑块的边界。

state
TrackBarThumbState

TrackBarThumbState指定跟踪条滑块视觉状态的值之一。

例外

操作系统不支持视觉样式。

-或-

操作系统中的用户禁用视觉样式。

-或-

视觉样式不应用于应用程序窗口的工作区。

注解

在调用此方法之前,应验证属性的值 IsSupported 是否为 true

适用于