Table of Contents

Method RegisterCustomValueGetter

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

RegisterCustomValueGetter(string, Type, Func<DesignItemProperty, object>, Type)

Register custom getter method for the given property.

public static void RegisterCustomValueGetter(string propertyName, Type propertyType, Func<DesignItemProperty, object> getter, Type declaringType = null)

Parameters

propertyName string

Name of the property to process.

propertyType Type

Type of the property.

getter Func<DesignItemProperty, object>

A callback method used to retrieve a value of the specified property.

declaringType Type

Type where this property is declared, null by default.