private void ItemDragService_PreviewDropTarget(object sender, PreviewDropTargetEventArgs e) { RadDragDropService service = sender as RadDragDropService; RadPageViewItem item = e.DropTarget as RadPageViewItem; if (item != null) { ShowEventMessage(item.Text, "ItemDragService.PreviewDropTarget"); } }
protected override RadPageViewItem CreatePageViewItem(IRadPageViewProvider pageViewProvider, GridViewInfo viewInfo) { RadPageViewItem item = base.CreatePageViewItem(pageViewProvider, viewInfo); RadPageViewExplorerBarItem explorerBarItem = item as RadPageViewExplorerBarItem; if (explorerBarItem != null) { explorerBarItem.AssociatedContentAreaElement.Children[0].MaxSize = new System.Drawing.Size(0, 152); } return(item); }
public RadPageViewItemCreatingEventArgs(RadPageViewPage page) : base(page) { this.item = null; }