Skip to main content
A newer version of this page is available. .

GridOptionsDetail.AllowZoomDetail Property

Gets or sets a value specifying whether the View’s immediate details can be maximized to fit the entire grid control’s area.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(true)]
public virtual bool AllowZoomDetail { get; set; }

Property Value

Type Default Description
Boolean

true

true if details can be zoomed; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowZoomDetail
AdvBandedGridView
.OptionsDetail.AllowZoomDetail
BandedGridView
.OptionsDetail.AllowZoomDetail
GridView
.OptionsDetail.AllowZoomDetail

Remarks

By default, details represented by Grid Views display zoom button for this purpose. When the GridOptionsDetail.AutoZoomDetail option is enabled, detail Views are automatically zoomed when end-users expand corresponding master rows. You can also zoom detail clones via code by calling their BaseView.ZoomView method. The functionality described is only available when the AllowZoomDetail property value is true. Otherwise, detail Views do not display zoom buttons, cannot be zoomed automatically and calling their BaseView.ZoomView method has no effect.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowZoomDetail property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also