Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Changing current palette has no effect...
posted

Trying to override the default current color palette with the following code but it has no effect and the control shows the default. Is this the correct way?

        <ig:XamColorPicker HorizontalAlignment="Left" Margin="34,11,0,0" Name="xamColorPicker1" VerticalAlignment="Top" Width="148" SelectedColor="Blue" Grid.Row="1" Grid.Column="1">

            <ig:XamColorPicker.CurrentPalette>

                <ig:ColorPalette>

                    <ig:ColorPalette.Colors>

                        <ig:ColorPatch Color="Red"/>

                        <ig:ColorPatch Color="Orange"/>

                        <ig:ColorPatch Color="Yellow"/>

                        <ig:ColorPatch Color="Green"/>

                        <ig:ColorPatch Color="Blue"/>

                        <ig:ColorPatch Color="Indigo"/>

                        <ig:ColorPatch Color="Violet"/>

                        <ig:ColorPatch Color="White"/>

                    </ig:ColorPalette.Colors>

                </ig:ColorPalette>

            </ig:XamColorPicker.CurrentPalette>

        </ig:XamColorPicker>

Parents Reply Children
No Data