protected override void CreateRepositoryItem() { base.CreateRepositoryItem(); fProperties = new RepositoryItemFADatePicker(); Properties.PopupControl = popupContainerControl; Properties.SetOwner(this); }
/// <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(); } }
static XtraFADatePicker() { RepositoryItemFADatePicker.Register(); }