WPF学习日记34

1.appSettings和applicationSettings区别
解析:
[1]ApplicationSettings是.NET 2.0之后出现
[2]appSettings是.NET 1.1的方式
[3].NET 2.0之后两个都可以用

string sConnectionString = ConfigurationManager.ConnectionStrings["connString"].ConnectionString;
string sPath = ConfigurationManager.AppSettings["logpath"]
string sPat = MyProject.Properties.Settings.Default.LogPath;  

2.System.Configuration.ApplicationSettingsBase
解析:作为派生具体包装类以实现Window窗体应用程序中的应用程序设置功能的基类。

3.System.Windows.Application.Current
解析:获取Application当前对象AppDomain。

4.System.Windows.FrameworkElement.DataContext()
解析:获取或设置元素参与数据绑定时的数据上下文。

5.System.Windows.Media.Stretch.UniformToFill
解析:在保留内容原有纵横比的同时调整内容的大小,以填充目标尺寸。如果目标矩形的纵横比不同于源矩形的纵横比,则对源内容进行剪裁以适合目标尺寸。

6.System.Windows.Controls.WrapPanel
解析:定位子元素按顺序排列,从左到右,将内容断开到下一行包含框的边缘。后续排序按照按顺序从上到下或从右到左,具体取决于值Orientation()属性。

7.System.Windows.Controls.Border.BorderBrush()
解析:获取或设置用于绘制外部边框颜色的Brush。

8.GalaSoft.MvvmLight.CommandWpf.RelayCommand<string>.RelayCommand(Action<string> execute, bool keepTargetAlive = false)
解析:Initializes a new instance of the RelayCommand class that can always execute.

9.GalaSoft.MvvmLight.Threading.DispatcherHelper
解析:Helper class for dispatcher operations on the UI thread.

10.void GalaSoft.MvvmLight.Threading.DispatcherHelper.CheckBeginInvokeOnUI(Action action)
解析:Executes an action on the UI thread. If this method is called from the UI thread, the action is executed immendiately. If the method is called from another thread, the action will be enqueued on the UI thread’s dispatcher and executed asynchronously.

11.bool System.Windows.Window.Activate()
解析:尝试将该窗口调到前台,并将其激活。

12.HslCommunication.Profinet.Melsec.MelsecFxSerial
解析:三菱的串口通信的对象,适用于读取FX系列的串口数据。

13.void HslCommunication.Serial.SerialBase.SerialPortInni(Action<SerialPort> initi)
解析:根据自定义初始化方法进行初始化串口信息。

14.System.Text.RegularExpressions.Regex
解析:表示不可变的正则表达式。

15.bool System.Text.RegularExpressions.Regex.IsMatch(string input, string pattern)
解析:指示所指定的正则表达式在指定的输入字符串中是否找到了匹配项。

16.MatchCollection System.Text.RegularExpressions.Regex.Matches(string input, string pattern)
解析:在指定的输入字符串中搜索指定的正则表达式的所有匹配项。

17.System.Text.RegularExpressions.MatchCollection
解析:表示通过以迭代方式将正则表达式模式应用于输入字符串所找到的成功匹配的集合。

18.System.Text.RegularExpressions.Match.Groups
解析:获取由正则表达式匹配的组的集合。

19.bool System.Double.TryParse(string s, out double result)
解析:将数字的字符串表示形式转换为它的等效双精度浮点数。一个指示转换是否成功的返回值。

20.System.Windows.Controls.ItemsControl
解析:表示用于呈现的项的集合的控件。

21.System.Windows.Controls.ItemsControl.ItemsPanel()
解析:获取或设置模板,该模板定义对项的布局进行控制的面板。

22.FontAwesome.WPF.ImageAwesome
解析:Represents a control that draws an FontAwesome icon as an image.

23.FontAwesome.WPF.ImageAwesome.Icon()
解析:Gets or sets the FontAwesome icon. Changing this property will cause the icon to be redrawn.

24.System.Windows.Documents.Run
解析:旨在包含一连串格式化或非格式化文本的内联级别流内容元素。

25.System.Windows.Controls.StackPanel.Orientation()
解析:获取或设置一个值,该值指示子元素的堆叠维度。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

NLP工程化

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值