• 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 DynamicListEditorOptions

    Represents different options that can be used when displaying a DynamicList<TViewModel, TOptions> for edigint. Instances of this class are normally created internally by the library when calling the ListEditorFor<TModel, TValue>(IHtmlHelper<TModel>, Expression<Func<TModel, TValue>>, String, String, String, String, String, String, Object, ListRenderMode, NewItemMethod) extension method provided by this library.

    Inheritance
    Object
    DynamicListOptions
    DynamicListEditorOptions
    Inherited Members
    DynamicListOptions.ItemTemplate
    DynamicListOptions.ItemContainerTemplate
    DynamicListOptions.ListTemplate
    DynamicListOptions.Mode
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: DynamicVML.Options
    Assembly: DynamicVML.dll
    Syntax
    public class DynamicListEditorOptions : DynamicListOptions
    Remarks

    An instance of this class may be present in the ViewData dictionaries for your view. If you would like to access this object, use the value of ListEditorParameters as the ViewData key.

    Properties

    | Improve this Doc View Source

    ActionUrl

    Gets or sets the path to your controller's action which will be responsible for rendering a new item to be added to the list. Please see the sample applications for an example on how they are set up.

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

    AddNewItemText

    Gets or sets the text that gets displayed on the "Add New Item" link that will call the server to dynamically add a new item to the list. The default is to use "Add new {name of your view model}".

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

    Method

    Gets or sets whether to use Get or Post when requesting new list items from the server. Default is to use Get.

    Declaration
    public NewItemMethod? Method { get; set; }
    Property Value
    Type Description
    Nullable<NewItemMethod>

    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>)

    See Also

    DynamicListDisplayOptions
    • 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.