Version

RenderCollapseButton Method

Render collapse-button located on a splitbar.
Syntax
'Declaration
 
Protected Overridable Sub RenderCollapseButton( _
   ByVal writer As HtmlTextWriter, _
   ByVal index As Integer, _
   ByVal horizontal As Boolean, _
   ByVal collapsePrev As Boolean, _
   ByVal collapsed As Boolean _
) 
protected virtual void RenderCollapseButton( 
   HtmlTextWriter writer,
   int index,
   bool horizontal,
   bool collapsePrev,
   bool collapsed
)

Parameters

writer
Not null instance of HtmlTextWriter
index
Index of pane according to its order in html.
horizontal
True: horizontal split, false: vertical split
collapsePrev
True: draw collapsable-button for previous pane, false: draw collapse-button for next pane
collapsed
True: pane is collapsed
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