会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
44
45
46
47
48
49
50
51
52
···
123
下一页
2024年8月5日
WPF locate discreted points via periodically and set transparency via the alpha,the first parameter of Argb
摘要: //xaml <Window x:Class="WpfApp229.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2024-08-05 19:50 FredGrit
阅读(21)
评论(0)
推荐(0)
2024年8月2日
WPF C# implement scaletransform and translatetransfrom programmatically
摘要: private void InitRenderTransfrom() { TransformGroup tg = new TransformGroup(); ScaleTransform st = new ScaleTransform(); if (!tg.Children.Contains(st)
阅读全文
posted @ 2024-08-02 19:54 FredGrit
阅读(38)
评论(0)
推荐(0)
2024年7月28日
WPF ZoomIn ZoomOut Pan ListBox Image
摘要: <ListBox x:Name="lbx" Grid.Row="1" Grid.Column="0" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectionChanged="
阅读全文
posted @ 2024-07-28 20:53 FredGrit
阅读(34)
评论(0)
推荐(0)
2024年7月26日
FatalExecutionEngineError This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code
摘要: Managed Debugging Assistant 'FatalExecutionEngineError' Message=Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered
阅读全文
posted @ 2024-07-26 21:34 FredGrit
阅读(51)
评论(0)
推荐(0)
WPF DataGrid CheckBox Checked and Unchecked event binding to command in mvvm via behavior:InvokeCommandAction
摘要: //Key code //xaml <DataGridTemplateColumn Header="Select"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox x:Name="isSelectedCbx" IsThr
阅读全文
posted @ 2024-07-26 21:33 FredGrit
阅读(209)
评论(0)
推荐(0)
2024年7月25日
WPF TextBox not allowed illegal characters to be input and limit the text length in mvvm
摘要: //xaml <Window x:Class="WpfApp224.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2024-07-25 19:38 FredGrit
阅读(22)
评论(0)
推荐(0)
2024年7月18日
WPF The calling thread cannot access this object because a different thread owns it.
摘要: public int ImgIdx { get { return imgIdx; } set { if(value!=imgIdx) { imgIdx = value; if(imgIdx<0) { imgIdx = imgsCount - 1; } if(imgIdx>=imgsCount) {
阅读全文
posted @ 2024-07-18 20:27 FredGrit
阅读(62)
评论(0)
推荐(0)
WPF ListBox's ItemsSource depend on another's ListBoxItem and fully implemented in xaml
摘要: //xaml <Grid> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <ListBox Grid.Column="0"
阅读全文
posted @ 2024-07-18 19:32 FredGrit
阅读(19)
评论(0)
推荐(0)
C# annoymous object contain array
摘要: private void SerializeDemo() { var obj = new[] { new { CountryId=1, CountryName="USA", StateList= new [] { new[] { new { StateId=1, StateName="NY", Ci
阅读全文
posted @ 2024-07-18 18:14 FredGrit
阅读(26)
评论(0)
推荐(0)
2024年7月16日
WPF read data from mysql and display via ADO.NET
摘要: //xaml <Window x:Class="WpfApp216.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2024-07-16 20:48 FredGrit
阅读(29)
评论(0)
推荐(0)
上一页
1
···
44
45
46
47
48
49
50
51
52
···
123
下一页
公告