グループボックスの背景を、上部のほぼ透明と下部のほぼ無地の白の間でフェードさせる方法がわかりません。
次のようなスタイルで背景を設定したいと思います。
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!--Groups and borders-->
<Style x:Key="MainGroupBox" TargetType="{x:Type GroupBox}">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="Black" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="SnapsToDevicePixels" Value="True" />
</Style>
あなたが私を助けてくれることを願っています。
PS:WPF 4でC#を使用しています