コード例 #1
0
		void CheckFontChange(object sender, PropertyEventArgs e)
		{
			if (e.Key == "DefaultFont") 
			{
				FontContainer.DefaultFont = FontContainer.ParseFont(e.NewValue.ToString());
			}
		}
コード例 #2
0
		protected virtual void OnPropertyChanged(PropertyEventArgs e)
		{
			if (PropertyChanged != null) 
			{
				PropertyChanged(this, e);
			}
		}