Inheritance: INotifyPropertyChanged
Example #1
0
		public Preferences Clone()
		{
			var preferences = new Preferences
			                  	{
			                  		ElementHeightDefault = this.ElementHeightDefault,
			                  		ElementWidthDefault = this.ElementWidthDefault,
			                  		DisplayHeightDefault = this.DisplayHeightDefault,
			                  		DisplayItemHeightDefault = this.DisplayItemHeightDefault,
			                  		DisplayItemWidthDefault = this.DisplayItemWidthDefault,
			                  		DisplayWidthDefault = this.DisplayWidthDefault,
			                  		OpacityDefault = this.OpacityDefault,
			                  	};
			return preferences;
		}
Example #2
0
 public Preferences Clone()
 {
     var preferences = new Preferences
         {
             ChannelHeightDefault = this.ChannelHeightDefault,
             ChannelWidthDefault = this.ChannelWidthDefault,
             DisplayHeightDefault = this.DisplayHeightDefault,
             DisplayItemHeightDefault = this.DisplayItemHeightDefault,
             DisplayItemWidthDefault = this.DisplayItemWidthDefault,
             DisplayWidthDefault = this.DisplayWidthDefault,
             OpacityDefault = this.OpacityDefault,
         };
     return preferences;
 }