This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.PaneBackgroundColor Property

Supported in: ActiveX , Java

Background color of all Image Uploader panes.

Syntax

Initialize

JavaScript
<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>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setPaneBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getPaneBackgroundColor();

Property Value

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.

Note

See the full list of supported color names in MSDN. Pay attention that user-defined colors are not supported.

Default value is "#ffffff" (white).

Remarks

You can also specify background colors for individual panes:

Property namePane 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.

See Also

Manual

Reference