Click or drag to resize

IConsolePaneHeaderAddItem Method

Overload List
  NameDescription
Public methodAddItem(WebControl)
Add a button to the header. Typically this is an icon-type button using a ActiveImageButton control. By default buttons are positioned in the header in the order in which they are added, but prior to any standard platform buttons. You can use AddItem(WebControl, Int32) to add buttons in a specific order, including after or between platform buttons, but this is not generally recommended.
Public methodAddItem(WebControl, Int32)
Add a button to the header. Typically this is an icon-type button using a ActiveImageButton control. This method is provided primarily for internal use and application-specific buttons should normally be added via AddItem(WebControl) which assigns an order of zero and results in placement before all platform buttons (which are assigned positive order numbers). At this time the following order numbers are used for standard platform buttons:
  1. 10000 - The pane Close (X) button or main pane's pane selection dialog.
  2. 1000 - Pane element selection dialog.
  3. 100 - Starting range for developer buttons.

Buttons are positioned by increasing order number. Order numbers are not required to be contiguous and may be negative. Buttons having the same order number are positioned in the order added.

Top
See Also