area-drawingarea-xamlgood first issueproposal/opent/enhancement ☀️
Repository metrics
- Stars
- (23,245 stars)
- PR merge metrics
- (平均マージ 47d 9h) (30d で 248 merged PRs)
説明
Description
Ability to add triggers to the shadow property.
Public API Changes
<Ellipse.Shadow>
<Shadow Brush="Transparent"
Opacity="0.5"
Radius="70"
Offset="0,0">
<Shadow.Triggers>
<DataTrigger Binding="{Binding IsSelected}"
TargetType="Ellipse"
Value="True">
<Setter Property="Brush" Value="{DynamicResource BlueDarkColour}" />
</DataTrigger>
</Shadow.Triggers>
</Shadow>
</Ellipse.Shadow>

Intended Use-Case
In my example, i want to add a shadow to selected elements