detect/detect.gui/Controls/Arrow.axaml

13 lines
752 B
Plaintext
Raw Permalink Normal View History

2024-11-13 17:09:15 +08:00
<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:detect.gui.Controls"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="detect.gui.Controls.Arrow">
<Canvas Width="14" Height="30">
<Path Stroke="{Binding $parent[controls:Arrow].ItemColor}" StrokeThickness="2" Data="M2,20 L7,30 L12,20"/>
<Path Stroke="{Binding $parent[controls:Arrow].ItemColor}" StrokeThickness="2" Data="M7,0 L7,30"/>
</Canvas>
</UserControl>