Winform:具有另一种外观和感觉的单选按钮逻辑? [英] Winform: Radio button logic with another look and feel?

查看:32
本文介绍了Winform:具有另一种外观和感觉的单选按钮逻辑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以另一种外观和感觉实现单选按钮逻辑(多种可能性,一种选择).

I need to implement a radio button logic(multiple possibilities, one choice) with another look and feel.

外观应该类似于:

含义:一张图片、一个标题和一个简短的描述,没有单选按钮,只有一个边框.

Meaning: an image, a title and a small description, no radio button but a border for the selected one.

我想知道您是否知道任何可以执行此操作的现有组件(在 c# 或 devexpress 库中),或者我是否必须自己实现.

I want to know if you know any existing components that can do this(in c# or in devexpress library) or if I have to implement this myself.

谢谢!

推荐答案

这看起来像一个列表视图,而不是一个单选框.请在此处查看 MSDN 帮助.

This looks like a list view, not a radio box. See MSDN help here.

View.Details 枚举:

View.Details enumeration:

每个项目都显示在单独的行上,其中包含按列排列的每个项目的更多信息.最左边的列包含一个小图标和标签,随后的列包含应用程序指定的子项.一列显示一个标题,该标题可以显示该列的标题.用户可以在运行时调整每一列的大小.

Each item appears on a separate line with further information about each item arranged in columns. The left-most column contains a small icon and label, and subsequent columns contain sub items as specified by the application. A column displays a header which can display a caption for the column. The user can resize each column at run time.

View.Tile 枚举

View.Tile enumeration

每个项目都显示为一个全尺寸图标,其右侧带有项目标签和子项目信息.出现的子项信息由应用程序指定.此视图仅在 Windows XP 和 Windows Server 2003 家族上可用.在早期的操作系统上,该值被忽略,ListView 控件显示在 LargeIcon 视图中.

Each item appears as a full-sized icon with the item label and subitem information to the right of it. The subitem information that appears is specified by the application. This view is available only on Windows XP and the Windows Server 2003 family. On earlier operating systems, this value is ignored and the ListView control displays in the LargeIcon view.

这篇关于Winform:具有另一种外观和感觉的单选按钮逻辑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆