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.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowZoomDetail { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowZoomDetail As Boolean

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.

See Also