Version

RenderItem Method

Renders a specific item of the tree.
Syntax
'Declaration
 
Public Overridable Sub RenderItem( _
   ByVal item As DataMenuItem, _
   ByVal items As DataMenuItemCollection, _
   ByVal writer As HtmlTextWriter, _
   ByVal isHorizontal As Boolean _
) 
public virtual void RenderItem( 
   DataMenuItem item,
   DataMenuItemCollection items,
   HtmlTextWriter writer,
   bool isHorizontal
)

Parameters

item
The item being rendered
items
The items collecion to which the item belongs.
writer
The writer to which the html is rendered.
isHorizontal
Boolen that shows if the item should be rendered horizontally.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also