I am using Wisej.Web.Ext.NavigationBar.NavigationBar for my side bar. I have a number of items in the bar. I’d like to add a line separator between some of the items.
I don’t see anything obvious. Is it possible?
Hi
Here two ways for achive this
// Line Separators
var lineSeparator1 = new Wisej.Web.Ext.NavigationBar.NavigationBarItem
{
Height = 1,
Enabled = false,
Margin = new Padding(30, 10, 0, 10),
Text = "",
BackColor = Color.Green,
AutoSize = false
};
var lineSeparator2 = new Wisej.Web.Ext.NavigationBar.NavigationBarItem
{
Height = 1,
Enabled = false,
Text = “”,
Margin = new Padding(30, 10, 0, 10),
CssStyle = “border: solid 1px red”,
AutoSize = false
};
this.navigationBar.Items.Insert(2,lineSeparator1);
this.navigationBar.Items.Insert(3, lineSeparator2);
Please login first to submit.