Overload | Description |
---|---|
GetPreferredSize(SliderOrientation,Int32,Int32,Int32) | Gets the size needed to display the entire slider with the specified orientation and values. |
GetPreferredSize(Size) | Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from System.Windows.Forms.Control) |
This method calculates the height and width to display the control with the given orientation.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8