Inheritance: INotifyPropertyChanged
Exemplo n.º 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;
		}
Exemplo n.º 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;
 }