protected override void CreateRepositoryItem()
 {
     base.CreateRepositoryItem();
     fProperties             = new RepositoryItemFADatePicker();
     Properties.PopupControl = popupContainerControl;
     Properties.SetOwner(this);
 }
Beispiel #2
0
        /// <summary>
        /// Assigns the specified item.
        /// </summary>
        /// <param name="item">The item.</param>
        public override void Assign(RepositoryItem item)
        {
            RepositoryItemFADatePicker source = item as RepositoryItemFADatePicker;

            BeginUpdate();
            try
            {
                PopupContainerControl popupControl = PopupControl;
                base.Assign(item);
                PopupControl = popupControl;

                if (source == null)
                {
                    return;
                }

                LookAndFeel.Assign(source.LookAndFeel);
            }
            finally
            {
                EndUpdate();
            }
        }
 protected override void CreateRepositoryItem()
 {
     base.CreateRepositoryItem();
     fProperties = new RepositoryItemFADatePicker();
     Properties.PopupControl = popupContainerControl;
     Properties.SetOwner(this);
 }
 static XtraFADatePicker()
 {
     RepositoryItemFADatePicker.Register();
 }