public virtual object Clone() { var borderAppearance = new BorderAppearance(); borderAppearance.CornerShape.Assign((CornerShape)cornerShape.Clone()); borderAppearance.BorderLineStyle = borderLineStyle; borderAppearance.BorderVisibility = borderVisibility; return(borderAppearance); }
private void ResetSelectedDateAppearance() { selectedDateAppearance = new BorderAppearance(); selectedDateAppearance.AppearanceChanged += OnAppearanceChanged; }
internal void Assign(BorderAppearance borderAppearance) { CornerShape.Assign((CornerShape)borderAppearance.cornerShape.Clone()); BorderLineStyle = borderAppearance.borderLineStyle; BorderVisibility = borderAppearance.borderVisibility; }