Fluqi.Widget.jMenuItem.MenuItem.WithStyle C# (CSharp) Method

WithStyle() public method

Registers an embedded style setting to be added to the control when it is rendered. These are written out as part of the "style" attribute, so we might add 'WithStyle("border", "solid 1px blue")' for example.
public WithStyle ( string styleName, string styleValue ) : MenuItem
styleName string Name of the style attribute to be added
styleValue string Value of the style to be added
return MenuItem
		new public MenuItem WithStyle(string styleName, string styleValue) {
			base.WithStyle(styleName, styleValue);
			return this;
		}