Show / Hide Table of Contents

    Class NavigationExtensions

    Extension methods for the creation of navigation sections.

    Inheritance
    System.Object
    NavigationExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ChameleonForms.Component
    Assembly: ChameleonForms.dll
    Syntax
    public static class NavigationExtensions

    Methods

    | Improve this Doc View Source

    BeginNavigation<TModel>(IForm<TModel>)

    Creates a navigation section.

    Declaration
    public static Navigation<TModel> BeginNavigation<TModel>(this IForm<TModel> form)
    Parameters
    Type Name Description
    IForm<TModel> form

    The form the navigation is being created in

    Returns
    Type Description
    Navigation<TModel>

    The form navigation

    Type Parameters
    Name Description
    TModel

    The view model type for the current view

    Examples

    @using (var n = f.BeginNavigation()) { @n.Submit(&quot;Previous&quot;, "previous") @n.Submit(&quot;Save&quot;, "save") @n.Submit(&quot;Next&quot;, "next") }

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