xpo-devexpress-dot-xpo-59be4eb7.md
A record within the XPView.
Namespace : DevExpress.Xpo
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public sealed class ViewRecord :
ICustomTypeDescriptor
Public NotInheritable Class ViewRecord
Implements ICustomTypeDescriptor
The following members return ViewRecord objects:
XPView view = new XPView(unitOfWork, typeof(Person));
view.AddProperty("Name", "Concat([FirstName], ' ', [LastName])");
foreach(ViewRecord record in view) {
Console.WriteLine(record["Name"]);
}
Dim view As New XPView(unitOfWork, GetType(Person))
view.AddProperty("Name", "Concat([FirstName], ' ', [LastName])")
For Each record As ViewRecord In view
Console.WriteLine(record("Name"))
Next record
Object ViewRecord
See Also