Description
Returns/sets an auto-translate style when the system running this application not supports XP theme.
Usage
[form.][control.]AutoTranslateStyle[ = Integer]
Data Type
Integer (enumerated)
Enumeration
CPAutoTranslateStyle
0 - cc3D
1 - ccFlat
Default
cc3D
Remarks
This property sets or returns an auto-translate style to color button when the system running this application not supports XP theme. Generally, at design mode the control does not judge the specified Style whether available in current operation system, because some programmers develops an application just ready for running in other systems. For example, you can specify a XP Style for the control in an application under Windows XP, this color picker style can works correctly while your application runs above XP system, and under Windows XP, this color picker style will be translate to this specified value automatically.
See also Style property.
Sample
ColorPicker1.AutoTranslateStyle = CPAutoTranslateStyle.ccFlat