A newer version of this page is available. Switch to the current version.

BaseView.ViewRect Property

Gets the bounding rectangle of the View’s visible area.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll


public abstract Rectangle ViewRect { get; }

Property Value

Type Description

A Rectangle structure representing the bounding rectangle of the current View.



Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the ViewRect member must not be invoked for these Views. The ViewRect member can only be used with real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also