Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid>
<Grid x:Name="rootGrid">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup Name="CommonStates">
<VisualStateGroup.Transitions>
Expand Down Expand Up @@ -57,7 +57,14 @@
ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
Feedback="{TemplateBinding Foreground, Converter={x:Static converters:BrushRoundConverter.Instance}}"
Focusable="False"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" >
<wpf:Ripple.Clip>
Comment thread
corvinsz marked this conversation as resolved.
Outdated
<MultiBinding Converter="{x:Static converters:BorderClipConverter.Instance}">
<Binding ElementName="rootGrid" Path="ActualWidth" />
<Binding ElementName="rootGrid" Path="ActualHeight" />
</MultiBinding>
</wpf:Ripple.Clip>
</wpf:Ripple>
</Grid>
</ControlTemplate>
</Setter.Value>
Expand Down
Loading