Skip to main content
All docs
V24.1

PropertyMetadataBuilderExtensions.NewItemInitializer<T, TNewItem>(PropertyMetadataBuilder<T, IDictionary>, Func<ITypeDescriptorContext, IDictionary, KeyValuePair<Object, TNewItem>>, 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, IDictionary> NewItemInitializer<T, TNewItem>(
    this PropertyMetadataBuilder<T, IDictionary> builder,
    Func<ITypeDescriptorContext, IDictionary, KeyValuePair<object, TNewItem>> createDelegate,
    string name = null,
    string description = null
)

Parameters

Name Type
builder PropertyMetadataBuilder<T, IDictionary>
createDelegate Func<ITypeDescriptorContext, IDictionary, KeyValuePair<Object, TNewItem>>

Optional Parameters

Name Type Default
name String null
description String null

Type Parameters

Name
T
TNewItem

Returns

Type
PropertyMetadataBuilder<T, IDictionary>
See Also