Ejemplo n.º 1
0
 public bool Equals(FontColor p)
 {
     if (p == null)
     {
         return(false);
     }
     if (this.Name != p.Name)
     {
         return(false);
     }
     return(this.Brush.Equals(p.Brush));
 }
Ejemplo n.º 2
0
		public bool Equals(FontColor p)
		{
			if (p == null)
			{
				return false;
			}
			if (this.Name != p.Name)
			{
				return false;
			}
			return this.Brush.Equals(p.Brush);
		}
Ejemplo n.º 3
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            FontColor p = obj as FontColor;

            if (p == null)
            {
                return(false);
            }
            if (this.Name != p.Name)
            {
                return(false);
            }
            return(this.Brush.Equals(p.Brush));
        }
Ejemplo n.º 4
0
		public ColorPickerViewModel()
		{
			this.selectedFontColor = AvailableColors.GetFontColor(Colors.Black);
			this.roFontColors = new ReadOnlyCollection<FontColor>(new AvailableColors());
		}
Ejemplo n.º 5
0
 public ColorPickerViewModel()
 {
     this.selectedFontColor = AvailableColors.GetFontColor(Colors.Black);
     this.roFontColors      = new ReadOnlyCollection <FontColor>(new AvailableColors());
 }