Show / Hide Table of Contents

    Interface IForm

    Interface for a modeless cast of a Chameleon Form.

    Namespace: ChameleonForms
    Assembly: ChameleonForms.dll
    Syntax
    public interface IForm

    Methods

    | Improve this Doc View Source

    CreatePartialForm<TPartialModel>(LambdaExpression, IHtmlHelper<TPartialModel>)

    Returns a wrapped ChameleonForms.PartialViewForm`2 for the given partial view information.

    Declaration
    IForm<TPartialModel> CreatePartialForm<TPartialModel>(LambdaExpression partialModelExpression, IHtmlHelper<TPartialModel> partialViewHelper)
    Parameters
    Type Name Description
    System.Linq.Expressions.LambdaExpression partialModelExpression

    The expression that identifies the partial model

    Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TPartialModel> partialViewHelper

    The HTML Helper from the partial view

    Returns
    Type Description
    IForm<TPartialModel>

    The PartialViewForm wrapping the original form

    Type Parameters
    Name Description
    TPartialModel

    The model type of the partial view

    Extension Methods

    HtmlAttributesExtensions.ToHtmlAttributes(Object)
    • Improve this Doc
    • View Source
    Back to top © Copyright 2012-2020 MRCollective, Rob Moore, Matt Davies and the contributors to ChameleonForms.