Skip to content

Commit

Permalink
Added RevealStyle for DropDownButton and SplitButton; Closes #70; (#1211
Browse files Browse the repository at this point in the history
)

* Added RevealStyle for DropDownButton and SplitButton; Closes #70;

* Fix missing hover reveal for SplitButton and DropDownButton and add to reveal page;
  • Loading branch information
marcelwgn authored and kaiguo committed Aug 28, 2019
1 parent 891bfdb commit ddbc336
Show file tree
Hide file tree
Showing 3 changed files with 358 additions and 8 deletions.
7 changes: 5 additions & 2 deletions dev/Materials/Reveal/RevealBrush_rs1_themeresources.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="using:Microsoft.UI.Xaml.Controls"
>

<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default">
Expand Down Expand Up @@ -647,7 +649,8 @@
<Style TargetType="GridViewItem" x:Key="GridViewItemRevealStyle" />
<Style TargetType="ComboBoxItem" x:Key="ComboBoxItemRevealStyle" />
<Style TargetType="SemanticZoom" x:Key="SemanticZoomRevealStyle"/>

<Style TargetType="controls:DropDownButton" x:Key="DropDownButtonRevealStyle" BasedOn="{StaticResource ButtonRevealStyle}"/>
<Style TargetType="controls:SplitButton" x:Key="SplitButtonRevealStyle" />
<Style TargetType="ListViewItem" x:Key="ListViewItemRevealBackgroundShowsAboveContentStyle" />
<Style TargetType="GridViewItem" x:Key="GridViewItemRevealBackgroundShowsAboveContentStyle" />
</ResourceDictionary>
Loading

0 comments on commit ddbc336

Please sign in to comment.