<!-- language: c# -->
我想改变Opacity
路径效果后面的代码PART_Shadow
。我尝试了该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>