| Name |
Description |
AutoPostBack
|
Bool.
Postback to server on color picked.
See Working example.
Default "false".
Optional
|
CloseButtonImage
|
String.
Close button image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
CloseButtonOverImage
|
String.
Close button over image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
CloseButtonPressedImage
|
String.
Close button pressed image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
CustomColors
|
Collection of OboutInc.ColorPicker.CustomColor objects.
See OboutInc.ColorPicker.CustomColor.
|
CustomColorsInLine
|
Int.
The number of custom colors in a line.
See Working example.
By default the number of custom colors in a line depends on picker popup width.
Optional
|
CustomColorsOnly
|
Bool.
Show or not the default palettes in popup.
If set to "true", the picker will contain custom colors (if defined) only.
See Working example.
Default "false".
Optional
|
HorizontalPosition
|
OboutInc.ColorPicker.HorizontalPositionType enumeration.
Horizontal position of picker popup according to target control.
See description of OboutInc.ColorPicker.HorizontalPositionType enumeration
below.
Default right.
Optional
|
ID
|
String. Component ID.
Optional
|
InitialColor
|
String. Initial color for control's popup.
This string should have #RRGGBB format.
Default #000000.
Optional
|
OffsetLeft
|
Int.
Additional left offset of positioned picker popup in pixels.
Default 0.
Optional
|
OffsetTop
|
Int.
Additional top offset of positioned picker popup in pixels.
Default 0.
Optional
|
OnClientCancel
|
String.
Name of client-side function executed on picker popup canceled.
This function should have one parameter:
sender - client side
ColorPicker object.
See Client side interface.
By default no function is called.
Optional
|
OnClientOpen
|
String.
Name of client-side function executed on picker popup opened.
This function should have one parameter:
sender - client side
ColorPicker object.
See Client side interface and
Working example.
By default no function is called.
Optional
|
OnClientPicked
|
String.
Name of client-side function executed on color pick before popup closed.
This function should have one parameter:
sender - client side
ColorPicker object.
See Client side interface and
Working example.
By default no function is called.
Optional
|
PickButton
|
Bool.
Show or not the pick button in popup.
If set to "false", color will be picked on mouse click in any palette or "Enter" key pressed.
See Working example.
Default "true".
Optional
|
PickerCallerImage
|
String.
Picker caller image file path. This image is used when control has no child
control(s).
By default embedded image
is used.
Optional
|
SaveButtonImage
|
String.
'Save' button image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
SaveButtonOverImage
|
String.
'Save' button over image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
SaveButtonPressedImage
|
String.
'Save' button pressed image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
SetColorImage
|
String.
'Set color' button image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
SetColorOverImage
|
String.
'Set color' button over image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
SetColorPressedImage
|
String.
'Set color' button pressed image file path for picker popup.
By default embedded image
is used.
Optional
See Working example.
|
StyleFile
|
String.
Style file path.
By default embedded file is used. See
Custom style file.
Optional
|
TargetId
|
String.
The target control Id attached to the Picker.
Optional
|
TargetProperty
|
String.
The target control client-side property to be changed on color pick.
Default "value".
Optional
|
Title
|
String.
The title of popup window.
Default "Color Picker".
Optional
See Working example.
|
VerticalPosition
|
OboutInc.ColorPicker.VerticalPositionType enumeration.
Vertical position of picker popup according to target control.
See description of OboutInc.ColorPicker.VerticalPositionType enumeration
below.
Default bottom.
Optional
|
Width
|
Int.
Width of picker popup in pixels.
See Working example.
By default the width is defined by ColorPicker_MainDiv CSS class, see Custom style file.
Optional
|