Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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