Class SpacerItem
Class representing a spacer item in the plugin UI.
Inheritance
System.Object
SpacerItem
Namespace: Emby.Web.GenericEdit.Elements
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class SpacerItem
Constructors
SpacerItem()
Initializes a new instance of the SpacerItem class.
Declaration
public SpacerItem()
SpacerItem(SpacerSize)
Initializes a new instance of the SpacerItem class.
Declaration
public SpacerItem(SpacerSize spacerSize)
Parameters
Type | Name | Description |
---|---|---|
SpacerSize | spacerSize | Size of the spacer. |
Properties
CanHideInCompactView
Gets or sets a value indicating whether the spacer can be hidden in views with limited screen space.
Declaration
public bool CanHideInCompactView { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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.
Size
Gets or sets the size.
Declaration
public SpacerSize Size { get; set; }
Property Value
Type | Description |
---|---|
SpacerSize | The size. |