Table of Contents

Class ViewRecord

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

A record within the XPView.

public sealed class ViewRecord : ICustomTypeDescriptor
Inheritance
ViewRecord
Implements
Inherited Members

Constructors

ViewRecord(XPView, object[])

Initializes a new instance of the ViewRecord class.

public ViewRecord(XPView view, object[] data)

Parameters

view XPView

An XPView object that represents the view to which the record belongs.

data object[]

An array of objects that represent the record’s data.

Properties

this[CriteriaOperator]

Gets the value in the specified column.

public object this[CriteriaOperator property] { get; }

Parameters

property CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator descendant that contains the expression used to calculate the values in a column.

Property Value

object

An object which represents the value in the specified column.

this[int]

Gets the value of the specified column.

public object this[int index] { get; }

Parameters

index int

An integer value which represents the column’s index.

Property Value

object

An object which represents the value of the specified column.

this[string]

Gets the value of the specified column.

public object this[string name] { get; }

Parameters

name string

A string value which specifies the column’s name.

Property Value

object

An object which represents the value of the specified column.

View

Gets the view to which this record belongs.

public XPView View { get; }

Property Value

XPView

An XPView object which represents the view to which this record belongs.

Methods

GetObject()

Returns the persistent object that the current view record corresponds to.

public object GetObject()

Returns

object

An object which represents the persistent object that the current view record corresponds to.