|
1 | 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
3 | 3 | xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
|
4 |
| - xmlns:primitives="using:Microsoft.Toolkit.Uwp.UI.Controls.Primitives" |
5 | 4 | xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
6 | 5 | xmlns:ex="using:Microsoft.Toolkit.Uwp.UI.Extensions"
|
7 |
| - xmlns:localconverters="using:Microsoft.Toolkit.Uwp.UI.Controls.ColorPickerConverters"> |
| 6 | + xmlns:localconverters="using:Microsoft.Toolkit.Uwp.UI.Controls.ColorPickerConverters" |
| 7 | + xmlns:primitives="using:Microsoft.Toolkit.Uwp.UI.Controls.Primitives"> |
8 | 8 |
|
9 | 9 | <SolidColorBrush x:Key="CheckerboardColor0">
|
10 | 10 | <SolidColorBrush.Color>
|
|
449 | 449 | </Border>
|
450 | 450 | <!-- Main Color Preview Box at Bottom -->
|
451 | 451 | <!-- Must be last for drop shadow Z-index -->
|
452 |
| - <controls:DropShadowPanel Grid.RowSpan="3" |
| 452 | + <!--<controls:DropShadowPanel Grid.RowSpan="3" |
453 | 453 | Grid.Column="2"
|
454 | 454 | HorizontalContentAlignment="Stretch"
|
455 | 455 | VerticalContentAlignment="Stretch"
|
456 | 456 | BlurRadius="10.0"
|
457 | 457 | OffsetX="0.0"
|
458 | 458 | OffsetY="0.0"
|
459 | 459 | ShadowOpacity="0.75"
|
460 |
| - Color="Black"> |
461 |
| - <Grid> |
462 |
| - <Border HorizontalAlignment="Stretch" |
463 |
| - VerticalAlignment="Stretch" |
464 |
| - Background="{ThemeResource FlyoutPresenterBackground}" |
465 |
| - CornerRadius="2" /> |
466 |
| - <Border x:Name="CheckeredBackground3Border" |
467 |
| - HorizontalAlignment="Stretch" |
468 |
| - VerticalAlignment="Stretch" |
469 |
| - CornerRadius="2" /> |
470 |
| - <Border x:Name="PreviewBorder" |
471 |
| - CornerRadius="2"> |
472 |
| - <Border.Background> |
473 |
| - <SolidColorBrush Color="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Color}" /> |
474 |
| - </Border.Background> |
475 |
| - </Border> |
476 |
| - </Grid> |
477 |
| - </controls:DropShadowPanel> |
| 460 | + Color="Black"> Not too far off without it, maybe we can fake?--> |
| 461 | + <Grid Grid.RowSpan="3" |
| 462 | + Grid.Column="2" |
| 463 | + HorizontalAlignment="Stretch" |
| 464 | + VerticalAlignment="Stretch"> |
| 465 | + <Border HorizontalAlignment="Stretch" |
| 466 | + VerticalAlignment="Stretch" |
| 467 | + Background="{ThemeResource FlyoutPresenterBackground}" |
| 468 | + CornerRadius="2" /> |
| 469 | + <Border x:Name="CheckeredBackground3Border" |
| 470 | + HorizontalAlignment="Stretch" |
| 471 | + VerticalAlignment="Stretch" |
| 472 | + CornerRadius="2" /> |
| 473 | + <Border x:Name="PreviewBorder" |
| 474 | + CornerRadius="2"> |
| 475 | + <Border.Background> |
| 476 | + <SolidColorBrush Color="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Color}" /> |
| 477 | + </Border.Background> |
| 478 | + </Border> |
| 479 | + </Grid> |
478 | 480 | </Grid>
|
479 | 481 | <VisualStateManager.VisualStateGroups>
|
480 | 482 |
|
|
0 commit comments