Version

RenderScrollIcons Method

Renders the SPAN for the scroll icon. The idea is that the anchor can be used to set background image like gradient and etc. While the span will display the real button image, like small triangle. It will apply a common MenuScrollIcon class for each span, where common settings can be groupped. And also it will apply specific CSS class for each scroll icon be it top/left/right or bottom.
Syntax
'Declaration
 
Protected Sub RenderScrollIcons( _
   ByVal writer As HtmlTextWriter, _
   ByVal isHorizontal As Boolean, _
   ByVal buttonIndex As Integer _
) 
protected void RenderScrollIcons( 
   HtmlTextWriter writer,
   bool isHorizontal,
   int buttonIndex
)

Parameters

writer
Instance to HTML writer.
isHorizontal
Flag, specifying whether the menu is horizontally displayed.
buttonIndex
The index of the scroll button that will contain the SPAN. Can be 0 (First Scroller) or 1 (Second Scroller).
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