简体   繁体   中英

Is there a .NET Framework control for buttons that look and behave like control panel links?

Can I use one of these link-like buttons in a WinForms app (eg "Control Panel Home", "Add a Device" etc. see pic)?

In Windows 7+ settings they are everywhere. I wonder that must be a common control? If you hover over them they are highlighted and underlined. You click on them you fire an event etc. LinkLabel behaves differently and I can't find LinkButton in .NET.

在此处输入图片说明

I believe that the LinkLabel control is what you want.

To get it to behave like the Control Panel, set it's LinkBehavior property to HoverUnderline

您可以尝试使用最适合您的DotNetBars和选择控件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM