Class EditorBuilder<TModel>
- Namespace
- Dynamicweb.CoreUI.Editors
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class EditorBuilder<TModel>
Type Parameters
TModel
- Inheritance
-
EditorBuilder<TModel>
- Inherited Members
-
Methods
EditorFor<TValue>(Expression<Func<TModel, TValue>>)
public EditorBase? EditorFor<TValue>(Expression<Func<TModel, TValue>> expression)
Parameters
expression
Expression<Func<TModel, TValue>>
Returns
- EditorBase
Type Parameters
TValue
EditorFor<TValue>(Expression<Func<TModel, TValue>>, string)
public EditorBase? EditorFor<TValue>(Expression<Func<TModel, TValue>> expression, string label)
Parameters
expression
Expression<Func<TModel, TValue>>
label
string
Returns
- EditorBase
Type Parameters
TValue
EditorFor<TValue>(Expression<Func<TModel, TValue>>, string?, TModel?)
public EditorBase? EditorFor<TValue>(Expression<Func<TModel, TValue>> expression, string? label, TModel? model)
Parameters
expression
Expression<Func<TModel, TValue>>
label
string
model
TModel
Returns
- EditorBase
Type Parameters
TValue
EditorFor<TValue>(Expression<Func<TModel, TValue>>, TModel)
public EditorBase? EditorFor<TValue>(Expression<Func<TModel, TValue>> expression, TModel model)
Parameters
expression
Expression<Func<TModel, TValue>>
model
TModel
Returns
- EditorBase
Type Parameters
TValue
NameFor<TValue>(Expression<Func<TModel, TValue>>)
public string NameFor<TValue>(Expression<Func<TModel, TValue>> expression)
Parameters
expression
Expression<Func<TModel, TValue>>
Returns
- string
Type Parameters
TValue