Exemplo n.º 1
0
 /// <summary>
 /// Assigns Values of supplied <see cref="AppearanceBar" /> to current object.
 /// </summary>
 /// <param name="app"><see cref="AppearanceBar" /> object whose value is to be assigned.</param>
 public void Assign(AppearanceBar app)
 {
     backStyle.Assign(app.BackStyle);
     focusedBorder = app.FocusedBorder;
     normalBorder  = app.NormalBorder;
     appearanceBorder.Assign(app.AppearanceBorder);
     cornerRadius = app.cornerRadius;
     disabledMask = app.disabledMask;
 }
 /// <summary>
 /// Assigns Values of supplied <see cref="AppearanceItem" /> to current object.
 /// </summary>
 /// <param name="app"><see cref="AppearanceItem" /> object whose value is to be assigned.</param>
 public void Assign(AppearanceItem app)
 {
     backStyle.Assign(app.BackStyle);
     clickStyle.Assign(app.ClickStyle);
     gradient        = app.Gradient;
     hoverBorder     = app.HoverBorder;
     hoverForeGround = app.HoverForeGround;
     hoverStyle.Assign(app.HoverStyle);
     normalBorder       = app.NormalBorder;
     normalForeGround   = app.NormalForeGround;
     selectedBorder     = app.SelectedBorder;
     selectedForeGround = app.SelectedForeGround;
     disabledBorder     = app.DisabledBorder;
     disabledForeGround = app.disabledForeGround;
     selectedHoverStyle.Assign(app.SelectedHoverStyle);
     selectedStyle.Assign(app.SelectedStyle);
     disabledStyle.Assign(app.DisabledStyle);
     appearenceText.Assign(app.AppearenceText);
 }