Skip to main content

SideMenu

Namespace: Wisej.Web.Ext.Webix

Assembly: Wisej.Web.Ext.Webix (4.1.0.0)

The SideMenu widget inherits from Window and can be bound to any side of the screen (top, bottom, right, left).

public class SideMenu : wxBase

Constructors​

Instance member SideMenu()​

Constructs a new instance of the SideMenu class.

Example:

The following example creates a side menu bound to the right side of the screen.

var menu = new SideMenu();
menu.Options.position = "right";
menu.Options.body = new { template = "Settings" };
menu.Width = 250;
this.Controls.Add(menu);

Instance member SideMenu(options)​

Constructs a new instance of the SideMenu class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a side menu bound to the left side of the screen that hosts a list of items in its body.

var menu = new SideMenu(new
{
position = "left",
body = new
{
view = "list",
borderless = true,
template = "#value#",
data = new[]
{
new { id = 1, value = "Customers" },
new { id = 2, value = "Products" },
new { id = 3, value = "Settings" }
}
}
});
menu.Width = 250;
this.Controls.Add(menu);

Implements​