RepositoryItemLookUpEditBase.CascadingMember Property

Gets or sets the name(s) of the foreign key field(s) by which the popup data source of the current lookup editor is filtered.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue("")]
public virtual string CascadingMember { get; set; }
<DefaultValue("")>
Public Overridable Property CascadingMember As String

Property Value

Type Default Description
String

String.Empty

The foreign key field name(s).

Remarks

The CascadingMember property is used together with the LookUpEditBase.CascadingOwner property to perform filtering of the current 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