Renders an edit component.
Class: YetaWF.Core.Components.YetaWFComponentExtender
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static Task<string> ForEditAsAsync( this YHtmlHelper htmlHelper, object container, string propertyName, string fieldName, object realPropertyContainer, string realProperty, object? model, 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.
fieldName
The HTML field name of the component.
realPropertyContainer
Instead of using the container container, this container model is used for rendering.
realProperty
Instead of using the property propertyName, this container model is used for rendering.
model
The container model.
uiHint
The component name used for rendering which identities the component.
HtmlAttributes
A collection of attributes.
Returns HTML with the rendered components.
This is used to render realProperty where propertyName should be rendered. This is typically used to render complex components in place of one simple property.
See Also YetaWF.Core.Components.YetaWFComponentExtender ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com