Class FieldEditorControl
  
  
  
    Inheritance
    
    
    
    FieldEditorControl
   
  
  
  
  Assembly: DotNetNuke.dll
  Syntax
  
    public class FieldEditorControl : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, INamingContainer
   
  Constructors
  
  FieldEditorControl()
  
  
  Declaration
  
    [Obsolete("Deprecated in DotNetNuke 10.0.0. Please use overload with IServiceProvider. Scheduled removal in v12.0.0.")]
public FieldEditorControl()
   
  
  FieldEditorControl(IServiceProvider)
  
  
  Declaration
  
    public FieldEditorControl(IServiceProvider serviceProvider)
   
  Parameters
  
  Properties
  
  DataField
  
  
  Declaration
  
    [Browsable(true)]
public string DataField { get; set; }
   
  Property Value
  
  
  DataSource
  
  
  Declaration
  
    [Browsable(false)]
public object DataSource { get; set; }
   
  Property Value
  
  
  EditControlStyle
  
  
  Declaration
  
    [Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
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
  
  
  Editor
  
  
  Declaration
  
    public EditControl Editor { get; }
   
  Property Value
  
  
  EditorDisplayMode
  
  
  Declaration
  
    public EditorDisplayMode EditorDisplayMode { get; set; }
   
  Property Value
  
  
  EditorInfoAdapter
  
  
  Declaration
  
    public IEditorInfoAdapter EditorInfoAdapter { get; set; }
   
  Property Value
  
  
  EditorTypeName
  
  
  Declaration
  
    public string EditorTypeName { get; set; }
   
  Property Value
  
  
  EnableClientValidation
  
  
  Declaration
  
    public bool EnableClientValidation { get; set; }
   
  Property Value
  
  
  ErrorStyle
  
  
  Declaration
  
    [Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style ErrorStyle { get; }
   
  Property Value
  
  
  HelpDisplayMode
  
  
  Declaration
  
    public HelpDisplayMode HelpDisplayMode { get; set; }
   
  Property Value
  
  
  HelpStyle
  
  
  Declaration
  
    [Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style HelpStyle { get; }
   
  Property Value
  
  
  IsDirty
  
  
  Declaration
  
    public bool IsDirty { get; }
   
  Property Value
  
  
  IsValid
  
  
  Declaration
  
    public bool IsValid { get; }
   
  Property Value
  
  
  LabelMode
  
  
  Declaration
  
    public LabelMode LabelMode { get; set; }
   
  Property Value
  
  
  LabelStyle
  
  
  Declaration
  
    [Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
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
  
  
  Required
  
  
  Declaration
  
    public bool Required { 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
  
  
  TagKey
  
  
  Declaration
  
    protected override HtmlTextWriterTag TagKey { get; }
   
  Property Value
  
  Overrides
  
  
  User
  
  
  Declaration
  
    public UserInfo User { get; set; }
   
  Property Value
  
  
  ValidationExpression
  
  
  Declaration
  
    public string ValidationExpression { get; set; }
   
  Property Value
  
  
  VisibilityStyle
  
  
  Declaration
  
    [Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style VisibilityStyle { get; }
   
  Property Value
  
  Methods
  
  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
  
  
  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
  
  
  Validate()
  
  
  Declaration
  
    public virtual void Validate()
   
  
  ValueChanged(object, PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void ValueChanged(object sender, PropertyEditorEventArgs e)
   
  Parameters
  
  
  VisibilityChanged(object, PropertyEditorEventArgs)
  
  
  Declaration
  
    protected virtual void VisibilityChanged(object sender, PropertyEditorEventArgs e)
   
  Parameters
  
  Events
  ItemAdded
  
  
  Declaration
  
    public event PropertyChangedEventHandler ItemAdded
   
  Event Type
  
  ItemChanged
  
  
  Declaration
  
    public event PropertyChangedEventHandler ItemChanged
   
  Event Type
  
  ItemCreated
  
  
  Declaration
  
    public event EditorCreatedEventHandler ItemCreated
   
  Event Type
  
  ItemDeleted
  
  
  Declaration
  
    public event PropertyChangedEventHandler ItemDeleted
   
  Event Type
  
  Implements
  
  
  
  
  
  
  
  
  
  
  Extension Methods