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 SourceBeginNavigation<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("Previous", "previous") @n.Submit("Save", "save") @n.Submit("Next", "next") }