Exemple #1
0
        /// <summary>
        /// Copies the CustomCalendarItem specific properties
        /// to new instance of the item
        /// </summary>
        /// <param name="copy">New CustomCalendarItem instance</param>
        protected override void CopyToItem(BaseItem copy)
        {
            ButtonCustomItem objCopy = copy as ButtonCustomItem;

            base.CopyToItem(objCopy);

            objCopy._CalendarView = _CalendarView;
        }
Exemple #2
0
        /// <summary>
        /// Returns copy of the item.
        ///
        /// This routine is called to propagate the item
        /// within each view (both in the same view as well as
        /// across multiple views in multi-user displays)
        /// </summary>
        public override BaseItem Copy()
        {
            ButtonCustomItem objCopy = new ButtonCustomItem();

            CopyToItem(objCopy);

            return(objCopy);
        }