Class PropertyEditorControl
  
  
  
    Inheritance
    
    
    
    PropertyEditorControl
      
      
   
  
  
  
  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
  
  Properties
  
  AutoGenerate
  
  
  Declaration
  
    public bool AutoGenerate { get; set; }
   
  Property Value
  
  
  DataSource
  
  
  Declaration
  
    [Browsable(false)]
public object DataSource { get; set; }
   
  Property Value
  
  
  DisplayMode
  
  
  Declaration
  
    public EditorDisplayMode DisplayMode { get; set; }
   
  Property Value
  
  
  EditControlStyle
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style EditControlStyle { get; }
   
  Property Value
  
  
  EditControlWidth
  
  
  Declaration
  
    [Browsable(true)]
public Unit EditControlWidth { get; set; }
   
  Property Value
  
  
  EditMode
  
  
  Declaration
  
    public PropertyEditorMode EditMode { get; set; }
   
  Property Value
  
  
  EnableClientValidation
  
  
  Declaration
  
    public bool EnableClientValidation { get; set; }
   
  Property Value
  
  
  ErrorStyle
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style ErrorStyle { get; }
   
  Property Value
  
  
  Fields
  
  
  Declaration
  
    [PersistenceMode(PersistenceMode.InnerProperty)]
public ArrayList Fields { get; }
   
  Property Value
  
  
  GroupByMode
  
  
  Declaration
  
    public GroupByMode GroupByMode { get; set; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    [Browsable(true)]
public bool GroupHeaderIncludeRule { get; set; }
   
  Property Value
  
  
  
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style GroupHeaderStyle { get; }
   
  Property Value
  
  
  Groups
  
  
  Declaration
  
    public string Groups { get; set; }
   
  Property Value
  
  
  HelpDisplayMode
  
  
  Declaration
  
    public HelpDisplayMode HelpDisplayMode { get; set; }
   
  Property Value
  
  
  HelpStyle
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style HelpStyle { get; }
   
  Property Value
  
  
  IsDirty
  
  
  Declaration
  
    [Browsable(false)]
public bool IsDirty { get; }
   
  Property Value
  
  
  IsValid
  
  
  Declaration
  
    [Browsable(false)]
public bool IsValid { get; }
   
  Property Value
  
  
  ItemStyle
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style ItemStyle { get; }
   
  Property Value
  
  
  LabelMode
  
  
  Declaration
  
    public LabelMode LabelMode { get; set; }
   
  Property Value
  
  
  LabelStyle
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style LabelStyle { get; }
   
  Property Value
  
  
  LabelWidth
  
  
  Declaration
  
    [Browsable(true)]
public Unit LabelWidth { get; set; }
   
  Property Value
  
  
  LocalResourceFile
  
  
  Declaration
  
    public string LocalResourceFile { get; set; }
   
  Property Value
  
  
  RequiredUrl
  
  
  Declaration
  
    public string RequiredUrl { get; set; }
   
  Property Value
  
  
  ShowRequired
  
  
  Declaration
  
    public bool ShowRequired { get; set; }
   
  Property Value
  
  
  ShowVisibility
  
  
  Declaration
  
    public bool ShowVisibility { get; set; }
   
  Property Value
  
  
  SortMode
  
  
  Declaration
  
    public PropertySortType SortMode { get; set; }
   
  Property Value
  
  
  TagKey
  
  
  Declaration
  
    protected override HtmlTextWriterTag TagKey { get; }
   
  Property Value
  
  Overrides
  
  
  UnderlyingDataSource
  
  
  Declaration
  
    protected virtual IEnumerable UnderlyingDataSource { get; }
   
  Property Value
  
  
  User
  
  
  Declaration
  
    public UserInfo User { get; set; }
   
  Property Value
  
  
  VisibilityStyle
  
  
  Declaration
  
    [Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Style VisibilityStyle { get; }
   
  Property Value
  
  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
  
  
  AddEditorRow(Table, object)
  
  
  Declaration
  
    protected virtual void AddEditorRow(Table table, object obj)
   
  Parameters
  
  
  AddEditorRow(Table, string, IEditorInfoAdapter)
  
  
  Declaration
  
    protected void AddEditorRow(Table table, string name, IEditorInfoAdapter adapter)
   
  Parameters
  
  
  AddEditorRow(WebControl, string, IEditorInfoAdapter)
  
  
  Declaration
  
    protected void AddEditorRow(WebControl container, string name, IEditorInfoAdapter adapter)
   
  Parameters
  
  
  AddFields()
  
  
  Declaration
  
    protected virtual void AddFields()
   
  
  AddFields(Table)
  
  
  Declaration
  
    protected virtual void AddFields(Table tbl)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Table | 
        tbl | 
         | 
      
    
  
  
  
  
  
  Declaration
  
    protected virtual void AddHeader(Table tbl, string header)
   
  Parameters
  
  
  CollectionItemAdded(object, PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void CollectionItemAdded(object sender, PropertyEditorEventArgs e)
   
  Parameters
  
  
  CollectionItemDeleted(object, PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void CollectionItemDeleted(object sender, PropertyEditorEventArgs e)
   
  Parameters
  
  
  CreateEditor()
  
  
  Declaration
  
    protected virtual void CreateEditor()
   
  
  DataBind()
  
  
  Declaration
  
    public override void DataBind()
   
  Overrides
  
  
  EditorItemCreated(object, PropertyEditorItemEventArgs)
  
  
  Declaration
  
    protected virtual void EditorItemCreated(object sender, PropertyEditorItemEventArgs e)
   
  Parameters
  
  
  GetCategory(object)
  
  
  Declaration
  
    protected virtual string GetCategory(object obj)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | object | 
        obj | 
         | 
      
    
  
  Returns
  
  
  GetGroups(IEnumerable)
  
  
  Declaration
  
    protected virtual string[] GetGroups(IEnumerable arrObjects)
   
  Parameters
  
  Returns
  
  
  GetRowVisibility(object)
  
  
  Declaration
  
    protected virtual bool GetRowVisibility(object obj)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | object | 
        obj | 
         | 
      
    
  
  Returns
  
  
  ListItemChanged(object, PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void ListItemChanged(object sender, PropertyEditorEventArgs e)
   
  Parameters
  
  
  OnItemAdded(PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void OnItemAdded(PropertyEditorEventArgs e)
   
  Parameters
  
  
  OnItemCreated(PropertyEditorItemEventArgs)
  
  
  Declaration
  
    protected virtual void OnItemCreated(PropertyEditorItemEventArgs e)
   
  Parameters
  
  
  OnItemDeleted(PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void OnItemDeleted(PropertyEditorEventArgs e)
   
  Parameters
  
  
  OnPreRender(EventArgs)
  
  
  Declaration
  
    protected override void OnPreRender(EventArgs e)
   
  Parameters
  
  Overrides
  
  Events
  ItemAdded
  
  
  Declaration
  
    public event PropertyChangedEventHandler ItemAdded
   
  Event Type
  
  ItemCreated
  
  
  Declaration
  
    public event EditorCreatedEventHandler ItemCreated
   
  Event Type
  
  ItemDeleted
  
  
  Declaration
  
    public event PropertyChangedEventHandler ItemDeleted
   
  Event Type
  
  Implements
  
  
  
  
  
  
  
  
  
  
  Extension Methods