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
stringA 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
stringA string value which specifies the column’s name. This value is assigned to the DataViewProperty.Name property.
valueType
TypeA 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
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
Methods
SetOwner(XPDataView)
protected void SetOwner(XPDataView owner)
Parameters
owner
XPDataView