Back to Devexpress

GridOptionsDetail Members

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdetail-dot-underscore-members.md

latest7.9 KB
Original Source

GridOptionsDetail Members

Provides detail customization options for Grid Views.

Constructors

NameDescription
GridOptionsDetail()Creates a new instance of the GridOptionsDetail class.

Properties

NameDescription
AllowExpandEmptyDetailsGets or sets a value specifying whether master rows can be expanded when details have no data.
AllowOnlyOneMasterRowExpandedGets or sets a value specifying whether several master rows can be expanded simultaneously.
AllowZoomDetailGets 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.
AutoZoomDetailGets or sets whether detail views are automatically maximized to occupy the entire grid control area when their corresponding master rows are expanded.
DetailModeGets or sets whether detail Views are painted in Classic mode (master and detail Views have their own vertical scrollbars) or Embedded mode (a single vertical scrollbar is used throughout the grid control).
EnableDetailToolTipGets or sets whether detail tooltips are displayed when the mouse pointer hovers over a master row’s expand button. This option must be applied to a master view.
EnableMasterViewModeGets or sets a value specifying whether the View’s details can be displayed.
ShowDetailTabsGets or sets whether detail tabs are displayed. This option must be applied to a master view.
ShowEmbeddedDetailIndentGets or sets whether vertical indents are enabled between detail Views and master Views in Embedded detail mode (see GridOptionsDetail.DetailMode).
SmartDetailExpandGets or sets a value specifying whether the current master View is automatically scrolled when one of its detail Views at the first level is expanded, so all rows in that detail View will be displayed. This functionality is supported only when expanding first level detail Views.
SmartDetailExpandButtonObsolete. Gets or sets whether master-detail expand buttons are displayed grayed out when their associated detail rows don’t contain any data.
SmartDetailExpandButtonModeGets or sets a value which specifies the manner in which master-detail expand buttons are painted.
SmartDetailHeightReserved for future use.

Methods

NameDescription
Assign(BaseOptions)Copies all settings from the options object passed as a parameter.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all options to their default values. Inherited from BaseOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

See Also

GridOptionsDetail Class

DevExpress.XtraGrid.Views.Grid Namespace