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

    Show / Hide Table of Contents

    Class ToggleButtonItem

    Class representing a toggle item in the plugin UI.

    Inheritance
    System.Object
    ButtonItem
    ToggleButtonItem
    Inherited Members
    ButtonItem.Caption
    ButtonItem.Icon
    ButtonItem.StandardIcon
    ButtonItem.IsEnabled
    ButtonItem.IsVisible
    ButtonItem.Data1
    ButtonItem.CommandId
    ButtonItem.Data2
    ButtonItem.ItemData
    ButtonItem.ConfirmationPrompt
    ButtonItem.CreateInBottomPanel
    ButtonItem.SubMenuButtons
    ButtonItem.CanShowAsPageButton
    ButtonItem.CanHideInCompactView
    Namespace: Emby.Web.GenericEdit.Elements
    Assembly: Emby.Web.GenericEdit.dll
    Syntax
    public class ToggleButtonItem : ButtonItem

    Constructors

    ToggleButtonItem()

    Initializes a new instance of the ToggleButtonItem class.

    Declaration
    public ToggleButtonItem()

    ToggleButtonItem(String)

    Initializes a new instance of the ToggleButtonItem class.

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

    The caption.

    Properties

    IsChecked

    Gets or sets a value indicating whether the toggle is ON or OFF.

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

    true if the toggle is ON; otherwise, false.

    IsToogle

    Gets a value indicating whether this instance is toogle.

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

    true if this instance is toogle; otherwise, false.

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)

    See Also

    ButtonItem
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.