Table of Contents

Method GetValidBasePropRegistry

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetValidBasePropRegistry(Type?, PropertyInfo?, Func<IPropertyGridPropInfoRegistry, bool>)

Gets IPropertyGridPropInfoRegistry item for the specified type and propInfo. Uses validator functions to check whether results is ok.

public static IPropertyGridPropInfoRegistry? GetValidBasePropRegistry(Type? type, PropertyInfo? propInfo, Func<IPropertyGridPropInfoRegistry, bool> validatorFunc)

Parameters

type Type

Type which contains the property.

propInfo PropertyInfo

Property information.

validatorFunc Func<IPropertyGridPropInfoRegistry, bool>

Validator function.

Returns

IPropertyGridPropInfoRegistry

Remarks

This method also searches for the result in all base types of the type.