/// <summary> /// Make a copy of CardItem properties /// </summary> /// <param name="card">Card object this CardItem belongs to</param> /// <param name="cItem">CardItem whose properties are to be copied.</param> protected void CopyBaseProperties(CardWF card, CardItem cItem) { DisplayX = cItem.DisplayX; DisplayY = cItem.DisplayY; DisplayWidth = cItem.DisplayWidth; DisplayHeight = cItem.DisplayHeight; IsInDesignMode = cItem.IsInDesignMode; QslCard = card; }
/// <summary> /// Constructor /// </summary> /// <param name="item">CardItem that this view displays</param> public CardItemView(CardItem item) { ItemData = item; }