IConsolePaneHeaderAddItem Method (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:
- 10000 - The pane Close (X) button or main pane's pane selection dialog.
- 1000 - Pane element selection dialog.
- 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.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void AddItem(
WebControl button,
int order
)
Sub AddItem (
button As WebControl,
order As Integer
)
Parameters
- button
- Type: System.Web.UI.WebControlsWebControl
The button to add. - order
- Type: SystemInt32
The order number specifying how to position the button in the header.
See Also