Renders an edit component.
Class: YetaWF.Core.Components.YetaWFComponentExtender
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static Task<string> ForEditAsync( this YHtmlHelper htmlHelper, object container, string propertyName, object? HtmlAttributes = null, bool Validation = true, string? UIHint = 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.
HtmlAttributes
A collection of attributes.
Validation
Defines whether client-side validation is used.
The component name used for rendering which identities the component. This may be null, in which case the property's UIHintAttribute is used instead.
Returns HTML with the rendered component.
See Also YetaWF.Core.Components.YetaWFComponentExtender ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com