|
4 | 4 | xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
5 | 5 | xmlns:localconverters="using:Microsoft.Toolkit.Uwp.UI.Controls.ColorPickerConverters"
|
6 | 6 | xmlns:primitives="using:Microsoft.Toolkit.Uwp.UI.Controls.Primitives"
|
7 |
| - xmlns:ui="using:Microsoft.Toolkit.Uwp.UI" |
8 |
| - xmlns:winuiprimitives="using:Microsoft.UI.Xaml.Controls.Primitives"> |
| 7 | + xmlns:ui="using:Microsoft.Toolkit.Uwp.UI"> |
9 | 8 |
|
10 | 9 | <SolidColorBrush x:Key="CheckerboardColor0">
|
11 | 10 | <SolidColorBrush.Color>
|
|
121 | 120 | Orientation="Vertical" />
|
122 | 121 | <!-- Keep in mind the spectrum is always HSV -->
|
123 | 122 | <!-- This must also not be named 'ColorSpectrum' to differentiate from the base class -->
|
124 |
| - <winuiprimitives:ColorSpectrum x:Name="ColorSpectrumControl" |
125 |
| - Grid.Row="0" |
126 |
| - Grid.RowSpan="2" |
127 |
| - Grid.Column="1" |
128 |
| - MinWidth="256" |
129 |
| - MinHeight="256" |
130 |
| - HorizontalAlignment="Stretch" |
131 |
| - VerticalAlignment="Stretch" |
132 |
| - AutomationProperties.Name="Third Dimension" |
133 |
| - Components="{TemplateBinding ColorSpectrumComponents}" |
134 |
| - MaxHue="{TemplateBinding MaxHue}" |
135 |
| - MaxSaturation="{TemplateBinding MaxSaturation}" |
136 |
| - MaxValue="{TemplateBinding MaxValue}" |
137 |
| - MinHue="{TemplateBinding MinHue}" |
138 |
| - MinSaturation="{TemplateBinding MinSaturation}" |
139 |
| - MinValue="{TemplateBinding MinValue}" |
140 |
| - Shape="{TemplateBinding ColorSpectrumShape}" /> |
| 123 | + <ColorSpectrum x:Name="ColorSpectrumControl" |
| 124 | + Grid.Row="0" |
| 125 | + Grid.RowSpan="2" |
| 126 | + Grid.Column="1" |
| 127 | + MinWidth="256" |
| 128 | + MinHeight="256" |
| 129 | + HorizontalAlignment="Stretch" |
| 130 | + VerticalAlignment="Stretch" |
| 131 | + AutomationProperties.Name="Third Dimension" |
| 132 | + Components="{TemplateBinding ColorSpectrumComponents}" |
| 133 | + MaxHue="{TemplateBinding MaxHue}" |
| 134 | + MaxSaturation="{TemplateBinding MaxSaturation}" |
| 135 | + MaxValue="{TemplateBinding MaxValue}" |
| 136 | + MinHue="{TemplateBinding MinHue}" |
| 137 | + MinSaturation="{TemplateBinding MinSaturation}" |
| 138 | + MinValue="{TemplateBinding MinValue}" |
| 139 | + Shape="{TemplateBinding ColorSpectrumShape}" /> |
141 | 140 | <primitives:ColorPickerSlider x:Name="ColorSpectrumAlphaSlider"
|
142 | 141 | Grid.Row="1"
|
143 | 142 | Grid.RowSpan="2"
|
|
0 commit comments