public StackPanelDropLocation(DragDropPanel panel, int index, PointSituationRelativeToRect classification, Rect coordinates) { this.panel = panel; this.index = index; this.classification = classification; this.insertionLineCoordinates = coordinates; }
protected virtual void Initialize() { this.HorizontalContentAlignment = HorizontalAlignment.Stretch; this.VerticalContentAlignment = VerticalAlignment.Stretch; Panel = CreatePanel(); Border = new Border(); Border.BorderThickness = new Thickness(1); Border.BorderBrush = Brushes.Border; Border.Child = Panel; this.Content = Border; InitializeDragDropCapabilities(); }