GridOptionsDetail.AllowZoomDetail Property
Gets or sets a value that specifies whether the detail views can be maximized to fit the entire grid control’s area. Set this property for a root master view only.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowZoomDetail { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true to allow zoom detail views; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowZoomDetail |
---|---|
GridView |
|
Remarks
Detail views (Grid Views) display zoom button. Disable the AllowZoomDetail
option for a root master view to hide zoom buttons in all detail views and prevent users from zooming them.
Enable the root master view’s AllowZoomDetail
and GridOptionsDetail.AutoZoomDetail options to automatically zoom detail views when users expand corresponding master rows.
Use the BaseView.ZoomView method of a clone view to zoom the view in code.