Show / Hide Table of Contents

Class PropertyEditorControl

Inheritance
object
Control
WebControl
PropertyEditorControl
CollectionEditorControl
SettingsEditorControl
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer
Inherited Members
WebControl.AddAttributesToRender(HtmlTextWriter)
WebControl.ApplyStyle(Style)
WebControl.CopyBaseAttributes(WebControl)
WebControl.CreateControlStyle()
WebControl.LoadViewState(object)
WebControl.TrackViewState()
WebControl.MergeStyle(Style)
WebControl.Render(HtmlTextWriter)
WebControl.RenderBeginTag(HtmlTextWriter)
WebControl.RenderEndTag(HtmlTextWriter)
WebControl.RenderContents(HtmlTextWriter)
WebControl.SaveViewState()
WebControl.AccessKey
WebControl.Attributes
WebControl.BackColor
WebControl.BorderColor
WebControl.BorderWidth
WebControl.BorderStyle
WebControl.ControlStyle
WebControl.ControlStyleCreated
WebControl.CssClass
WebControl.DisabledCssClass
WebControl.Style
WebControl.Enabled
WebControl.EnableTheming
WebControl.Font
WebControl.ForeColor
WebControl.HasAttributes
WebControl.Height
WebControl.IsEnabled
WebControl.SupportsDisabledAttribute
WebControl.SkinID
WebControl.TabIndex
WebControl.TagName
WebControl.ToolTip
WebControl.Width
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
Control.OnDataBinding(EventArgs)
Control.DataBind(bool)
Control.DataBindChildren()
Control.AddParsedSubObject(object)
Control.EnsureID()
Control.OnInit(EventArgs)
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.LoadControlState(object)
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.OnLoad(EventArgs)
Control.BuildProfileTree(string, bool)
Control.SaveControlState()
Control.RenderChildren(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter, ControlAdapter)
Control.OnUnload(EventArgs)
Control.Dispose()
Control.RaiseBubbleEvent(object, EventArgs)
Control.OnBubbleEvent(object, EventArgs)
Control.AddedControl(Control, int)
Control.CreateControlCollection()
Control.CreateChildControls()
Control.ResolveUrl(string)
Control.ResolveClientUrl(string)
Control.FindControl(string)
Control.FindControl(string, int)
Control.GetDesignModeState()
Control.HasControls()
Control.IsLiteralContent()
Control.EnsureChildControls()
Control.RemovedControl(Control)
Control.SetDesignModeState(IDictionary)
Control.SetRenderMethodDelegate(RenderMethod)
Control.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.EnableViewState
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class PropertyEditorControl : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, INamingContainer

Constructors

PropertyEditorControl()

Declaration
[Obsolete("Deprecated in DotNetNuke 10.0.0. Please use overload with IServiceProvider. Scheduled removal in v12.0.0.")]
public PropertyEditorControl()

PropertyEditorControl(IServiceProvider)

Declaration
public PropertyEditorControl(IServiceProvider serviceProvider)
Parameters
Type Name Description
IServiceProvider serviceProvider

Properties

AutoGenerate

Declaration
public bool AutoGenerate { get; set; }
Property Value
Type Description
bool

DataSource

Declaration
[Browsable(false)]
public object DataSource { get; set; }
Property Value
Type Description
object

DisplayMode

Declaration
public EditorDisplayMode DisplayMode { get; set; }
Property Value
Type Description
EditorDisplayMode

EditControlStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style EditControlStyle { get; }
Property Value
Type Description
Style

EditControlWidth

Declaration
[Browsable(true)]
public Unit EditControlWidth { get; set; }
Property Value
Type Description
Unit

EditMode

Declaration
public PropertyEditorMode EditMode { get; set; }
Property Value
Type Description
PropertyEditorMode

EnableClientValidation

Declaration
public bool EnableClientValidation { get; set; }
Property Value
Type Description
bool

ErrorStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style ErrorStyle { get; }
Property Value
Type Description
Style

Fields

Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
public ArrayList Fields { get; }
Property Value
Type Description
ArrayList

GroupByMode

Declaration
public GroupByMode GroupByMode { get; set; }
Property Value
Type Description
GroupByMode

GroupHeaderIncludeRule

Declaration
[Browsable(true)]
public bool GroupHeaderIncludeRule { get; set; }
Property Value
Type Description
bool

GroupHeaderStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style GroupHeaderStyle { get; }
Property Value
Type Description
Style

Groups

Declaration
public string Groups { get; set; }
Property Value
Type Description
string

HelpDisplayMode

Declaration
public HelpDisplayMode HelpDisplayMode { get; set; }
Property Value
Type Description
HelpDisplayMode

HelpStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style HelpStyle { get; }
Property Value
Type Description
Style

IsDirty

Declaration
[Browsable(false)]
public bool IsDirty { get; }
Property Value
Type Description
bool

IsValid

Declaration
[Browsable(false)]
public bool IsValid { get; }
Property Value
Type Description
bool

ItemStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style ItemStyle { get; }
Property Value
Type Description
Style

LabelMode

Declaration
public LabelMode LabelMode { get; set; }
Property Value
Type Description
LabelMode

LabelStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style LabelStyle { get; }
Property Value
Type Description
Style

LabelWidth

Declaration
[Browsable(true)]
public Unit LabelWidth { get; set; }
Property Value
Type Description
Unit

LocalResourceFile

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
string

RequiredUrl

Declaration
public string RequiredUrl { get; set; }
Property Value
Type Description
string

ShowRequired

Declaration
public bool ShowRequired { get; set; }
Property Value
Type Description
bool

ShowVisibility

Declaration
public bool ShowVisibility { get; set; }
Property Value
Type Description
bool

SortMode

Declaration
public PropertySortType SortMode { get; set; }
Property Value
Type Description
PropertySortType

TagKey

Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
HtmlTextWriterTag
Overrides
WebControl.TagKey

UnderlyingDataSource

Declaration
protected virtual IEnumerable UnderlyingDataSource { get; }
Property Value
Type Description
IEnumerable

User

Declaration
public UserInfo User { get; set; }
Property Value
Type Description
UserInfo

VisibilityStyle

Declaration
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style VisibilityStyle { get; }
Property Value
Type Description
Style

Methods

AddEditorRow(object)

Declaration
protected virtual void AddEditorRow(object obj)
Parameters
Type Name Description
object obj

AddEditorRow(Panel, object)

Declaration
protected virtual void AddEditorRow(Panel container, object obj)
Parameters
Type Name Description
Panel container
object obj

AddEditorRow(Table, object)

Declaration
protected virtual void AddEditorRow(Table table, object obj)
Parameters
Type Name Description
Table table
object obj

AddEditorRow(Table, string, IEditorInfoAdapter)

Declaration
protected void AddEditorRow(Table table, string name, IEditorInfoAdapter adapter)
Parameters
Type Name Description
Table table
string name
IEditorInfoAdapter adapter

AddEditorRow(WebControl, string, IEditorInfoAdapter)

Declaration
protected void AddEditorRow(WebControl container, string name, IEditorInfoAdapter adapter)
Parameters
Type Name Description
WebControl container
string name
IEditorInfoAdapter adapter

AddFields()

Declaration
protected virtual void AddFields()

AddFields(Table)

Declaration
protected virtual void AddFields(Table tbl)
Parameters
Type Name Description
Table tbl

AddHeader(Table, string)

Declaration
protected virtual void AddHeader(Table tbl, string header)
Parameters
Type Name Description
Table tbl
string header

CollectionItemAdded(object, PropertyEditorEventArgs)

Declaration
protected virtual void CollectionItemAdded(object sender, PropertyEditorEventArgs e)
Parameters
Type Name Description
object sender
PropertyEditorEventArgs e

CollectionItemDeleted(object, PropertyEditorEventArgs)

Declaration
protected virtual void CollectionItemDeleted(object sender, PropertyEditorEventArgs e)
Parameters
Type Name Description
object sender
PropertyEditorEventArgs e

CreateEditor()

Declaration
protected virtual void CreateEditor()

DataBind()

Declaration
public override void DataBind()
Overrides
Control.DataBind()

EditorItemCreated(object, PropertyEditorItemEventArgs)

Declaration
protected virtual void EditorItemCreated(object sender, PropertyEditorItemEventArgs e)
Parameters
Type Name Description
object sender
PropertyEditorItemEventArgs e

GetCategory(object)

Declaration
protected virtual string GetCategory(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
string

GetGroups(IEnumerable)

Declaration
protected virtual string[] GetGroups(IEnumerable arrObjects)
Parameters
Type Name Description
IEnumerable arrObjects
Returns
Type Description
string[]

GetRowVisibility(object)

Declaration
protected virtual bool GetRowVisibility(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool

ListItemChanged(object, PropertyEditorEventArgs)

Declaration
protected virtual void ListItemChanged(object sender, PropertyEditorEventArgs e)
Parameters
Type Name Description
object sender
PropertyEditorEventArgs e

OnItemAdded(PropertyEditorEventArgs)

Declaration
protected virtual void OnItemAdded(PropertyEditorEventArgs e)
Parameters
Type Name Description
PropertyEditorEventArgs e

OnItemCreated(PropertyEditorItemEventArgs)

Declaration
protected virtual void OnItemCreated(PropertyEditorItemEventArgs e)
Parameters
Type Name Description
PropertyEditorItemEventArgs e

OnItemDeleted(PropertyEditorEventArgs)

Declaration
protected virtual void OnItemDeleted(PropertyEditorEventArgs e)
Parameters
Type Name Description
PropertyEditorEventArgs e

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnPreRender(EventArgs)

Events

ItemAdded

Declaration
public event PropertyChangedEventHandler ItemAdded
Event Type
Type Description
PropertyChangedEventHandler

ItemCreated

Declaration
public event EditorCreatedEventHandler ItemCreated
Event Type
Type Description
EditorCreatedEventHandler

ItemDeleted

Declaration
public event PropertyChangedEventHandler ItemDeleted
Event Type
Type Description
PropertyChangedEventHandler

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS