public PopupEditorNotificationData(
     ListItemDataBindingEventArgs listItemDataBindingEventArgs)
     : this()
 {
     this.notificationContext          = PopupEditorNotificationData.Context.ListItemDataBinding;
     this.listItemDataBindingEventArgs = listItemDataBindingEventArgs;
 }
Пример #2
0
        protected virtual void OnItemDataBinding(object sender, ListItemDataBindingEventArgs args)
        {
            ListItemDataBindingEventHandler handler = (ListItemDataBindingEventHandler)this.Events[ListItemDataBindingEventKey];

            if (handler != null)
            {
                handler(this, args);
            }
        }
Пример #3
0
        protected virtual void OnItemDataBinding(object sender, ListItemDataBindingEventArgs args)
        {
            ListItemDataBindingEventHandler bindingEventHandler = (ListItemDataBindingEventHandler)this.Events[RadListControl.ListItemDataBindingEventKey];

            if (bindingEventHandler == null)
            {
                return;
            }
            bindingEventHandler((object)this, args);
        }
 public PopupEditorNotificationData()
 {
     this.notificationContext             = PopupEditorNotificationData.Context.None;
     this.valueChangedEventArgs           = (Telerik.WinControls.UI.Data.ValueChangedEventArgs)null;
     this.positionChangingCancelEventArgs = (PositionChangingCancelEventArgs)null;
     this.positionChangedEventArgs        = (Telerik.WinControls.UI.Data.PositionChangedEventArgs)null;
     this.listItemDataBindingEventArgs    = (ListItemDataBindingEventArgs)null;
     this.listItemDataBoundEventArgs      = (ListItemDataBoundEventArgs)null;
     this.creatingVisualListItemEventArgs = (CreatingVisualListItemEventArgs)null;
     this.keyPressEventArgs    = (KeyPressEventArgs)null;
     this.mouseEventArgs       = (MouseEventArgs)null;
     this.sortStyleChanged     = (SortStyleChangedEventArgs)null;
     this.visualItemFormatting = (VisualItemFormattingEventArgs)null;
     this.keyEventArgs         = (KeyEventArgs)null;
 }
Пример #5
0
 protected virtual void ItemDataBinding(object sender, ListItemDataBindingEventArgs args)
 {
     args.NewItem = (RadListDataItem) new CommandBarStripsListDataItem();
 }
Пример #6
0
 protected virtual void toolstripItemsListControl_ItemDataBinding(
     object sender,
     ListItemDataBindingEventArgs args)
 {
     args.NewItem = (RadListDataItem) new CommandBarItemsListDataItem();
 }
Пример #7
0
 private void listElement_ItemDataBinding(object sender, ListItemDataBindingEventArgs args)
 {
     this.NotifyOwner(new PopupEditorNotificationData(args));
 }
Пример #8
0
 private void element_ItemDataBinding(object sender, ListItemDataBindingEventArgs args)
 {
     this.OnItemDataBinding(sender, args);
 }