| ScrollBarViewportSize Property |
Gets or sets the size of the viewport relative to the full extent of the scrollable content.
This is a game object property.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public float ViewportSize { get; set; }
Public Property ViewportSize As Single
Get
Set
public:
property float ViewportSize {
float get ();
void set (float value);
}
member ViewportSize : float32 with get, set
Property Value
Type:
Single
The size of the viewport relative to the full extent of the scrollable content. This is a
value in the range ]0, 1]. 0 means that the extent of the scrollable content is infinite
(which does not happen in practice). 1 means that the full scrollable content is visible in
the scroll viewer. 0.5 means that the scroll viewer can show half of the scrollable content.
Etc. The default value is 0.1.
Remarks
The
ViewportSize defines the size of the draggable
Thumb.
See Also