WPF Path 画箭头
代码:
<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" WindowStartupLocation="CenterScreen"> <Grid Background="White"> <Border Width="36" Height="36"> <Path Fill="Red" Data="M -15,8 L 17,17 C 17,17 19,18 17,19 L 17,19 L -15,28 C -15,28 -17,28.2 -16,26 L -16,26 L -5,18 L -16,10 C -16,10 -17,8.5 -15,8 Z"></Path> </Border> </Grid> </Window>View Code
设计图:
运行效果图:
效果图放大:
相关推荐
maokaijiang 2020-06-14
<!-- Row 0 -->. <TextBlock Text="{Binding Department, ElementName = window}". <!-- Row 1 -->. <TextB
Laxcus大数据技术 2020-05-27
wndong 2020-05-20
88473166 2020-05-14
89427412 2020-05-06
conganguo 2020-05-06
86523296 2020-04-22
QCkiss 2020-04-17
VanTYS 2020-02-23
89427412 2020-02-13
seekerhit 2020-01-24
Streamoutput 2020-01-21
teliduxing0 2020-01-14
conganguo 2020-01-18
ixshells 2020-01-14
檀木雨林 2020-01-10
86523296 2020-01-08