System.Web.UI.WebControls.TreeView.RenderMenuItemSpacing C# (CSharp) Method

RenderMenuItemSpacing() private method

private RenderMenuItemSpacing ( HtmlTextWriter writer, Unit itemSpacing ) : void
writer HtmlTextWriter
itemSpacing Unit
return void
		void RenderMenuItemSpacing (HtmlTextWriter writer, Unit itemSpacing)
		{
#if !NET_4_0
			writer.AddStyleAttribute (HtmlTextWriterStyle.Height, itemSpacing.ToString ());
#endif
			writer.RenderBeginTag (HtmlTextWriterTag.Tr);
			writer.RenderBeginTag (HtmlTextWriterTag.Td);
			writer.RenderEndTag ();
			writer.RenderEndTag ();
		}