Skip to main content

RepositoryItemLookUpEditBase.CascadingMember Property

Gets or sets the name(s) of the foreign key field(s) by which the popup data source of the lookup editor is filtered. The field must be editable and accept new values (read-only fields are not supported).

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
public virtual string CascadingMember { get; set; }

Property Value

Type Default Description
String String.Empty

The foreign key field name(s). The field must be editable and accept new values (read-only fields are not supported).

Remarks

The CascadingMember property is used together with the LookUpEditBase.CascadingOwner property to filter of the lookup editor based on a value of another lookup editor. Note that these properties are only supported for standalone lookup editors.

Manually setting the CascadingMember property can be optional in some cases, as the lookup editor provides a built-in algorithm for identifying foreign key fields.

If multiple foreign key field names need to be specified with the CascadingMember property, delimit the names with the ‘;’ character (e.g., “CategoryID;ProductID”).

See Cascading Lookups to learn more.

See Also