This project is read-only.

Creating a Custom Color Gallery

Sep 19, 2013 at 4:35 PM
Edited Sep 19, 2013 at 5:57 PM
I've created a Color chooser gallery and now I want to bind the icon of the DropDownButton to the selected color. I also need to set the selected color on startup. Hoping someone can show me the way. Here's the current XAML:
                    <Fluent:DropDownButton Name="btnCommentColor" Header="Comments">
                        <Fluent:Gallery ItemsSource="{Binding Source={StaticResource colorPropertiesOdp}}" SelectedValuePath="Name" MaxItemsInRow="12">
                                        <Border BorderThickness="1" CornerRadius="2" BorderBrush="Black" Width="25" Height="25" VerticalAlignment="Stretch" Background="{Binding Name}" />