上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 137 下一页
摘要: <Window x:Class="WpfApp10.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-10-05 01:01 FredGrit 阅读(42) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp6.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2024-10-03 22:02 FredGrit 阅读(35) 评论(0) 推荐(0)
摘要: <DataGridTemplateColumn Header="Image"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <Image Source="{Binding DataContext.ImgUrl, RelativeSourc 阅读全文
posted @ 2024-10-03 19:15 FredGrit 阅读(43) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2024-10-03 01:18 FredGrit 阅读(75) 评论(0) 推荐(0)
摘要: <Window.Resources> <local:ImageUrlConverter x:Key="imgConverter"/> </Window.Resources> <Image Source="{Binding ImgUrl,Converter={StaticResource imgCon 阅读全文
posted @ 2024-10-03 00:10 FredGrit 阅读(68) 评论(0) 推荐(0)
摘要: The basic roadmap is to download web image at first , second convert it into memeorystream, third assign the memorystream to bitmapimage as StreamSour 阅读全文
posted @ 2024-10-02 23:43 FredGrit 阅读(58) 评论(0) 推荐(0)
摘要: 1.Install Microsoft.Xaml.Behaviors.Wpf 2. <behavior:Interaction.Triggers> <behavior:EventTrigger EventName="MouseDown"> <behavior:InvokeCommandAction 阅读全文
posted @ 2024-10-02 21:12 FredGrit 阅读(79) 评论(0) 推荐(0)
摘要: 1.Install Microsoft.Xaml.Behaviors.Wpf 2. xmlns:behavior="http://schemas.microsoft.com/xaml/behaviors" <behavior:Interaction.Triggers> <behavior:Event 阅读全文
posted @ 2024-10-02 20:53 FredGrit 阅读(146) 评论(1) 推荐(0)
摘要: Right click project/Properties/Publish Then click Publish Wizard step by step,then will create a setup.exe file in publish folder Click the setup.exe 阅读全文
posted @ 2024-09-30 21:43 FredGrit 阅读(52) 评论(0) 推荐(0)
摘要: <Image Grid.Column="0" Source="pack://application:,,,/WpfApp431;component/Images/1.jpg" RenderOptions.BitmapScalingMode="Fant"/> <Image Grid.Column="1 阅读全文
posted @ 2024-09-30 20:53 FredGrit 阅读(25) 评论(0) 推荐(0)
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 137 下一页