RepositoryItemGridLookUpEditBase.PopupViewType Property

Gets or sets the type of View used to represent data in the dropdown.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("View")]
[DefaultValue(GridLookUpViewType.Default)]
public GridLookUpViewType PopupViewType { get; set; }
<DXCategory("View")>
<DefaultValue(GridLookUpViewType.Default)>
Public Property PopupViewType As GridLookUpViewType

Property Value

Type Default Description
GridLookUpViewType

Default

A GridLookUpViewType value that specifies the type of the current View.

Remarks

Use this property to change the type of View used to represent data within the embedded grid control. Assigning a new value to the PopupViewType property creates a new View object and assigns it to the RepositoryItemGridLookUpEditBase.PopupView property (the previously assigned View is disposed of).

You may need to perform additional customizations of the created View. For instance, after you activate the BandedView or AdvBandedView format, you need to manually create bands and add columns to the bands. Otherwise, these Views cannot display data.

At design time, you can customize the View with the Data Grid Designer. To open the designer, do one of the following:

  • click the ellipsis button for the PopupView property in Properties grid.
  • invoke the Designer View command from the Properties window or the control's smart tag.

GridLookUpEdit-Designer

See Also