wpf 波浪进度条
画了个正弦波图形 这里使用其它方式实现 https://www.bilibili.com/video/BV1GL411H746 ,其它 css 中也看过这个思路 xaml <Border BorderBrush="#4d4CAF50" BorderThickness="1" ClipToBounds=&…
|
421
|
|
142 字
|
6 分钟
wpf path data
<Grid TextElement.FontWeight="ExtraBold"> <Grid.Resources> <Style TargetType="Path"> <Setter Property="Stroke" Value="R…
|
127
|
|
119 字
|
5 分钟
wpf DockBar
xaml <Window ouseMove="DockBarWindow_OnMouseMove"> <Grid> <StackPanel x:Name="DockBarStackPanel" Margin="12" HorizontalAlignment=&…
|
151
|
|
70 字
|
4 分钟
wpf 鼠标动画
xaml <Grid x:Name="RootGrid" Background="#000123" /> cs private readonly DispatcherTimer time = new(); // 创建动画 private Storyboard CreateStoryBoard(Sh…
|
409
|
|
88 字
|
5 分钟
wpf 点连线
xaml <Grid Background="#000123" MouseLeftButtonDown="UIElement_OnMouseLeftButtonDown" MouseMove="UIElement_OnMouseMove" PreviewMouseLeftButton…
|
438
|
|
148 字
|
8 分钟
wpf 查看图片大图
xaml <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="240" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions>…
|
377
|
|
73 字
|
4 分钟
wpf 字符雨
XAML <Window Background="Black" Loaded="CharacterRainWindow_OnLoaded" > <StackPanel x:Name="RootStackPanel" Background="Black"…
|
446
|
|
121 字
|
6 分钟
.NET 调用 Python
使用源码生成系统将项目中附加的 .py 文件编译为相应的 .net 类供调用 CSnakes https://github.com/tonybaloney/CSnakes https://tonybaloney.github.io/CSnakes/ https://www.bilibili.com/video/BV1hPjfzkEtF var bu…
|
762
|
|
97 字
|
2 分钟
Binding 小助手
写 Binding 时少花一些时间 调试比较复杂,可以用在一些简单的场合中 # 绑定属性进行表达式计算 <Label Content="{c:Binding A+B+C }" /> <Label Content="{c:Binding A*0.5+(B.NestedProp1/C - B.Nested…
|
464
|
|
83 字
|
3 分钟
wpf 蒙板
XAML <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="1*" /> <ColumnDefinition Width="1*" /> <ColumnDefinition Width=&qu…
|
458
|
|
110 字
|
6 分钟