Class Panel
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The Panel is a container that can contain subobjects.
[Obsolete("This has been deprecated in API12")]
public class Panel : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourcePanel(EvasObject)
Creates and initializes a new instance of the Panel class.
Declaration
[Obsolete("This has been deprecated in API12")]
public Panel(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The EvasObject to which the new panel will be attached as a child. |
Properties
View SourceDirection
Sets or gets the direction of a given Panel widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public PanelDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
PanelDirection |
IsOpen
Sets or gets the hidden status of a given Panel widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool IsOpen { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
View SourceCreateHandle(EvasObject)
Creates a widget handle.
Declaration
[Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent EvasObject. |
Returns
Type | Description |
---|---|
System.IntPtr | Handle IntPtr. |
Overrides
View SourceSetScrollable(bool)
Enable or disable scrolling in the panel.
Declaration
[Obsolete("This has been deprecated in API12")]
public void SetScrollable(bool enable)
Parameters
Type | Name | Description |
---|---|---|
bool | enable | Bool value can be false or true. |
SetScrollableArea(double)
Sets the scroll size of the panel.
Declaration
[Obsolete("This has been deprecated in API12")]
public void SetScrollableArea(double ratio)
Parameters
Type | Name | Description |
---|---|---|
double | ratio | The size of the scroll area. |
Toggle()
Toggles the hidden state of the panel.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Toggle()
Events
View SourceScrolled
Scrolled will be triggered when the panel has been scrolled. This event is emitted only when the panel is scrollable
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Scrolled
Event Type
Type | Description |
---|---|
System.EventHandler |
Toggled
Toggled will be triggered when the panel is toggled.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Toggled
Event Type
Type | Description |
---|---|
System.EventHandler |