File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- <ResourceDictionary xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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 : wpf =" clr-namespace:MaterialDesignThemes.Wpf"
4
4
xmlns : converters =" clr-namespace:MaterialDesignThemes.Wpf.Converters" >
13
13
<ControlTemplate .Resources>
14
14
<converters : ShadowEdgeConverter x : Key =" ShadowEdgeConverter" />
15
15
</ControlTemplate .Resources>
16
- <Grid Background =" Transparent" >
16
+ <Grid Background =" Transparent" Clip = " {TemplateBinding ContentClip} " >
17
17
<AdornerDecorator CacheMode =" {Binding RelativeSource={RelativeSource Self}, Path=(wpf:ShadowAssist.CacheMode)}" >
18
18
<AdornerDecorator .OpacityMask>
19
19
<MultiBinding Converter =" {StaticResource ShadowEdgeConverter}" >
33
33
<ContentPresenter
34
34
x : Name =" ContentPresenter"
35
35
Margin =" {TemplateBinding Padding}"
36
- Clip =" {TemplateBinding ContentClip}"
37
36
Content =" {TemplateBinding ContentControl.Content}"
38
37
ContentTemplate =" {TemplateBinding ContentControl.ContentTemplate}"
39
38
ContentTemplateSelector =" {TemplateBinding ContentControl.ContentTemplateSelector}"
You can’t perform that action at this time.
0 commit comments