DockContentDragFilter.StartDrag Method
This language is not supported or no code example is available.
Parameters
-
content
-
VitNX_DockContent
public void StartDrag(VitNX_DockContent content)
{
_regionDropAreas = new Dictionary<VitNX_DockRegion,
DockDropArea>();
_groupDropAreas = new Dictionary<VitNX_DockGroup,
DockDropCollection>();
foreach (var region in _dockPanel.Regions.Values)
{
if (region.DockArea == VitNX_DockArea.Document)
continue;
if (region.Visible)
{
foreach (var group in region.Groups)
{
var collection = new DockDropCollection(_dockPanel, group);
_groupDropAreas.Add(group, collection);
}
}
else
{
var area = new DockDropArea(_dockPanel, region);
_regionDropAreas.Add(region, area);
}
}
_dragContent = content;
_isDragging = true;
}
This language is not supported or no code example is available.
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
.NET Core
Supported in: 5.0+, 6.0+