[]
        
(Showing Draft Content)

FarPoint.Win.FpSlider.GetPreferredSize

GetPreferredSize Method

GetPreferredSize(SliderOrientation, int, int, int)

Gets the size needed to display the entire slider with the specified orientation and values.

Declaration
public static Size GetPreferredSize(SliderOrientation orientation, int minimum, int maximum, int tickSpacing)
Public Shared Function GetPreferredSize(orientation As SliderOrientation, minimum As Integer, maximum As Integer, tickSpacing As Integer) As Size
Parameters
Type Name Description
SliderOrientation orientation

Orientation of the slider

int minimum

Minimum value of the slider

int maximum

Maximum value of the slider

int tickSpacing

Space between tick marks

Returns
Type Description
Size

An ordered pair of type Size representing the width and height.