AutoPostBack New
|
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
|
CloseButtonOverImage
|
String.
Close button over image file path for picker popup.
By default embedded image
is used.
Optional
|
CustomColors New
|
Collection of OboutInc.ColorPicker.CustomColor objects.
See OboutInc.ColorPicker.CustomColor.
|
CustomColorsInLine New
|
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 New
|
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 New
|
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
|
PickText
|
String.
The text inside 'Pick' button of the control's popup.
Default "Pick it".
Optional
|
SetColorImage
|
String.
'Set color' button image file path for picker popup.
By default embedded image
is used.
Optional
|
SetColorOverImage
|
String.
'Set color' button over image file path for picker popup.
By default embedded image
is used.
Optional
|
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
|
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 New
|
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
|