←Select platform

VerticalScrollWidth Property

Summary

Gets the width of the vertical scrollbar.

Syntax

C#
VB
Objective-C
WinRT C#
public virtual double VerticalScrollWidth {get;} 
Public Overridable ReadOnly Property VerticalScrollWidth As Double 
public virtual double VerticalScrollWidth {get;} 
macOS Only 
@property (nonatomic, assign, readonly) double visibleVerticalScrollWidth 
 get_VerticalScrollWidth();  

Property Value

The width of the vertical scrollbar.

Remarks

Only available if ScrollMode is set to ImageViewerScrollMode.Auto.

You can use this value to calculate the size of the client area of the control not covered by the visible scrollbars:

var width = viewer.ControlSize.Width - viewer.HorizontalScrollHeight; 
var height = viewer.ControlSize.Height - viewer.VerticalScrollWidth; 

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)