Table of Contents

Class DataGridColumnAttribute

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public class DataGridColumnAttribute : Attribute, IDataGridColumn
Inheritance
DataGridColumnAttribute
Implements
Derived
Inherited Members
Extension Methods

Constructors

DataGridColumnAttribute()

public DataGridColumnAttribute()

DataGridColumnAttribute(string)

public DataGridColumnAttribute(string width)

Parameters

width string

Properties

PropertyPath

"{0}.Property"

public string PropertyPath { get; set; }

Property Value

string

Template

public Type Template { get; set; }

Property Value

Type

Width

public DataGridLength Width { get; set; }

Property Value

DataGridLength

Methods

GetDataGridColumn(PropertyInfo)

public virtual DataGridColumn GetDataGridColumn(PropertyInfo propertyInfo)

Parameters

propertyInfo PropertyInfo

Returns

DataGridColumn