Skip to main content
A newer version of this page is available. .

LookUpEdit.GetGridControl() Method

Returns an embedded GridControl.

Namespace: DevExpress.Xpf.Grid.LookUp

Assembly: DevExpress.Xpf.Grid.v19.1.dll

Declaration

public GridControl GetGridControl()

Returns

Type Description
GridControl

A GridControl object that represents the DXGrid control for WPF.

Remarks

The GetGridControl method returns a null reference until the embedded grid is shown for the first time.

To manually customize the grid control and embed it within the look-up editor, use the PopupBaseEdit.PopupContentTemplate property.

Note

The embedded grid control’s x:Name attribute must be set to PART_GridControl.

See Also