Class ItemRelationListEditor
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a Item relation list editor.
[Editor("Item relation list")]
public class ItemRelationListEditor : Editor, IListEditor, IDropDownOptions
- Inheritance
-
ItemRelationListEditor
- Implements
- Inherited Members
Properties
DataType
Gets the data type for this editor.
public override Type DataType { get; }
Property Value
Height
[Obsolete("Do not use")]
public int Height { get; set; }
Property Value
InstantSave
[Obsolete("Do not use")]
public bool InstantSave { get; set; }
Property Value
Items
Gets or sets the item fields items.
public IList<ListItem> Items { get; set; }
Property Value
ItemSourse
[AddInParameter("Item source")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=std editor-parameter; none=False")]
public string ItemSourse { get; set; }
Property Value
ItemType
[AddInParameter("Item type")]
[AddInParameterEditor(typeof(ItemListParameterEditor), "inputClass=std editor-parameter")]
public string ItemType { get; set; }
Property Value
MaxNumber
[AddInParameter("Maximum number of items")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string MaxNumber { get; set; }
Property Value
MinNumber
[AddInParameter("Minumum number of items")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=std editor-parameter")]
public string MinNumber { get; set; }
Property Value
PageNumber
[Obsolete("Do not use")]
public int PageNumber { get; set; }
Property Value
PageSize
[Obsolete("Do not use")]
public int PageSize { get; set; }
Property Value
SearchQuery
[Obsolete("Do not use")]
public string SearchQuery { get; set; }
Property Value
ShowPaging
[Obsolete("Do not use")]
public bool ShowPaging { get; set; }
Property Value
ShowSearch
[Obsolete("Do not use")]
public bool ShowSearch { get; set; }
Property Value
SortBy
[AddInParameter("Sort by")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=std editor-parameter")]
public string SortBy { get; set; }
Property Value
SortOrder
[AddInParameter("Sort order")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "inputClass=std editor-parameter; none=False")]
public string SortOrder { get; set; }
Property Value
TopLimit
[Obsolete("Do not use")]
public int TopLimit { get; set; }
Property Value
Validators
Gets or sets the list of editor validators.
public override ValidatorCollection Validators { get; }
Property Value
Width
[Obsolete("Do not use")]
public int Width { get; set; }
Property Value
Methods
BeginEdit(EditorContext)
Enables the editor to populate its UI to the client and initiate the editing process.
[Obsolete("Do not use")]
public override void BeginEdit(EditorContext context)
Parameters
context
EditorContext- Editor context.
BeginEditFrontend(EditorContext)
ItemListEditor frontend rendering
[Obsolete("Do not use")]
public override void BeginEditFrontend(EditorContext context)
Parameters
context
EditorContext
EndEdit()
Returns the edited value.
[Obsolete("Do not use")]
public override object EndEdit()
Returns
- object
- The edited value.
EndEditFrontend()
Returns the edited value for frontend
[Obsolete("Do not use")]
public override object EndEditFrontend()
Returns
get_SortValuesStorage(string)
[Obsolete("Do not use")]
public static List<Tuple<string, object>> get_SortValuesStorage(string listId)
Parameters
listId
string
Returns
GetOptions(string)
Get options for editors with multiple values
public Hashtable GetOptions(string dropdownName)
Parameters
dropdownName
string
Returns
GetSortValues(string)
[Obsolete("Do not use")]
public static List<Tuple<string, object>> GetSortValues(string listId)
Parameters
listId
string
Returns
GetViewModelValue(object)
Gets the value as a collection of ItemViewModel
public override object GetViewModelValue(object value)
Parameters
value
object
Returns
RenderValue(EditorRenderingContext)
Renders value.
public override void RenderValue(EditorRenderingContext context)
Parameters
context
EditorRenderingContext- Editor rendering context.
set_SortValuesStorage(string, List<Tuple<string, object>>)
[Obsolete("Do not use")]
public static void set_SortValuesStorage(string listId, List<Tuple<string, object>> value)
Parameters
SetSortValues(string, List<Tuple<string, object>>)
[Obsolete("Do not use")]
public static void SetSortValues(string listId, List<Tuple<string, object>> values)