Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFComponentExtender.IsSupported Method

Tests whether a valid component can be found for a container's property.

Class: YetaWF.Core.Components.YetaWFComponentExtender
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public static bool IsSupported(
    object container,
    string UIHint );
public static bool IsSupported(
    object container,
    string propertyName,
    string UIHint );

Parameters

container

The container model.

UIHint

A component name. May be null to extract the component name from the container's property.

propertyName

The property name.

Return Value

Returns true if a valid component can be found.

Remarks

This is used by the framework for debugging/testing purposes only.

See Also YetaWF.Core.Components.YetaWFComponentExtender ClassYetaWF.Core Overview