File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
src/BootstrapBlazor/Components/TreeView Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -274,15 +274,6 @@ public partial class TreeView<TItem> : IModelEqualityComparer<TItem>
274274 [ Parameter ]
275275 public bool AllowDrag { get ; set ; }
276276
277- /// <summary>
278- /// Gets or sets the asynchronous callback that is invoked when a drag-and-drop operation ends.
279- /// </summary>
280- /// <remarks>This callback allows handling of the finalization of a drag-and-drop operation, such as
281- /// updating the data model or providing feedback to the user. If not set, no action is taken when the drag
282- /// operation ends.</remarks>
283- [ Parameter ]
284- public Func < TreeDropEventArgs < TItem > , Task < bool > > ? OnDragItemEndAsync { get ; set ; }
285-
286277 [ Inject ]
287278 [ NotNull ]
288279 private IStringLocalizer < TreeView < TItem > > ? Localizer { get ; set ; }
@@ -776,29 +767,3 @@ private List<TreeViewItem<TItem>> Rows
776767
777768 private int GetIndex ( TreeViewItem < TItem > item ) => Rows . IndexOf ( item ) ;
778769}
779-
780- /// <summary>
781- /// Represents the event arguments for the TreeView drop event.
782- /// </summary>
783- public class TreeDropEventArgs < TItem >
784- {
785- /// <summary>
786- /// Gets or sets the source item that is being dropped.
787- /// </summary>
788- public TreeViewItem < TItem > ? Source { get ; set ; }
789-
790- /// <summary>
791- /// Gets or sets the target item.
792- /// </summary>
793- public TreeViewItem < TItem > Target { get ; set ; } = null ! ;
794-
795- /// <summary>
796- /// Gets or sets the drop type.
797- /// </summary>
798- public TreeDropType DropType { get ; set ; }
799-
800- /// <summary>
801- /// Gets or sets whether to expand the source item's children when dropping.
802- /// </summary>
803- public bool ExpandAfterDrop { get ; set ; }
804- }
You can’t perform that action at this time.
0 commit comments