Table of Contents

Class DataViewProperty

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

A data view column.

[TypeConverter(typeof(DataViewPropertyConverter))]
public class DataViewProperty
Inheritance
DataViewProperty
Inherited Members

Constructors

DataViewProperty()

Initializes a new instance of the DataViewProperty class with the default settings.

public DataViewProperty()

DataViewProperty(string)

Initializes a new instance of the DataViewProperty class with the specified column name.

public DataViewProperty(string name)

Parameters

name string

A string value which specifies the column name. This value is assigned to the DataViewProperty.Name property.

DataViewProperty(string, Type)

Initializes a new instance of the DataViewProperty class with the specified settings.

public DataViewProperty(string name, Type valueType)

Parameters

name string

A string value which specifies the column’s name. This value is assigned to the DataViewProperty.Name property.

valueType Type

A Type value which specifies the column’s type. This value is assigned to the DataViewProperty.ValueType property.

Properties

Name

Gets or sets the column’s name.

public string Name { get; set; }

Property Value

string

A string value which specifies the column’s name.

ValueType

Gets or sets the column’s type.

[TypeConverter("DevExpress.Utils.Editors.SimpleToStringTypeConverter,DevExpress.Data.Desktop.v24.1, Version=24.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a")]
public Type ValueType { get; set; }

Property Value

Type

A Type value which specifies the type of values displayed within the column.

Methods

SetOwner(XPDataView)

protected void SetOwner(XPDataView owner)

Parameters

owner XPDataView