【发布时间】:2013-07-05 08:55:21
【问题描述】:
<!-- language: c# -->
我想从路径效果PART_Shadow 的Opacity 后面的代码更改。
我尝试了GetTemplateChild 方法,但它只返回NULL。
<Path x:Name="PART_Path" Stretch="Fill" StrokeThickness="1.0" Stroke="#ff1c1c1a">
<Path.Effect>
<DropShadowEffect x:Name="PART_Shadow" Color="LightGray" BlurRadius="5" Direction="45"
ShadowDepth="3" RenderingBias="Performance"/>
</Path.Effect>
</Path>
【问题讨论】:
标签: c# wpf xaml opacity dropshadow