Back to Devexpress

GridOptionsDetail.AllowZoomDetail Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdetail-42909b7b.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true to allow zoom detail views; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowZoomDetail
GridView

.OptionsDetail .AllowZoomDetail

|

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.

See Also

AutoZoomDetail

EnableMasterViewMode

ZoomView()

GridOptionsDetail Class

GridOptionsDetail Members

DevExpress.XtraGrid.Views.Grid Namespace