Class EditorBase
Inheritance
System.Object
EditorBase
Assembly: Emby.Web.GenericEdit.dll
Syntax
public abstract class EditorBase
Constructors
EditorBase()
Initializes a new instance of the System.Object class.
Declaration
EditorBase(EditorTypes, String, String)
Declaration
protected EditorBase(EditorTypes editorType, string name, string parentId)
Parameters
| Type |
Name |
Description |
| EditorTypes |
editorType |
|
| System.String |
name |
|
| System.String |
parentId |
|
Properties
AllowEmpty
Declaration
public virtual bool AllowEmpty { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Description
Declaration
public string Description { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DescriptionSourceId
Gets or sets the id of a string property (attached via [IsDescriptionFor]
naming this editor's own property) whose live value is displayed as this editor's
description, refreshed dynamically whenever the value is re-pushed - in addition to (not
instead of) this editor's own static Description.
Declaration
public string DescriptionSourceId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DisplayName
Declaration
public string DisplayName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
EditorType
Declaration
public EditorTypes EditorType { get; set; }
Property Value
Gets or sets buttons attached to this editor (via [IsButtonFor] on a
ButtonItem property naming this editor's own property) - rendered
inline at the end of this editor's own control (e.g. next to a dropdown/select) instead of
as a separate, standalone button/group elsewhere in the form.
Declaration
public List<EditorButtonItem> ExtensionButtons { get; set; }
Property Value
FeatureRequiresPremiere
Declaration
public bool FeatureRequiresPremiere { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Id
Declaration
public string Id { get; }
Property Value
| Type |
Description |
| System.String |
|
IsAdvanced
Declaration
public virtual bool IsAdvanced { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsReadOnly
Declaration
public virtual bool IsReadOnly { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Name
Declaration
public string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ParentId
Declaration
public string ParentId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Extension Methods