Renders a display component.
Class: YetaWF.Core.Components.YetaWFComponentExtender
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static Task<string> ForDisplayComponentAsync( this YHtmlHelper htmlHelper, object container, string propertyName, object? propertyValue, string? uiHint, object? HtmlAttributes = null );
htmlHelper
The HtmlHelper instance.
container
The container model where the specified property propertyName is located.
propertyName
The property name for which a component is rendered.
propertyValue
The property value.
uiHint
The component name used for rendering which identities the component. This may be null, in which case the property's UIHintAttribute is used instead.
HtmlAttributes
A collection of attributes.
Returns HTML with the rendered component.
See Also YetaWF.Core.Components.YetaWFComponentExtender ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com