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

LinqServerModeDataSource.KeyExpression Property

Gets or sets the key expression. This is a dependency property.

Namespace: DevExpress.Xpf.Core.ServerMode

Assembly: DevExpress.Xpf.Core.v21.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public string KeyExpression { get; set; }

Property Value

Type Description
String

A String value that specifies the key expression.

Remarks

In most instances, the KeyExpression property specifies the key field name:

linqServerModeDataSource1.KeyExpression = "CustomerID";
See Also