GridSplitter
横型と縦型で違う背景を設定したいです。これは、線形グラデーションがあり、グリッド スプリッターの配置に応じて 90 度回転させる必要があるためです。
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style TargetType="{x:Type GridSplitter}">
<Setter Property="Background" Value="Red" /> <!-- How to get this red applied to only Vertical for instance? -->
</Style>
</ResourceDictionary>
問題は、垂直スプリッターと水平スプリッターを別々にターゲットにするにはどうすればよいかということです。