Skybound VisualStyles

ThemePaint.GetProgressChunkWidth Method 

Returns the width of a progress bar chunk.

[Visual Basic]
Public Shared Function GetProgressChunkWidth( _
   ByVal control As Control _
) As Integer
[C#]
public static int GetProgressChunkWidth(
   Control control
);

Parameters

control
The Control whose Window handle is used to retrieve the value. This may be any Control instance (it does not have to be a ProgressBar).

Return Value

The width of a progress bar chunk, in pixels.

See Also

ThemePaint Class | Skybound.VisualStyles Namespace