ປະສົບຜົນ ASP.NET RepeatDirection

ການກໍານົດແລະການນໍາໃຊ້

RepeatDirection ປະສົບຜົນຂອງການເລືອກຫຼືການຕັ້ງຂອບເຂດອຸປະກອນສະແດງແບບຕາມກາງຫຼືຕາມລະບຽບ.

ວິທິພາກສາ

<asp:RadioButtonList RepeatDirection="mode" runat="server">
some content
</asp:RadioButtonList >
ປະກອບ ການອະທິບາຍ
mode

ກຳນົດຄວາມຕາງການຈຸດຕິດຕາມອຸປະກອນຂອງ RadioButtonList.

ຄວາມມູນຄ່າທີ່ສາມາດເລືອກ:

  • Horizontal - ຂອງອຸປະກອນສະແດງຕາມລະບຽບ.
  • Vertical - ຄົນທີ່ມີ. ຂອງອຸປະກອນສະແດງຕາມກາງ.

ບົດສະຫຼຸບ

ບົດສະຫຼຸບດັ່ງຕໍ່ມາໄດ້ຕັ້ງ RepeatDirection ຂອງ RadioButtonList:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
Some content
</asp:RadioButtonList>
</form>

ບົດສະຫຼຸບ

ການຕັ້ງຂອບເຂດ RepeatDirection ຂອງ RadioButtonList