• Introduction
  • API Documentation
  • Sample Apps
  • GitHub

    Show / Hide Table of Contents
    • DynamicVML
      • AddNewDynamicItem
      • DynamicList<TViewModel, TOptions>
      • DynamicList<TViewModel>
      • DynamicListItem<TViewModel>
      • IDynamicList
      • IDynamicList<TValue>
      • IDynamicListItem
      • IDynamicListItem<TViewModel>
      • ListRenderMode
      • NewItemMethod
    • DynamicVML.Extensions
      • ControllerExtensions
      • EditorExtensions
      • EnumerableExtensions
      • ViewDataExtensions
    • DynamicVML.Internals
      • Constants
      • ItemDisplayParameters
      • ItemEditorParameters
      • ItemParameters
      • ListDisplayParameters
      • ListEditorParameters
      • ListParameters
      • Parameters
    • DynamicVML.Options
      • DynamicListAttribute
      • DynamicListDisplayOptions
      • DynamicListEditorOptions
      • DynamicListOptions

    Class ListEditorParameters

    Represents the actual parameters being used to render an editor for the list. An instance of this class will be stored in the ViewData object of your view under the key ListEditorParameters.

    Inheritance
    Object
    ListDisplayParameters
    ListEditorParameters
    Inherited Members
    ListDisplayParameters.List
    ListDisplayParameters.AdditionalViewData
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: DynamicVML.Internals
    Assembly: DynamicVML.dll
    Syntax
    public class ListEditorParameters : ListDisplayParameters

    Constructors

    | Improve this Doc View Source

    ListEditorParameters(ListParameters, Object, String, String, NewItemMethod)

    Creates a new instance of ListEditorParameters.

    Declaration
    public ListEditorParameters(ListParameters parameters, object additionalViewData, string actionUrl, string addNewItemText, NewItemMethod method)
    Parameters
    Type Name Description
    ListParameters parameters
    Object additionalViewData
    String actionUrl
    String addNewItemText
    NewItemMethod method

    Properties

    | Improve this Doc View Source

    ActionUrl

    Gets the actual ActionUrl being used.

    Declaration
    public string ActionUrl { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    AddNewItemText

    Gets the actual AddNewItemText being used.

    Declaration
    public string AddNewItemText { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Method

    Gets the actual Method being used.

    Declaration
    public NewItemMethod Method { get; }
    Property Value
    Type Description
    NewItemMethod

    Methods

    | Improve this Doc View Source

    GetActionInfo()

    Gets a string containing information about the item to be rendered and the controller action to be called, either as a query string (for when using Get or JSON (for when using Post. Those instructions will be passed to the JavaScript scripts in the view to call the controller using Ajax.

    Declaration
    public string GetActionInfo()
    Returns
    Type Description
    String

    A string containing instructions on how to call the controller using Ajax.

    | Improve this Doc View Source

    GetItemCreateParameters()

    Creates a new AddNewDynamicItem object based on the information stored in this instance.

    Declaration
    public AddNewDynamicItem GetItemCreateParameters()
    Returns
    Type Description
    AddNewDynamicItem

    A new AddNewDynamicItem object.

    Extension Methods

    EnumerableExtensions.ToDynamicList<TViewModel, TOptions>(TViewModel, String, TOptions)
    EnumerableExtensions.ToDynamicList<TViewModel>(TViewModel, String)
    EnumerableExtensions.ToDynamicList<TViewModel, TOptions>(TViewModel, String, Func<TViewModel, TOptions>)
    EnumerableExtensions.ToDynamicList<TViewModel, TOptions, TModel>(TModel, String, Func<TModel, TViewModel>, Func<TModel, TOptions>)
    EnumerableExtensions.ToDynamicList<TViewModel, TModel>(TModel, String, Func<TModel, TViewModel>)
    EnumerableExtensions.ToDynamicList<TViewModel, TOptions, TModel>(TModel, String, Func<TModel, TOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 César Roberto de Souza - All files are available under the MIT license except the logo, which comes from FontAwesome.