Skip to main content
All docs
V19.2

IRangeControlClient.SupportOrientation(Orientation) Method

This method returns a value indicating whether the Client supports the horizontal and/or vertical orientations.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Data.v19.2.dll

Declaration

bool SupportOrientation(
    Orientation orientation
)

Parameters

Name Type Description
orientation Orientation

An orientation to be checked.

Returns

Type Description
Boolean

true if the Client supports the specified orientation; otherwise, false.

Remarks

You can set the orientation for the Range Control via the RangeControl.Orientation property. The SupportOrientation method is called to check if the new orientation is supported by the Client. For instance, if the Client doesn’t support the vertical orientation, the SupportOrientation method must return false if the orientation parameter is set to Orientation.Vertical.

See Also