Table of Contents

Method OverrideMetadata

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

OverrideMetadata(Type, PropertyMetadata)

Supply metadata for given type & run static constructors if needed.

public void OverrideMetadata(Type forType, PropertyMetadata typeMetadata)

Parameters

forType Type
typeMetadata PropertyMetadata

Remarks

The supplied metadata will be merged with the type's base metadata

OverrideMetadata(Type, PropertyMetadata, DependencyPropertyKey)

Supply metadata for a given type, overriding a property that is

read-only. If property is not read only, tells user to use the Plain Jane OverrideMetadata instead.

public void OverrideMetadata(Type forType, PropertyMetadata typeMetadata, DependencyPropertyKey key)

Parameters

forType Type
typeMetadata PropertyMetadata
key DependencyPropertyKey