예제 #1
0
 protected override void CreateRepositoryItem()
 {
     base.CreateRepositoryItem();
     fProperties             = new RepositoryItemFADatePicker();
     Properties.PopupControl = popupContainerControl;
     Properties.SetOwner(this);
 }
예제 #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();
            }
        }
예제 #3
0
 protected override void CreateRepositoryItem()
 {
     base.CreateRepositoryItem();
     fProperties = new RepositoryItemFADatePicker();
     Properties.PopupControl = popupContainerControl;
     Properties.SetOwner(this);
 }
예제 #4
0
 static XtraFADatePicker()
 {
     RepositoryItemFADatePicker.Register();
 }