Method AddCustomButton
AddCustomButton(String, String, String, String, CustomButtonNo)
Adds custom button to the button bar. For button no 3 and 4 if internal custom buttons are enabled then it takes precedence over custom defined Buttons
Declaration
public virtual bool AddCustomButton(string ButtonName, string ImageFile, string ImagePressedFile, string DisabledImage, CustomButtonNo ButtonNo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ButtonName | Name of Button |
| System.String | ImageFile | button image file |
| System.String | ImagePressedFile | button presssed image file |
| System.String | DisabledImage | button image file when disbaled |
| CustomButtonNo | ButtonNo | custom button no 1 - 4 |
Returns
| Type | Description |
|---|---|
| System.Boolean | returns tru if succuessfully added |