TrackBarControl.CalcMinHeight() Method
Calculates the minumum height of the editor.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Returns
Type | Description |
---|---|
Int32 | The minimum height of the editor, in pixels. |
Remarks
If the RepositoryItemTrackBar.AutoSize property is set to false, a user can manually change the trackbar’s height (if oriented horizontally) or width (if oriented vertically). The CalcMinHeight method returns the minimum height/width of the trackbar.
By default, the trackbar’s minimum height is 10 pixels. To change the editor’s minimum height, derive from the TrackBarControl class and override the CalcMinHeight method.
See Also