Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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 | ||
return | void |
protected DisplayNameToColumnTitle ( string displayName ) : string | ||
displayName | string | |
return | 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]. |
return | void |
protected GenerateChildrenDelegates ( TreeListView tlv, |
||
tlv | TreeListView | |
pinfo | ||
return | void |
public static GenerateColumns ( |
||
type | ||
return | IList |
public GenerateColumns ( |
||
type | ||
allProperties | bool | Will columns be generated for properties that are not marked with [OLVColumn]. |
return | IList |
public static GenerateColumns ( |
||
olv | The ObjectListView to modify | |
enumerable | IEnumerable | The collection whose first element will be used to generate columns. |
return | 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]. |
return | void |
public static GenerateColumns ( |
||
olv | The ObjectListView to modify | |
type | The model type whose attributes will be considered. | |
return | 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]. |
return | void |
protected MakeColumn ( string aspectName, string title, BrightIdeasSoftware.OLVColumnAttribute attr ) : OLVColumn | ||
aspectName | string | |
title | string | |
attr | BrightIdeasSoftware.OLVColumnAttribute | |
return | OLVColumn |
protected MakeColumn ( string aspectName, string title, bool editable, |
||
aspectName | string | |
title | string | |
editable | bool | |
propertyType | ||
attr | BrightIdeasSoftware.OLVColumnAttribute | |
return | OLVColumn |
protected MakeColumnFromAttribute ( |
||
pinfo | ||
attr | BrightIdeasSoftware.OLVColumnAttribute | |
return | OLVColumn |
public MakeColumnFromPropertyDescriptor ( |
||
pd | ||
return | OLVColumn |
protected MakeColumnFromPropertyInfo ( |
||
pinfo | ||
return | OLVColumn |
public PostCreateColumns ( |
||
olv | ||
return | void |
protected ReplaceColumns ( |
||
olv | ||
columns | IList |
|
return | void |
protected TryGenerateChildrenDelegates ( TreeListView tlv, |
||
tlv | TreeListView | |
type | ||
return | void |