Settings for thumbnail item appearance.
Syntax
Get/Set Value in Runtime
JavaScript |
Copy Code
|
getImageUploader("ImageUploaderID").setPaneItemDesign(Pane, Index, value);
value = getImageUploader("ImageUploaderID").getPaneItemDesign(Pane, Index);
|
Parameters
-
Pane
-
A member of the following enumeration:
String value |
Integer value |
Description |
FolderPane
|
0 |
A folder pane (which displays the current folder content).
|
UploadPane
|
1 |
An upload pane (which displays files from the upload list).
|
Note |
When you get this value through JavaScript, an integer value will be returned.
|
-
Index
-
A non-negative integer that specifies an index of a thumbnail item on a pane (one-based). It should not exceed
PaneItemCount - 1
for the specified pane.
Property Value
A string that specifies the item appearance. See the Remarks section for more details on the string format.
Remarks
The string that contains the appearance settings has the following syntax:
param1=value1;param2=value2;...
Below is the list of supported parameters:
Parameter |
Description |
BackgroundColor
|
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)
. This value specifies the background color of the thumbnail item.
Note |
See the full list of supported color names in MSDN . Pay attention that user-defined colors are not supported.
|
|
ForegroundColor
|
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)
. This value specifies the foreground color of the thumbnail item. This color fills item with the specified opacity.
Note |
See the full list of supported color names in MSDN . Pay attention that user-defined colors are not supported.
|
|
ForegroundOpacity
|
An integer value that specifies the opacity of the foreground color. By default, 0 (completely transparent).
|
BorderLineColorLeft
|
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)
. This value specifies the color of the left item border.
Note |
See the full list of supported color names in MSDN . Pay attention that user-defined colors are not supported.
|
|
BorderLineColorRight
|
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)
. This value specifies the color of the right item border.
Note |
See the full list of supported color names in MSDN . Pay attention that user-defined colors are not supported.
|
|
BorderLineColorTop
|
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)
. This value specifies the color of the top item border.
Note |
See the full list of supported color names in MSDN . Pay attention that user-defined colors are not supported.
|
|
BorderLineColorBottom
|
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)
. This value specifies the color of the bottom item border.
Note |
See the full list of supported color names in MSDN . Pay attention that user-defined colors are not supported.
|
|
BorderLineStyleLeft
|
A member of the following enumeration that specifies the style of the left item border:
String value |
Integer value |
Description |
Invisible
|
0 |
No grid visible.
|
Solid
|
1 |
Grid is drawn with a solid line.
|
Dash
|
2 |
Grid is drawn with a dashed line.
|
Dot
|
3 |
Grid is drawn with a dotted line.
|
DashDot
|
4 |
Grid is drawn with dash-dotted line.
|
DashDotDot
|
5 |
Grid is drawn with dash-dot-dotted line.
|
If unsupported string value is passed, it is interpreted as Invisible .
Note |
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).
|
|
BorderLineStyleRight
|
A member of the following enumeration that specifies the style of the right item border:
String value |
Integer value |
Description |
Invisible
|
0 |
No grid visible.
|
Solid
|
1 |
Grid is drawn with a solid line.
|
Dash
|
2 |
Grid is drawn with a dashed line.
|
Dot
|
3 |
Grid is drawn with a dotted line.
|
DashDot
|
4 |
Grid is drawn with dash-dotted line.
|
DashDotDot
|
5 |
Grid is drawn with dash-dot-dotted line.
|
If unsupported string value is passed, it is interpreted as Invisible .
Note |
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).
|
|
BorderLineStyleTop
|
A member of the following enumeration that specifies the style of the top item border:
String value |
Integer value |
Description |
Invisible
|
0 |
No grid visible.
|
Solid
|
1 |
Grid is drawn with a solid line.
|
Dash
|
2 |
Grid is drawn with a dashed line.
|
Dot
|
3 |
Grid is drawn with a dotted line.
|
DashDot
|
4 |
Grid is drawn with dash-dotted line.
|
DashDotDot
|
5 |
Grid is drawn with dash-dot-dotted line.
|
If unsupported string value is passed, it is interpreted as Invisible .
Note |
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).
|
|
BorderLineStyleBottom
|
A member of the following enumeration that specifies the style of the bottom item border:
String value |
Integer value |
Description |
Invisible
|
0 |
No grid visible.
|
Solid
|
1 |
Grid is drawn with a solid line.
|
Dash
|
2 |
Grid is drawn with a dashed line.
|
Dot
|
3 |
Grid is drawn with a dotted line.
|
DashDot
|
4 |
Grid is drawn with dash-dotted line.
|
DashDotDot
|
5 |
Grid is drawn with dash-dot-dotted line.
|
If unsupported string value is passed, it is interpreted as Invisible .
Note |
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).
|
|
See Also