Метод | Описание | |
---|---|---|
GenerateAndReplaceColumns ( |
Generate columns into the given ObjectListView that come from the given model object type.
|
|
GenerateColumns ( |
Generate a list of OLVColumns based on the public properties of the given type that have a OLVColumn attribute.
|
|
GenerateColumns ( |
Generate a list of OLVColumns based on the attributes of the given type If allProperties to true, all public properties will have a matching column generated. If allProperties is false, only properties that have a OLVColumn attribute will have a column generated.
|
|
GenerateColumns ( |
Replace all columns of the given ObjectListView with columns generated from the first member of the given enumerable. If the enumerable is empty or null, the ObjectListView will be cleared.
|
|
GenerateColumns ( |
Replace all columns of the given ObjectListView with columns generated from the first member of the given enumerable. If the enumerable is empty or null, the ObjectListView will be cleared.
|
|
GenerateColumns ( |
Generate columns into the given ObjectListView that come from the public properties of the given model object type.
|
|
GenerateColumns ( |
Generate columns into the given ObjectListView that come from the public properties of the given model object type.
|
|
MakeColumnFromPropertyDescriptor ( |
Make a column from the given PropertyDescriptor
|
|
PostCreateColumns ( |
Post process columns after creating them and adding them to the AllColumns collection.
|
Метод | Описание | |
---|---|---|
ConfigurePossibleBooleanColumn ( OLVColumn column, |
Configure the given column to show a checkbox if appropriate
|
|
DisplayNameToColumnTitle ( string displayName ) : string |
Convert a property name to a displayable title.
|
|
GenerateChildrenDelegates ( TreeListView tlv, |
Generate CanExpand and ChildrenGetter delegates from the given property.
|
|
MakeColumn ( string aspectName, string title, BrightIdeasSoftware.OLVColumnAttribute attr ) : OLVColumn |
Create a column.
|
|
MakeColumn ( string aspectName, string title, bool editable, |
||
MakeColumnFromAttribute ( |
Create a column from the given PropertyInfo and OLVColumn attribute
|
|
MakeColumnFromPropertyInfo ( |
Make a column from the given PropertyInfo
|
|
ReplaceColumns ( |
Replace all the columns in the given listview with the given list of columns.
|
|
TryGenerateChildrenDelegates ( TreeListView tlv, |
If this given type has an property marked with [OLVChildren], make delegates that will traverse that property as the children of an instance of the model
|
protected ConfigurePossibleBooleanColumn ( OLVColumn column, |
||
column | OLVColumn | |
propertyType | ||
Результат | void |
protected DisplayNameToColumnTitle ( string displayName ) : string | ||
displayName | string | |
Результат | string |
public GenerateAndReplaceColumns ( |
||
olv | The ObjectListView to modify | |
type | The model type whose attributes will be considered. | |
allProperties | bool | Will columns be generated for properties that are not marked with [OLVColumn]. |
Результат | void |
protected GenerateChildrenDelegates ( TreeListView tlv, |
||
tlv | TreeListView | |
pinfo | ||
Результат | void |
public static GenerateColumns ( |
||
type | ||
Результат | IList |
public GenerateColumns ( |
||
type | ||
allProperties | bool | Will columns be generated for properties that are not marked with [OLVColumn]. |
Результат | IList |
public static GenerateColumns ( |
||
olv | The ObjectListView to modify | |
enumerable | IEnumerable | The collection whose first element will be used to generate columns. |
Результат | void |
public static GenerateColumns ( |
||
olv | The ObjectListView to modify | |
enumerable | IEnumerable | The collection whose first element will be used to generate columns. |
allProperties | bool | Will columns be generated for properties that are not marked with [OLVColumn]. |
Результат | void |
public static GenerateColumns ( |
||
olv | The ObjectListView to modify | |
type | The model type whose attributes will be considered. | |
Результат | void |
public static GenerateColumns ( |
||
olv | The ObjectListView to modify | |
type | The model type whose attributes will be considered. | |
allProperties | bool | Will columns be generated for properties that are not marked with [OLVColumn]. |
Результат | void |
protected MakeColumn ( string aspectName, string title, BrightIdeasSoftware.OLVColumnAttribute attr ) : OLVColumn | ||
aspectName | string | |
title | string | |
attr | BrightIdeasSoftware.OLVColumnAttribute | |
Результат | OLVColumn |
protected MakeColumn ( string aspectName, string title, bool editable, |
||
aspectName | string | |
title | string | |
editable | bool | |
propertyType | ||
attr | BrightIdeasSoftware.OLVColumnAttribute | |
Результат | OLVColumn |
protected MakeColumnFromAttribute ( |
||
pinfo | ||
attr | BrightIdeasSoftware.OLVColumnAttribute | |
Результат | OLVColumn |
public MakeColumnFromPropertyDescriptor ( |
||
pd | ||
Результат | OLVColumn |
protected MakeColumnFromPropertyInfo ( |
||
pinfo | ||
Результат | OLVColumn |
public PostCreateColumns ( |
||
olv | ||
Результат | void |
protected ReplaceColumns ( |
||
olv | ||
columns | IList |
|
Результат | void |
protected TryGenerateChildrenDelegates ( TreeListView tlv, |
||
tlv | TreeListView | |
type | ||
Результат | void |