×
ASP.NET 教程ASP.NET 简介

WP 教程

WebPages 简介WebPages RazorWebPages 布局WebPages 文件夹WebPages 全局WebPages 表单WebPages 对象WebPages 文件WebPages 帮助器WebPages WebGridWebPages 图表WebPages EmailWebPages PHPWebPages 发布WebPages 实例

WP 参考手册

WebPages 类WebPages 安全WebPages 数据库WebPages 邮局WebPages 帮助器

ASP.NET Razor

Razor 简介Razor 语法Razor C# 变量Razor C# 循环Razor C# 逻辑Razor VB 变量Razor VB 循环Razor VB 逻辑

ASP.NET MVC

MVC 简介MVC 应用程序MVC 文件夹MVC 布局MVC 控制器MVC 视图MVC 数据库MVC 模型MVC 安全MVC HTML 帮助器MVC 发布MVC 参考手册

WF 教程

WebForms 简介WebForms 页面WebForms 控件WebForms 事件WebForms 表单WebForms ViewStateWebForms TextBoxWebForms ButtonWebForms 数据绑定WebForms ArrayListWebForms HashtableWebForms SortedListWebForms XML 文件WebForms RepeaterWebForms DataListWebForms 数据库连接WebForms 母版页WebForms 导航WebForms 实例

WF 参考手册

WebForms HTMLWebForms ControlsWebForms Validation

ASP.NET CheckBoxList RepeatDirection 属性


ASP.NET CheckBoxList 控件ASP.NET CheckBoxList 控件


定义和用法

RepeatDirection 属性用于获取或设置 CheckBoxList 中的项目垂直显示还是水平显示。

语法

<asp:CheckBoxList RepeatDirection="mode" runat="server">
Some Content
</asp:CheckBoxList >

属性 描述
mode 规定 CheckBoxList 中项目的布局方向。

可能的值:

  • Horizontal - 项目水平显示。
  • Vertical - 默认。项目垂直显示。


实例

下面的实例设置了 CheckBoxList 控件的 RepeatDirection:

<form runat="server">
<asp:CheckBoxList id="cb1" runat="server"
RepeatDirection="Horizontal">

Some content

</asp:CheckBoxList>
</form>

演示实例 »

ASP.NET CheckBoxList 控件ASP.NET CheckBoxList 控件


分类导航

关注微信下载离线手册

bootwiki移动版 bootwiki
(群号:472910771)
0.049024s