PropertyMetadataBuilderExtensions.NewItemInitializer<T, TItem, TValue>(PropertyMetadataBuilder<T, ICollection<TItem>>, Func<TValue>, String, String) Method
Namespace: DevExpress.Mvvm.DataAnnotations
Assembly: DevExpress.Mvvm.v24.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
public static PropertyMetadataBuilder<T, ICollection<TItem>> NewItemInitializer<T, TItem, TValue>(
this PropertyMetadataBuilder<T, ICollection<TItem>> builder,
Func<TValue> createDelegate,
string name = null,
string description = null
)
Parameters
Name | Type |
---|---|
builder | PropertyMetadataBuilder<T, ICollection<TItem>> |
createDelegate | Func<TValue> |
Optional Parameters
Name | Type | Default |
---|---|---|
name | String | null |
description | String | null |
Type Parameters
Name |
---|
T |
TItem |
TValue |
Returns
Type |
---|
PropertyMetadataBuilder<T, ICollection<TItem>> |
See Also