1.void GalaSoft.MvvmLight.ICleanup.Cleanup()
解析:Cleans up the instance, for example by saving its state, removing resources, etc.
2.GalaSoft.MvvmLight.CommandWpf.RelayCommand
解析:A command whose sole purpose is to relay its functionality to other objects by invoking delegates.
3.app.publish
解析:文件夹。
4.System.Windows.DataTemplat
解析:介绍数据对象的可视结构。
5.WPF事件触发命令
解析:
[1]方法一
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<cmd:EventToCommand Command="{Binding HandleCommand}" CommandParameter="LoadItems"/>
</i:EventTrigger>
</i:Interaction.Triggers>
[2]方法二
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<i:InvokeCommandAction Command="{Binding HandleCommand}" CommandParameter="LoadItems" />
</i:EventTrigger>
<i:EventTrigger EventName="Unloaded">
<i:InvokeCommandAction Command="{Binding HandleCommand}" CommandParameter="Unload" />
</i:EventTrigger>
</i:Interaction.Triggers>
6.System.Windows.ResourceDictionary.MergedDictionaries()
解析:获取一套ResourceDictionary构成合并字典中的各种资源字典的字典。
7.System.Windows.Media.Brush System.Windows.Controls.Panel.Background()
解析:获取或设置Brush用于填充之间的边框区域Panel。
8.System.Windows.Media.ImageBrush
解析:使用图像绘制区域。
9.System.Windows.Media.Stretch System.Windows.Media.TileBrush.Stretch()
解析:获取或设置一个值,该值指定此TileBrush的内容如何拉伸以适合其图块。
10.System.Windows.Controls.WrapPanel
解析:定位子元素按顺序排列,从左到右,将内容断开到下一行包含框的边缘。后续排序按照按顺序从上到下或从右到左,具体取决于值Orientation()属性。
11.System.Windows.DataTemplate System.Windows.Controls.ItemsControl.ItemTemplate()
解析:获取或设置用来显示每个项的DataTemplate。
12.bool GalaSoft.MvvmLight.ViewModelBase.Set<string>(ref string field, string newValue = null, bool broadcast = false, string propertyName = null)
解析:Assigns a new value to the property. Then, raises the PropertyChanged event if needed, and broadcasts a PropertyChangedMessage using the Messenger instance [or the static default instance if no Messenger instance is available].
13.System.Windows.Visibility.Collapsed
解析:不显示元素,并且不在布局中为它保留空间。
14.System.Collections.Generic.KeyValuePair<int,string>
解析:定义可设置或检索的键/值对。
15.Settings.settings
解析:
[1]一个Setting有4个属性Name,Type,Scope,Value。Scope值为Application时,对应的Setting在运行时不可以修改。Scope值为User时,对应的Setting在运行时可以修改。
[2]同一个工程中,可以添加多个.settings文件,每一个都会生成一个封装类,各对app.config中的一部分进行操作。
16.System.Data.IDataReader
解析:提供一种读取结果集[通过对数据源执行命令获取]的一个或多个只进流的方法,并由访问关系数据库的.NET Framework数据提供程序实现。
17.bool System.Data.IDataReader.Read()
解析:让IDataReader前进到下一条记录。
18.System.Windows.Controls.Primitives.Selector.SelectedItem
解析:获取或设置当前所选内容中的第一项或如果所选内容为空则返回null。
19.void System.Configuration.ApplicationSettingsBase.Save()
解析:存储应用程序设置属性的当前值。
20.void System.Windows.Window.Hide()
解析:使窗口不可见。
21.void System.GC.Collect(int generation)
解析:强制对0代到指定代进行即时垃圾回收。
22.Task System.Threading.Tasks.Task.Run(Action action)
解析:将在线程池上运行的指定工作排队,并返回代表该工作的Task对象。
23.System.DateTime
解析:表示时间上的一刻,通常以日期和当天的时间表示。
24.System.Windows.RoutedEventArgs
解析:包含与路由事件相关联的状态信息和事件数据。
25.InitializeComponent()
解析:由系统生成的对于窗体界面的定义方法。
参考文献:
[1]MVVM Light Toolkit:http://www.mvvmlight.net/