English 中文(简体)
如何根据治疗者的位置显示像流行这样的东西(例如信息)?
原标题:How to show anything(e.g information) like popup according to cursor s place?

我想在案文中提供一些信息。 盒子完全位于曲线。 C# :it 似乎在“插入”的地方。 请提供帮助。 总的来说,你看上去的是狗(......),但我想看看看看一看一看照片(如果我那儿的官司不好,我会发现这意味着什么)。

enter image description here

最佳回答

如果用户在文本框内施加压力,处理OnKeyDown事件,赞扬目前的治疗者立场,重新控制人口。 这种人口控制可以由你定义为一种习俗控制。

Edit:正如jberger所指出的,你还可以执行奥森松当选的书记员,处理任何 cur子变化。

问题回答

You can use a Popup: http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.popup.aspx

这基本上是一个没有边界的窗口,其位置高于其他内容。

Assign PlacementMode. 改变财产安置。 还有一些其他特性可以改变居住状况。

You can also use AdornerClass for creating your own custom-styled popup. Check this link: http://msdn.microsoft.com/en-gb/library/system.windows.documents.adorner.aspx If you aren t used Adorner class yet, you can start with: http://msdn.microsoft.com/en-us/library/ms753340.aspx





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签