Is it possible to drag selection hover box hovering over selected object Mouse Overs and a circle by dragging and WPF. Do I especially want the users to hover over a button with a hover, then click this button as a specific action. Can you give a little sample code or a link?
This is an advanced topic and its use contains more information here:
and
a small example where I use it:
public class selector: Bender (public selection selector (Uaiilement Graceful Element): base (adorned had Element) {} protected override Rikorder (drawing depicting Citrkthaan) {Rikd Adnented Elementrekt = New Rikt (0,0, Wast Ikwarth actual height); // some arbitrary drawing tools. Solid Kolrbrs render brush = new Solid Caller brushes (colors. Green); RenderBrush.Opacity = 0.2; pen render pen = new Pen (New Solid Caller Brush (Colors. Latest) , 1.5); Double render Radius = 5.0; // Draw a circle on each corner DrawingContext.DrawEllipse (Renderbrs render pens, decorated Element Rikst. Lopft render radius render Radius); DrawingContext.DrawEllipse (Renderbrs, render Pens, decorated elements Iclait. Oprait render radius render Radius); DrawingContext.DrawEllipse (Renderbrs render pen, Radius decorated Elementrektkbotm left, render, render radius); DrawingContext.DrawEllipse (Renderbrs render pen, Radius decorated Elementrekt. Botmrait, render, render radius); }}
No comments:
Post a Comment