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

ImageUploader.TreePaneBackgroundColor Property

Supported in: ActiveX , Java

Background color of the tree pane.

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("TreePaneBackgroundColor", "#ffffff");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setTreePaneBackgroundColor(value);
value = getImageUploader("ImageUploaderID").getTreePaneBackgroundColor();

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 of the tree pane.

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 other panes:

Property namePane name
FolderPaneBackgroundColor Folder pane (visible in TwoPanes and ThreePanes layouts).
UploadPaneBackgroundColor Upload pane (visible in OnePane and ThreePanes layout).

To specify the background color of the control itself, use the BackgroundColor property.

See Also

Manual

Reference