TrackBarRenderer.DrawRightPointingThumb Método

Definición

Dibuja un control deslizante de barra de seguimiento con desplazamiento hacia la derecha (denominado también control de posición) con estilos visuales.

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

Parámetros

g
Graphics

Objeto Graphics que se utiliza para dibujar el control deslizante de barra de seguimiento.

bounds
Rectangle

Objeto Rectangle que especifica los límites del control deslizante de barra de seguimiento.

state
TrackBarThumbState

Uno de los valores TrackBarThumbState que especifica el estado visual del control deslizante de barra de seguimiento.

Excepciones

El sistema operativo no admite estilos visuales.

o bien

El usuario ha deshabilitado los estilos visuales en el sistema operativo.

o bien

Los estilos visuales no se aplican al área de cliente de las ventanas de aplicación.

Comentarios

Antes de llamar a este método, debe comprobar que el valor de la IsSupported propiedad es true.

Se aplica a