public virtual object Clone()
        {
            var borderAppearance = new BorderAppearance();

            borderAppearance.CornerShape.Assign((CornerShape)cornerShape.Clone());
            borderAppearance.BorderLineStyle  = borderLineStyle;
            borderAppearance.BorderVisibility = borderVisibility;
            return(borderAppearance);
        }
コード例 #2
0
 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;
 }