Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ButtonItem

    Inheritance
    System.Object
    ButtonItem
    ToggleButtonItem
    Namespace: Emby.Web.GenericEdit.Elements
    Assembly: Emby.Web.GenericEdit.dll
    Syntax
    public class ButtonItem

    Constructors

    ButtonItem()

    Declaration
    public ButtonItem()

    ButtonItem(List<ButtonItem>)

    Declaration
    public ButtonItem(List<ButtonItem> subMenuButtons)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ButtonItem> subMenuButtons

    ButtonItem(String)

    Declaration
    public ButtonItem(string caption)
    Parameters
    Type Name Description
    System.String caption

    Properties

    CanHideInCompactView

    Gets or sets a value indicating whether the button can be hidden in views with limited screen space.

    Declaration
    public bool CanHideInCompactView { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this button can be hidden; otherwise, false.

    Remarks

    This is intentended for hiding elements in views (like TV mnode), where screen space is limited.

    Apply this to non-essential elements only as there might be no way to make them visible at the client side.

    CanShowAsPageButton

    Gets or sets a value indicating whether the button can be moved to a common block of buttons on the page.

    Declaration
    public bool CanShowAsPageButton { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this button can be shown as page button; otherwise, false.

    Caption

    Declaration
    public string Caption { get; set; }
    Property Value
    Type Description
    System.String

    ConfirmationPrompt

    Declaration
    public string ConfirmationPrompt { get; set; }
    Property Value
    Type Description
    System.String

    CreateInBottomPanel

    Declaration
    public bool CreateInBottomPanel { get; set; }
    Property Value
    Type Description
    System.Boolean

    Data1

    Declaration
    public string Data1 { get; set; }
    Property Value
    Type Description
    System.String

    Data2

    Declaration
    public string Data2 { get; set; }
    Property Value
    Type Description
    System.String

    Icon

    Declaration
    public IconNames? Icon { get; set; }
    Property Value
    Type Description
    System.Nullable<IconNames>

    IsEnabled

    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsVisible

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    System.Boolean

    StandardIcon

    Declaration
    public StandardIcons? StandardIcon { get; set; }
    Property Value
    Type Description
    System.Nullable<StandardIcons>

    SubMenuButtons

    Declaration
    public List<ButtonItem> SubMenuButtons { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<ButtonItem>

    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.