CtrEditor/ObjetosSim/UserControls/CircularSegment.xaml

16 lines
822 B
Plaintext
Raw Permalink Normal View History

2024-05-11 11:58:55 -03:00
<UserControl x:Class="CtrEditor.ObjetosSim.UserControls.CircularSegment"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:CtrEditor.ObjetosSim.UserControls"
mc:Ignorable="d" Name="circularSegmentControl">
<Canvas>
<Path Name="path" Stroke="Black" Fill="LightBlue" StrokeThickness="1">
<Path.RenderTransform>
<RotateTransform Angle="{Binding Angle, ElementName=circularSegmentControl}"/>
</Path.RenderTransform>
</Path>
</Canvas>
</UserControl>