Actually, u could rewrite ColorPick.
set togglebutton Checked and Unchecked event.
code like this:
set togglebutton Checked and Unchecked event.
code like this:
public class ColorPickerRewrite : ColorPicker
{
private ToggleButton _advanced;
public override void OnApplyTemplate()
{
base.OnApplyTemplate();
_advanced = GetTemplateChild("_colorMode") as ToggleButton;
if (_advanced != null)
{
_advanced.Content = "default/advanced";
_advanced.Unchecked += (sender, e) =>
{
_advanced.Content = "default/advanced";//uncheck togglebutton, content return to default
};
_advanced.Checked += (sender, e) =>
{
_advanced.Content = "standard";//checked, get into advanced mode, changed content into standard
};
}
}
}
this is only way that i found to change the language without re-template