ASP.NET RepeatDirection ਪ੍ਰਤੀਭੂਤੀ

ਪਰਿਭਾਸ਼ਾ ਅਤੇ ਵਰਤੋਂ

RepeatDirection ਪ੍ਰਤੀਭੂਤੀ ਵਿੱਚ ਜਾਂ ਸੈਟ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਕਿ RadioButtonList ਵਿੱਚ ਪ੍ਰੋਜੈਕਟ ਕਿਵੇਂ ਪ੍ਰਦਰਸ਼ਿਤ ਹੋਣਗੇ

ਸਿਧਾਂਤ

<asp:RadioButtonList RepeatDirection="mode" runat="server">
ਕੁਝ ਸਮਗਰੀ
</asp:RadioButtonList >
ਪ੍ਰਤੀਭੂਤੀ ਵਰਣਨ
mode

RadioButtonList ਵਿੱਚ ਪ੍ਰੋਜੈਕਟ ਦੇ ਵਰਤੀਕਰਣ ਦਿਸ਼ਾ ਨੂੰ ਨਿਰਧਾਰਿਤ ਕਰਦਾ ਹੈ。

ਸੰਭਵ ਮੁੱਲ:

  • Horizontal - ਪ੍ਰੋਜੈਕਟ ਪੱਧਰੀਕਰਣ ਵਿੱਚ ਪ੍ਰਦਰਸ਼ਿਤ ਹੁੰਦੇ ਹਨ
  • Vertical - ਮੂਲਤਬੀ।ਪ੍ਰੋਜੈਕਟ ਵਰਤੀਕਰਣ ਵਿੱਚ ਪ੍ਰਦਰਸ਼ਿਤ ਹੁੰਦੇ ਹਨ。

ਇੰਸਟੈਂਸ

ਹੇਠ ਦਾ ਇੰਸਟੈਂਸ RadioButtonList ਕੰਟਰੋਲ ਦਾ RepeatDirection ਸੈਟ ਕਰਦਾ ਹੈ:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" RepeatDirection="Horizontal">
ਕੁਝ ਸਮਗਰੀ
</asp:RadioButtonList>
</form>

ਇੰਸਟੈਂਸ

RadioButtonList ਕੰਟਰੋਲ ਦਾ RepeatDirection ਸੈਟ ਕਰੋ