Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TrackBarControl.CalcMinHeight() Method

Calculates the minumum height of the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public override int CalcMinHeight()

#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