windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdetail-42909b7b.md
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.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowZoomDetail { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowZoomDetail As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to allow zoom detail views; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowZoomDetail |
|---|---|
| GridView |
.OptionsDetail .AllowZoomDetail
|
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.
See Also