Emby Developer Emby Developer
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class EditorBase

    Inheritance
    System.Object
    EditorBase
    EditorBoolean
    EditorButtonGroup
    EditorButtonItem
    EditorCaptionItem
    EditorDateTime
    EditorDxGrid
    EditorFilePicker
    EditorFolderPicker
    EditorGroup
    EditorItemList
    EditorNumeric
    EditorProgressItem
    EditorRadioGroup
    EditorSelectBase
    EditorSpacerItem
    EditorStatusItem
    EditorText
    Namespace: Emby.Web.GenericEdit.Editors
    Assembly: Emby.Web.GenericEdit.dll
    Syntax
    public abstract class EditorBase

    Constructors

    EditorBase()

    Initializes a new instance of the System.Object class.

    Declaration
    protected EditorBase()

    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
    Type Description
    EditorTypes

    ExtensionButtons

    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
    Type Description
    System.Collections.Generic.List<EditorButtonItem>

    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

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.