Class CollectionEditorControl
The CollectionEditorControl control provides a Control to display Collection Properties.
Implements
Inherited Members
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CollectionEditorControl : PropertyEditorControl
Properties
| Improve this Doc View SourceCategoryDataField
Gets or sets the value of the Category.
Declaration
public string CategoryDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Category of the Field. |
EditorDataField
Gets or sets the value of the Editor Type to use.
Declaration
public string EditorDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Editor Type of the Field. |
LengthDataField
Gets or sets the value of the Field that determines the length.
Declaration
public string LengthDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
NameDataField
Gets or sets the value of the Field that is bound to the Label.
Declaration
public string NameDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
RequiredDataField
Gets or sets the value of the Field that determines whether an item is required.
Declaration
public string RequiredDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
TypeDataField
Gets or sets the value of the Field that is bound to the EditControl.
Declaration
public string TypeDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
UnderlyingDataSource
Gets the Underlying DataSource.
Declaration
protected override IEnumerable UnderlyingDataSource { get; }
Property Value
Type | Description |
---|---|
IEnumerable | An IEnumerable. |
Overrides
| Improve this Doc View SourceValidationExpressionDataField
Gets or sets and sets the value of the Field that is bound to the EditControl's Expression DynamicContentValidator.
Declaration
public string ValidationExpressionDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
ValueDataField
Gets or sets the value of the Field that is bound to the EditControl.
Declaration
public string ValueDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
VisibilityDataField
Gets or sets the value of the Field that determines the visibility.
Declaration
public string VisibilityDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
VisibleDataField
Gets or sets the value of the Field that determines whether the control is visible.
Declaration
public string VisibleDataField { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the Name of the Field. |
Methods
| Improve this Doc View SourceAddEditorRow(Panel, Object)
The CollectionEditorControl control provides a Control to display Collection Properties.
Declaration
protected override void AddEditorRow(Panel container, object obj)
Parameters
Type | Name | Description |
---|---|---|
Panel | container | |
System.Object | obj |
Overrides
| Improve this Doc View SourceAddEditorRow(Object)
The CollectionEditorControl control provides a Control to display Collection Properties.
Declaration
protected override void AddEditorRow(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Overrides
| Improve this Doc View SourceAddEditorRow(Table, Object)
AddEditorRow builds a sigle editor row and adds it to the Table.
Declaration
protected override void AddEditorRow(Table table, object obj)
Parameters
Type | Name | Description |
---|---|---|
Table | table | The Table Control to add the row to. |
System.Object | obj | Row Data Info. |
Overrides
Remarks
This method is protected so that classes that inherit from PropertyEditor can modify how the Row is displayed.
GetCategory(Object)
GetCategory gets the Category of an object.
Declaration
protected override string GetCategory(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.String | The category name or NullString. |
Overrides
| Improve this Doc View SourceGetGroups(IEnumerable)
GetGroups gets an array of Groups/Categories from the DataSource.
Declaration
protected override string[] GetGroups(IEnumerable arrObjects)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | arrObjects |
Returns
Type | Description |
---|---|
System.String[] | An array of group/category names. |
Overrides
| Improve this Doc View SourceGetRowVisibility(Object)
GetRowVisibility determines the Visibility of a row in the table.
Declaration
protected override bool GetRowVisibility(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The property. |
Returns
Type | Description |
---|---|
System.Boolean | true if the row is visible, otherwise false. |