Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        public DragSource.Builder DragSource(DragSource component)
        {
#if MVC
            component.ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null;
#endif
            return(new DragSource.Builder(component));
        }
Beispiel #2
0
 /// <summary>
 /// Drag config object.
 /// </summary>
 public virtual TBuilder DraggablePanelConfig(DragSource draggablePanelConfig)
 {
     this.ToComponent().DraggablePanelConfig = draggablePanelConfig;
     return(this as TBuilder);
 }
 /// <summary>
 ///
 /// </summary>
 public DragSource.Builder DragSource(DragSource component)
 {
     return(new DragSource.Builder(component));
 }