Background color of all Image Uploader panes.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("PaneBackgroundColor", "#ffffff"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setPaneBackgroundColor(value); value = getImageUploader("ImageUploaderID").getPaneBackgroundColor();
A color value specified as a hex representation of the RGB triad in HTML-style syntax (#rrggbb
) or as a color name ("white" and so on)
which specifies background color for all Image Uploader panes.
See the full list of supported color names in MSDN. Pay attention that user-defined colors are not supported.
Default value is "#ffffff" (white).
You can also specify background colors for individual panes:
Property name | Pane name |
---|---|
FolderPaneBackgroundColor |
Folder pane (visible in TwoPanes and ThreePanes layouts).
|
TreePaneBackgroundColor |
Tree pane (visible in TwoPanes and ThreePanes layouts).
|
UploadPaneBackgroundColor |
Upload pane (visible in OnePane and ThreePanes layout).
|
If some of above properties are omitted, appropriate pane will be drawn with the color specified with this property.
To specify the background color of the control itself, use the BackgroundColor property.