public InsertionPointHighlighter(ToolBehaviorContext toolContext) { InsertionPointHighlighter pointHighlighter = this; this.previewHighlighter = new PreviewElementHighlighter(toolContext.View.AdornerLayer, (PreviewElementHighlighter.CreateAdornerSet)(adornedElement => pointHighlighter.CreateAdornerSet(toolContext)), (PreviewElementHighlighter.VerifyIsEnabled)(() => toolContext.ToolManager.ShowActiveContainer)); this.viewModel = toolContext.View.ViewModel; }
public DataBindingToolBehavior(ToolBehaviorContext toolContext) : base(toolContext) { this.previewHighlighter = new InsertionPointHighlighter(toolContext); this.masterBackground = this.GetResourceBrush(SystemColors.HighlightColorKey); this.detailsBackground = this.GetResourceBrush(SystemColors.ControlDarkDarkColorKey); }
internal DragDropInsertBehavior(ToolBehaviorContext toolContext) : base(toolContext) { this.previewHighlighter = new InsertionPointHighlighter(toolContext); }
internal ElementCreateBehavior(ToolBehaviorContext toolContext) : base(toolContext) { this.previewHighlighter = new InsertionPointHighlighter(toolContext); }