-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
RadioButtonList.xml
1358 lines (1232 loc) · 100 KB
/
RadioButtonList.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="RadioButtonList" FullName="System.Web.UI.WebControls.RadioButtonList">
<TypeSignature Language="C#" Value="public class RadioButtonList : System.Web.UI.WebControls.ListControl, System.Web.UI.INamingContainer, System.Web.UI.IPostBackDataHandler, System.Web.UI.WebControls.IRepeatInfoUser" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit RadioButtonList extends System.Web.UI.WebControls.ListControl implements class System.Web.UI.INamingContainer, class System.Web.UI.IPostBackDataHandler, class System.Web.UI.WebControls.IRepeatInfoUser" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.WebControls.RadioButtonList" />
<TypeSignature Language="VB.NET" Value="Public Class RadioButtonList
Inherits ListControl
Implements INamingContainer, IPostBackDataHandler, IRepeatInfoUser" />
<TypeSignature Language="C++ CLI" Value="public ref class RadioButtonList : System::Web::UI::WebControls::ListControl, System::Web::UI::INamingContainer, System::Web::UI::IPostBackDataHandler, System::Web::UI::WebControls::IRepeatInfoUser" />
<TypeSignature Language="F#" Value="type RadioButtonList = class
 inherit ListControl
 interface IRepeatInfoUser
 interface INamingContainer
 interface IPostBackDataHandler" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.WebControls.ListControl</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Web.UI.INamingContainer</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Web.UI.IPostBackDataHandler</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Web.UI.WebControls.IRepeatInfoUser</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Web.UI.SupportsEventValidation</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Web.UI.ValidationProperty("SelectedItem")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a list control that encapsulates a group of radio button controls.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
In this topic:
- [Introduction](#introduction)
- [Specifying List Layout](#specifying_list_layout)
- [Accessibility](#accessibility)
- [Declarative Syntax](#declarative_syntax)
<a name="introduction"></a>
## Introduction
The <xref:System.Web.UI.WebControls.RadioButtonList> control provides page developers with a single-selection radio button group that can be dynamically generated through data binding. It contains an <xref:System.Web.UI.WebControls.ListControl.Items%2A> collection with members that correspond to individual items on the list. To determine which item is selected, test the <xref:System.Web.UI.WebControls.ListControl.SelectedItem%2A> property of the list.
<a name="specifying_list_layout"></a>
## Specifying List Layout
You can specify how the list is rendered by setting the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> and <xref:System.Web.UI.WebControls.RadioButtonList.RepeatDirection%2A> properties. For information about layout options, see the <xref:System.Web.UI.WebControls.RepeatLayout> enumeration.
By default, <xref:System.Web.UI.WebControls.RadioButtonList.RepeatDirection%2A> is set to `RepeatDirection.Vertical`. Setting this property to `RepeatDirection.Horizontal` causes the control to render the list horizontally. Some <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> settings do not allow horizontal layout. For more information, see the <xref:System.Web.UI.WebControls.RepeatLayout> enumeration.
> [!CAUTION]
> This control can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. You can use validation controls to verify user input before displaying the input text in a <xref:System.Web.UI.WebControls.RadioButtonList> control. ASP.NET provides an input request validation feature to block script and HTML in user input. For more information, see [Securing Standard Controls](https://msdn.microsoft.com/library/f3e7718f-63d0-44a3-bd5f-48cc2059c2a8), [How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings](https://msdn.microsoft.com/library/6f67973f-dda0-45a1-ba9d-e88532d7dc5b), and [Validating User Input in ASP.NET Web Pages](https://msdn.microsoft.com/library/4ad3dacb-89e0-4cee-89ac-40a3f2a85461).
<a name="accessibility"></a>
## Accessibility
For information about how to configure this control so that it generates markup that conforms to accessibility standards, see [Accessibility in Visual Studio and ASP.NET](https://msdn.microsoft.com/library/7e3ce9c4-6b7d-4fb1-94b5-72cf2a44fe13) and [ASP.NET Controls and Accessibility](https://msdn.microsoft.com/library/847a37e3-ce20-41da-b0d3-7dfb0fdae9a0).
<a name="declarative_syntax"></a>
## Declarative Syntax
```
<asp:RadioButtonList
AccessKey="string"
AppendDataBoundItems="True|False"
AutoPostBack="True|False"
BackColor="color name|#dddddd"
BorderColor="color name|#dddddd"
BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge|
Inset|Outset"
BorderWidth="size"
CausesValidation="True|False"
CellPadding="integer"
CellSpacing="integer"
CssClass="string"
DataMember="string"
DataSource="string"
DataSourceID="string"
DataTextField="string"
DataTextFormatString="string"
DataValueField="string"
Enabled="True|False"
EnableTheming="True|False"
EnableViewState="True|False"
Font-Bold="True|False"
Font-Italic="True|False"
Font-Names="string"
Font-Overline="True|False"
Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|
Large|X-Large|XX-Large"
Font-Strikeout="True|False"
Font-Underline="True|False"
ForeColor="color name|#dddddd"
Height="size"
ID="string"
OnDataBinding="DataBinding event handler"
OnDataBound="DataBound event handler"
OnDisposed="Disposed event handler"
OnInit="Init event handler"
OnLoad="Load event handler"
OnPreRender="PreRender event handler"
OnSelectedIndexChanged="SelectedIndexChanged event handler"
OnTextChanged="TextChanged event handler"
OnUnload="Unload event handler"
RepeatColumns="integer"
RepeatDirection="Horizontal|Vertical"
RepeatLayout="Table|Flow|OrderedList|UnorderedList"
runat="server"
SelectedIndex="integer"
SelectedValue="string"
SkinID="string"
Style="string"
TabIndex="integer"
TextAlign="Left|Right"
ToolTip="string"
ValidationGroup="string"
Visible="True|False"
Width="size"
>
<asp:ListItem
Enabled="True|False"
Selected="True|False"
Text="string"
Value="string"
/>
</asp:RadioButtonList>
```
## Examples
The following code example demonstrates how to programmatically modify the display of a <xref:System.Web.UI.WebControls.RadioButtonList> control.
> [!NOTE]
> The following code example uses the single-file code model and might not work correctly if copied directly into a code-behind file. This code example must be copied into an empty text file that has an .aspx extension. For more information on the Web Forms code model, see [ASP.NET Web Forms Page Code Model](https://msdn.microsoft.com/library/81b13e7a-b95b-4285-906f-d2dd77411417).
[!code-aspx-csharp[Classic RadioButtonList Example#1](~/samples/snippets/csharp/VS_Snippets_WebNet/Classic RadioButtonList Example/CS/sourcecs.aspx#1)]
[!code-aspx-vb[Classic RadioButtonList Example#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/Classic RadioButtonList Example/VB/sourcevb.aspx#1)]
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.ListControl" />
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.RepeatDirection" />
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.RepeatLayout" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
<related type="Article" href="https://msdn.microsoft.com/library/f3e7718f-63d0-44a3-bd5f-48cc2059c2a8">Securing Standard Controls</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public RadioButtonList ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 RadioButtonList();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this constructor to create and initialize a new instance of the <xref:System.Web.UI.WebControls.RadioButtonList> class.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="CellPadding">
<MemberSignature Language="C#" Value="public virtual int CellPadding { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 CellPadding" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.CellPadding" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property CellPadding As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property int CellPadding { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.CellPadding : int with get, set" Usage="System.Web.UI.WebControls.RadioButtonList.CellPadding" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(-1)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the distance (in pixels) between the border and the contents of the table cell.</summary>
<value>The distance (in pixels) between the border and the contents of the table cell. The default is -1, which indicates that this property is not set.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property applies only when the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to `RepeatLayout.Table`.
Use this property to control the spacing between the contents of a cell and the cell's border.
The padding amount specified is added to all four sides of a cell. It uses the height of the tallest cell in the table and the width of the widest cell in the table. The resulting cell size is applied uniformly to all cells in the table. Individual cell sizes cannot be specified.
## Examples
The following code example demonstrates how to use the <xref:System.Web.UI.WebControls.RadioButtonList.CellPadding%2A> property to pad the cells of a <xref:System.Web.UI.WebControls.RadioButtonList> control with 10 pixels.
[!code-aspx-csharp[Classic RadioButtonList.CellPadding Example#1](~/samples/snippets/csharp/VS_Snippets_WebNet/Classic RadioButtonList.CellPadding Example/CS/sourcecs.aspx#1)]
[!code-aspx-vb[Classic RadioButtonList.CellPadding Example#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/Classic RadioButtonList.CellPadding Example/VB/sourcevb.aspx#1)]
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.CellSpacing" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="CellSpacing">
<MemberSignature Language="C#" Value="public virtual int CellSpacing { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 CellSpacing" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.CellSpacing" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property CellSpacing As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property int CellSpacing { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.CellSpacing : int with get, set" Usage="System.Web.UI.WebControls.RadioButtonList.CellSpacing" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(-1)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the distance (in pixels) between adjacent table cells.</summary>
<value>The distance (in pixels) between adjacent table cells. The default is -1, which indicates that this property is not set.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property applies only when the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to `RepeatLayout.Table`.
Use this property to control the spacing between individual cells in the table. This property is applied both vertically and horizontally.
## Examples
The following code example demonstrates how to use the <xref:System.Web.UI.WebControls.RadioButtonList.CellSpacing%2A> property to space the cells of a <xref:System.Web.UI.WebControls.RadioButtonList> control apart by 10 pixels.
[!code-aspx-csharp[Classic RadioButtonList.CellSpacing Example#1](~/samples/snippets/csharp/VS_Snippets_WebNet/Classic RadioButtonList.CellSpacing Example/CS/sourcecs.aspx#1)]
[!code-aspx-vb[Classic RadioButtonList.CellSpacing Example#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/Classic RadioButtonList.CellSpacing Example/VB/sourcevb.aspx#1)]
]]></format>
</remarks>
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.CellPadding" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="CreateControlStyle">
<MemberSignature Language="C#" Value="protected override System.Web.UI.WebControls.Style CreateControlStyle ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Web.UI.WebControls.Style CreateControlStyle() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.CreateControlStyle" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CreateControlStyle () As Style" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Web::UI::WebControls::Style ^ CreateControlStyle();" />
<MemberSignature Language="F#" Value="override this.CreateControlStyle : unit -> System.Web.UI.WebControls.Style" Usage="radioButtonList.CreateControlStyle " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Style</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a style object that is used internally by the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control to implement all style-related properties.</summary>
<returns>A <see cref="T:System.Web.UI.WebControls.Style" /> that contains the style properties of the control.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.CreateControlStyle%2A> method is used primarily by control developers in custom control that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
## Examples
The following code example demonstrates how to override the <xref:System.Web.UI.WebControls.RadioButtonList.CreateControlStyle%2A> method in a custom server control so that it always returns an empty <xref:System.Web.UI.WebControls.TableStyle> object for the <xref:System.Web.UI.WebControls.RadioButtonList> control.
[!code-aspx-csharp[CustomRadioButtonListCreateControlStyle#1](~/samples/snippets/csharp/VS_Snippets_WebNet/CustomRadioButtonListCreateControlStyle/CS/custom_radiobuttonlist_createcontrolstylecs.aspx#1)]
[!code-aspx-vb[CustomRadioButtonListCreateControlStyle#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/CustomRadioButtonListCreateControlStyle/VB/custom_radiobuttonlist_createcontrolstylevb.aspx#1)]
[!code-csharp[CustomRadioButtonListCreateControlStyle#2](~/samples/snippets/csharp/VS_Snippets_WebNet/CustomRadioButtonListCreateControlStyle/CS/custom_radiobuttonlist_createcontrolstyle.cs#2)]
[!code-vb[CustomRadioButtonListCreateControlStyle#2](~/samples/snippets/visualbasic/VS_Snippets_WebNet/CustomRadioButtonListCreateControlStyle/VB/custom_radiobuttonlist_createcontrolstyle.vb#2)]
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="FindControl">
<MemberSignature Language="C#" Value="protected override System.Web.UI.Control FindControl (string id, int pathOffset);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Web.UI.Control FindControl(string id, int32 pathOffset) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.FindControl(System.String,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function FindControl (id As String, pathOffset As Integer) As Control" />
<MemberSignature Language="C++ CLI" Value="protected:
 override System::Web::UI::Control ^ FindControl(System::String ^ id, int pathOffset);" />
<MemberSignature Language="F#" Value="override this.FindControl : string * int -> System.Web.UI.Control" Usage="radioButtonList.FindControl (id, pathOffset)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.Control</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="id" Type="System.String" Index="0" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="pathOffset" Type="System.Int32" Index="1" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="id">The identifier for the control to find.</param>
<param name="pathOffset">The number of controls up the page control hierarchy needed to reach a naming container.</param>
<summary>Searches the current naming container for a server control with the specified ID and path offset. The <see cref="M:System.Web.UI.WebControls.RadioButtonList.FindControl(System.String,System.Int32)" /> method always returns the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> object.</summary>
<returns>The current <see cref="T:System.Web.UI.WebControls.RadioButtonList" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.FindControl%2A> method is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
The <xref:System.Web.UI.WebControls.RadioButtonList.FindControl%2A> method overrides the <xref:System.Web.UI.Control.FindControl%2A?displayProperty=nameWithType> method of the base <xref:System.Web.UI.Control> class. You should not override this version of the <xref:System.Web.UI.Control.FindControl%2A?displayProperty=nameWithType> method.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="GetItemStyle">
<MemberSignature Language="C#" Value="protected virtual System.Web.UI.WebControls.Style GetItemStyle (System.Web.UI.WebControls.ListItemType itemType, int repeatIndex);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Web.UI.WebControls.Style GetItemStyle(valuetype System.Web.UI.WebControls.ListItemType itemType, int32 repeatIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.GetItemStyle(System.Web.UI.WebControls.ListItemType,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function GetItemStyle (itemType As ListItemType, repeatIndex As Integer) As Style" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual System::Web::UI::WebControls::Style ^ GetItemStyle(System::Web::UI::WebControls::ListItemType itemType, int repeatIndex);" />
<MemberSignature Language="F#" Value="abstract member GetItemStyle : System.Web.UI.WebControls.ListItemType * int -> System.Web.UI.WebControls.Style
override this.GetItemStyle : System.Web.UI.WebControls.ListItemType * int -> System.Web.UI.WebControls.Style" Usage="radioButtonList.GetItemStyle (itemType, repeatIndex)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle(System.Web.UI.WebControls.ListItemType,System.Int32)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Style</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="itemType" Type="System.Web.UI.WebControls.ListItemType" Index="0" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="repeatIndex" Type="System.Int32" Index="1" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="itemType">One of the <see cref="T:System.Web.UI.WebControls.ListItemType" /> enumeration values.</param>
<param name="repeatIndex">An ordinal index that specifies the location of the item in the list control.</param>
<summary>Retrieves the style of the specified item type at the specified index in the list control.</summary>
<returns>
<see langword="null" />, indicating that style attributes are not set on individual list items in a <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.GetItemStyle%2A> method is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
The style attribute for the <xref:System.Web.UI.WebControls.RadioButtonList> control applies to all list items that are contained by the control. Use the <xref:System.Web.UI.WebControls.Style> property of the <xref:System.Web.UI.WebControls.RadioButtonList> control to examine or set the style attribute for the control and its list items.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="HasFooter">
<MemberSignature Language="C#" Value="protected virtual bool HasFooter { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasFooter" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.HasFooter" />
<MemberSignature Language="VB.NET" Value="Protected Overridable ReadOnly Property HasFooter As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property bool HasFooter { bool get(); };" />
<MemberSignature Language="F#" Value="member this.HasFooter : bool" Usage="System.Web.UI.WebControls.RadioButtonList.HasFooter" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Web.UI.WebControls.IRepeatInfoUser.HasFooter</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control contains a footer section.</summary>
<value>
<see langword="false" />, indicating that the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> does not contain a footer section.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.HasFooter%2A> property is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class. Footers are not supported when the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to <xref:System.Web.UI.WebControls.RepeatLayout.UnorderedList> or <xref:System.Web.UI.WebControls.RepeatLayout.OrderedList>.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="HasHeader">
<MemberSignature Language="C#" Value="protected virtual bool HasHeader { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasHeader" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.HasHeader" />
<MemberSignature Language="VB.NET" Value="Protected Overridable ReadOnly Property HasHeader As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property bool HasHeader { bool get(); };" />
<MemberSignature Language="F#" Value="member this.HasHeader : bool" Usage="System.Web.UI.WebControls.RadioButtonList.HasHeader" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Web.UI.WebControls.IRepeatInfoUser.HasHeader</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control contains a heading section.</summary>
<value>
<see langword="false" />, indicating that a <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control does not contain a heading section.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.HasHeader%2A> property is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class. Headers are not supported when the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to <xref:System.Web.UI.WebControls.RepeatLayout.UnorderedList> or <xref:System.Web.UI.WebControls.RepeatLayout.OrderedList>.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="HasSeparators">
<MemberSignature Language="C#" Value="protected virtual bool HasSeparators { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasSeparators" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.HasSeparators" />
<MemberSignature Language="VB.NET" Value="Protected Overridable ReadOnly Property HasSeparators As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property bool HasSeparators { bool get(); };" />
<MemberSignature Language="F#" Value="member this.HasSeparators : bool" Usage="System.Web.UI.WebControls.RadioButtonList.HasSeparators" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Web.UI.WebControls.IRepeatInfoUser.HasSeparators</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control contains separators between items in the list.</summary>
<value>
<see langword="false" />, indicating that a <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control does not contain separators.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.HasSeparators%2A> property is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class. Separators are not supported when the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to <xref:System.Web.UI.WebControls.RepeatLayout.UnorderedList> or <xref:System.Web.UI.WebControls.RepeatLayout.OrderedList>.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="LoadPostData">
<MemberSignature Language="C#" Value="protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool LoadPostData(string postDataKey, class System.Collections.Specialized.NameValueCollection postCollection) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);" />
<MemberSignature Language="F#" Value="abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool" Usage="radioButtonList.LoadPostData (postDataKey, postCollection)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Web.UI.IPostBackDataHandler.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="postDataKey" Type="System.String" Index="0" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="postCollection" Type="System.Collections.Specialized.NameValueCollection" Index="1" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="postDataKey">The key identifier for the control, used to index the <paramref name="postCollection" />.</param>
<param name="postCollection">A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains value information indexed by control identifiers.</param>
<summary>Processes the posted data for the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control.</summary>
<returns>
<see langword="true" /> if the state of the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> is different from the last posting; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.LoadPostData%2A> method is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
The <xref:System.Web.UI.WebControls.RadioButtonList.LoadPostData%2A> method indicates whether the state of the <xref:System.Web.UI.WebControls.RadioButtonList> control has changed. In other words, it determines whether the selected list item in the control is the same as the last posted value. A user changing the selected item in the control changes the <xref:System.Web.UI.WebControls.ListControl.SelectedIndex%2A> value for the <xref:System.Web.UI.WebControls.RadioButtonList> control. If the same list item is selected in the control, or if the <xref:System.Web.UI.WebControls.RadioButtonList> control is disabled, <xref:System.Web.UI.WebControls.RadioButtonList.LoadPostData%2A> returns `false`.
When the <xref:System.Web.UI.WebControls.RadioButtonList.LoadPostData%2A> method returns `true` for a control, the ASP.NET page framework invokes the <xref:System.Web.UI.WebControls.RadioButtonList.RaisePostDataChangedEvent%2A> method for the control.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="OnInit">
<MemberSignature Language="C#" Value="protected internal override void OnInit (EventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig virtual instance void OnInit(class System.EventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.OnInit(System.EventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overrides Sub OnInit (e As EventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected public:
 override void OnInit(EventArgs ^ e);" />
<MemberSignature Language="F#" Value="override this.OnInit : EventArgs -> unit" Usage="radioButtonList.OnInit e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.EventArgs" Index="0" FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="e">The event data.</param>
<summary>Raises the <see cref="E:System.Web.UI.Control.Init" /> event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RaisePostDataChangedEvent">
<MemberSignature Language="C#" Value="protected virtual void RaisePostDataChangedEvent ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void RaisePostDataChangedEvent() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.RaisePostDataChangedEvent" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub RaisePostDataChangedEvent ()" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void RaisePostDataChangedEvent();" />
<MemberSignature Language="F#" Value="abstract member RaisePostDataChangedEvent : unit -> unit
override this.RaisePostDataChangedEvent : unit -> unit" Usage="radioButtonList.RaisePostDataChangedEvent " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Notifies the ASP.NET application that the state of the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control has changed.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.RaisePostDataChangedEvent%2A> method is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
The ASP.NET page framework calls the <xref:System.Web.UI.WebControls.RadioButtonList.RaisePostDataChangedEvent%2A> method on a <xref:System.Web.UI.WebControls.RadioButtonList> control when the <xref:System.Web.UI.WebControls.RadioButtonList.LoadPostData%2A> method indicates that the state of the list items have changed in the <xref:System.Web.UI.WebControls.RadioButtonList> control. The <xref:System.Web.UI.WebControls.RadioButtonList.RaisePostDataChangedEvent%2A> method calls the <xref:System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged%2A> method to raise the <xref:System.Web.UI.WebControls.ListControl.SelectedIndexChanged> event. Control developers can override the <xref:System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged%2A> method to perform custom processing when the user changes the selected item in the control.
The `RaisePostBackEvent` method can optionally perform validation before raising the <xref:System.Web.UI.WebControls.ListControl.SelectedIndexChanged> event for the control. To validate a group of controls on the page when a list item within the <xref:System.Web.UI.WebControls.RadioButtonList> control is selected, set the <xref:System.Web.UI.WebControls.ListControl.AutoPostBack%2A> and <xref:System.Web.UI.WebControls.ListControl.CausesValidation%2A> properties to `true`, and then specify the group of controls to be validated in the <xref:System.Web.UI.WebControls.ListControl.ValidationGroup%2A> property.
]]></format>
</remarks>
<altmember cref="M:System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent" />
<altmember cref="M:System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(System.EventArgs)" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="Render">
<MemberSignature Language="C#" Value="protected internal override void Render (System.Web.UI.HtmlTextWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig virtual instance void Render(class System.Web.UI.HtmlTextWriter writer) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.Render(System.Web.UI.HtmlTextWriter)" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overrides Sub Render (writer As HtmlTextWriter)" />
<MemberSignature Language="C++ CLI" Value="protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);" />
<MemberSignature Language="F#" Value="override this.Render : System.Web.UI.HtmlTextWriter -> unit" Usage="radioButtonList.Render writer" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="writer" Type="System.Web.UI.HtmlTextWriter" />
</Parameters>
<Docs>
<param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter" /> that contains the output stream for rendering on the client.</param>
<summary>Displays the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control on the client.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
The <xref:System.Web.UI.WebControls.RadioButtonList.Render%2A> method implementation for a <xref:System.Web.UI.WebControls.RadioButtonList> control initializes a <xref:System.Web.UI.WebControls.RepeatInfo> object for the list, and calls the <xref:System.Web.UI.WebControls.RepeatInfo.RenderRepeater%2A> method, which in turn uses the <xref:System.Web.UI.WebControls.RadioButtonList.RenderItem%2A> method to render individual radio button list items.
## Examples
The following code example demonstrates how to override the <xref:System.Web.UI.WebControls.RadioButtonList.Render%2A> method in a custom server control so that the <xref:System.Web.UI.WebControls.RadioButtonList> control is always displayed with descriptive text.
[!code-aspx-csharp[CustomRadioButtonListRender#1](~/samples/snippets/csharp/VS_Snippets_WebNet/CustomRadioButtonListRender/CS/custom_radiobuttonlist_rendercs.aspx#1)]
[!code-aspx-vb[CustomRadioButtonListRender#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/CustomRadioButtonListRender/VB/custom_radiobuttonlist_rendervb.aspx#1)]
[!code-csharp[CustomRadioButtonListRender#2](~/samples/snippets/csharp/VS_Snippets_WebNet/CustomRadioButtonListRender/CS/custom_radiobuttonlist_render.cs#2)]
[!code-vb[CustomRadioButtonListRender#2](~/samples/snippets/visualbasic/VS_Snippets_WebNet/CustomRadioButtonListRender/VB/custom_radiobuttonlist_render.vb#2)]
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="RenderItem">
<MemberSignature Language="C#" Value="protected virtual void RenderItem (System.Web.UI.WebControls.ListItemType itemType, int repeatIndex, System.Web.UI.WebControls.RepeatInfo repeatInfo, System.Web.UI.HtmlTextWriter writer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void RenderItem(valuetype System.Web.UI.WebControls.ListItemType itemType, int32 repeatIndex, class System.Web.UI.WebControls.RepeatInfo repeatInfo, class System.Web.UI.HtmlTextWriter writer) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.RenderItem(System.Web.UI.WebControls.ListItemType,System.Int32,System.Web.UI.WebControls.RepeatInfo,System.Web.UI.HtmlTextWriter)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void RenderItem(System::Web::UI::WebControls::ListItemType itemType, int repeatIndex, System::Web::UI::WebControls::RepeatInfo ^ repeatInfo, System::Web::UI::HtmlTextWriter ^ writer);" />
<MemberSignature Language="F#" Value="abstract member RenderItem : System.Web.UI.WebControls.ListItemType * int * System.Web.UI.WebControls.RepeatInfo * System.Web.UI.HtmlTextWriter -> unit
override this.RenderItem : System.Web.UI.WebControls.ListItemType * int * System.Web.UI.WebControls.RepeatInfo * System.Web.UI.HtmlTextWriter -> unit" Usage="radioButtonList.RenderItem (itemType, repeatIndex, repeatInfo, writer)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Web.UI.WebControls.IRepeatInfoUser.RenderItem(System.Web.UI.WebControls.ListItemType,System.Int32,System.Web.UI.WebControls.RepeatInfo,System.Web.UI.HtmlTextWriter)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="itemType" Type="System.Web.UI.WebControls.ListItemType" Index="0" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="repeatIndex" Type="System.Int32" Index="1" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="repeatInfo" Type="System.Web.UI.WebControls.RepeatInfo" Index="2" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="writer" Type="System.Web.UI.HtmlTextWriter" Index="3" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="itemType">One of the <see cref="T:System.Web.UI.WebControls.ListItemType" /> enumeration values.</param>
<param name="repeatIndex">An ordinal index that specifies the location of the item in the list control.</param>
<param name="repeatInfo">A <see cref="T:System.Web.UI.WebControls.RepeatInfo" /> that represents the information used to render the item in the list.</param>
<param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter" /> that represents the output stream to render HTML content on the client.</param>
<summary>Renders a list item in the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
The <xref:System.Web.UI.WebControls.RadioButtonList.Render%2A> method implementation for a <xref:System.Web.UI.WebControls.RadioButtonList> control initializes a <xref:System.Web.UI.WebControls.RepeatInfo> object for the list, and calls the <xref:System.Web.UI.WebControls.RepeatInfo.RenderRepeater%2A> method, which in turn uses the <xref:System.Web.UI.WebControls.RadioButtonList.RenderItem%2A> method to render individual radio-button list items.
The <xref:System.Web.UI.WebControls.RadioButtonList.RenderItem%2A> method for a <xref:System.Web.UI.WebControls.RadioButtonList> control ignores the `itemType` and `repeatInfo` parameters. The `repeatIndex` parameter value is used to select the radio button list item in the <xref:System.Web.UI.WebControls.ListControl.Items%2A> collection, and the selected list item is rendered to the output stream.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="RenderWhenDataEmpty">
<MemberSignature Language="C#" Value="public virtual bool RenderWhenDataEmpty { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool RenderWhenDataEmpty" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.RenderWhenDataEmpty" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property RenderWhenDataEmpty As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property bool RenderWhenDataEmpty { bool get(); void set(bool value); };" />
<MemberSignature Language="F#" Value="member this.RenderWhenDataEmpty : bool with get, set" Usage="System.Web.UI.WebControls.RadioButtonList.RenderWhenDataEmpty" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Web.UI.Themeable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the control is rendered if the data source has no data or if the control is not data-bound.</summary>
<value>
<see langword="true" /> if the control is rendered if the data source has no data or if the control is not data-bound; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RepeatColumns">
<MemberSignature Language="C#" Value="public virtual int RepeatColumns { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 RepeatColumns" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.RepeatColumns" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property RepeatColumns As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property int RepeatColumns { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.RepeatColumns : int with get, set" Usage="System.Web.UI.WebControls.RadioButtonList.RepeatColumns" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the number of columns to display in the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control.</summary>
<value>The number of columns to display in the <see cref="T:System.Web.UI.WebControls.RadioButtonList" />. The default is 0, which indicates that this property is not set.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to <xref:System.Web.UI.WebControls.RepeatLayout.Table>, you can use this property to specify the number of columns that display items in the <xref:System.Web.UI.WebControls.RadioButtonList> control. If this property is not set, the <xref:System.Web.UI.WebControls.RadioButtonList> control displays all items in the list in a single column.
## Examples
The following code example demonstrates how to use the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatColumns%2A> property to display the items of a <xref:System.Web.UI.WebControls.RadioButtonList> control in two columns.
[!code-aspx-csharp[Classic RadioButtonList.RepeatColumns Example#1](~/samples/snippets/csharp/VS_Snippets_WebNet/Classic RadioButtonList.RepeatColumns Example/CS/sourcecs.aspx#1)]
[!code-aspx-vb[Classic RadioButtonList.RepeatColumns Example#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/Classic RadioButtonList.RepeatColumns Example/VB/sourcevb.aspx#1)]
]]></format>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">The number of columns is set to a negative value.</exception>
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.RepeatLayout" />
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.RepeatDirection" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="RepeatDirection">
<MemberSignature Language="C#" Value="public virtual System.Web.UI.WebControls.RepeatDirection RepeatDirection { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.RepeatDirection RepeatDirection" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.RepeatDirection" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property RepeatDirection As RepeatDirection" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::RepeatDirection RepeatDirection { System::Web::UI::WebControls::RepeatDirection get(); void set(System::Web::UI::WebControls::RepeatDirection value); };" />
<MemberSignature Language="F#" Value="member this.RepeatDirection : System.Web.UI.WebControls.RepeatDirection with get, set" Usage="System.Web.UI.WebControls.RadioButtonList.RepeatDirection" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.RepeatDirection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the direction in which the radio buttons within the group are displayed.</summary>
<value>One of the <see cref="T:System.Web.UI.WebControls.RepeatDirection" /> values. The default is <see langword="Vertical" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this property to specify the display direction of the <xref:System.Web.UI.WebControls.RadioButtonList> control.
> [!NOTE]
> The number of columns that are displayed is always determined by the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatColumns%2A> property.
If this property is set to `RepeatDirection.Vertical` and if the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to <xref:System.Web.UI.WebControls.RepeatLayout.Table>, the first column is filled from top to bottom, then the next column, and so on until all items are rendered. For example, if <xref:System.Web.UI.WebControls.RadioButtonList.RepeatColumns%2A> is set to 3, the items of the <xref:System.Web.UI.WebControls.RadioButtonList> control are displayed in three columns. A nine-item list would appear as follows.
||||
|-|-|-|
|1|4|7|
|2|5|8|
|3|6|9|
If this property is set to `RepeatDirection.Horizontal` and if the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property is set to <xref:System.Web.UI.WebControls.RepeatLayout.Table>, the items in the list are displayed in rows loaded left to right, then top to bottom, until all items are rendered. For example, if <xref:System.Web.UI.WebControls.RadioButtonList.RepeatColumns%2A> is set to 3, the items of the <xref:System.Web.UI.WebControls.RadioButtonList> control are displayed in rows of three items. A nine-item list would appear as follows.
||||
|-|-|-|
|1|2|3|
|4|5|6|
|7|8|9|
## Examples
The following code example demonstrates how to use the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatDirection%2A> property to display the items of a <xref:System.Web.UI.WebControls.RadioButtonList> control in columns filled top to bottom, and then left to right.
[!code-aspx-csharp[Classic RadioButtonList.RepeatDirection Example#1](~/samples/snippets/csharp/VS_Snippets_WebNet/Classic RadioButtonList.RepeatDirection Example/CS/sourcecs.aspx#1)]
[!code-aspx-vb[Classic RadioButtonList.RepeatDirection Example#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/Classic RadioButtonList.RepeatDirection Example/VB/sourcevb.aspx#1)]
]]></format>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">The display direction of the list is not one of the <see cref="T:System.Web.UI.WebControls.RepeatDirection" /> values.</exception>
<altmember cref="T:System.Web.UI.WebControls.RepeatDirection" />
<altmember cref="P:System.Web.UI.WebControls.RadioButtonList.RepeatColumns" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="RepeatedItemCount">
<MemberSignature Language="C#" Value="protected virtual int RepeatedItemCount { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 RepeatedItemCount" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.RepeatedItemCount" />
<MemberSignature Language="VB.NET" Value="Protected Overridable ReadOnly Property RepeatedItemCount As Integer" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property int RepeatedItemCount { int get(); };" />
<MemberSignature Language="F#" Value="member this.RepeatedItemCount : int" Usage="System.Web.UI.WebControls.RadioButtonList.RepeatedItemCount" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Web.UI.WebControls.IRepeatInfoUser.RepeatedItemCount</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the number of list items in the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control.</summary>
<value>The number of items in the list control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.RadioButtonList.RepeatedItemCount%2A> property is used primarily by control developers in custom controls that derive from the <xref:System.Web.UI.WebControls.RadioButtonList> class.
If there are no items set in the <xref:System.Web.UI.WebControls.RadioButtonList> control, the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatedItemCount%2A> property is zero. If there are items set in the <xref:System.Web.UI.WebControls.RadioButtonList> control, the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatedItemCount%2A> property is the same as the <xref:System.Web.UI.WebControls.ListItemCollection.Count%2A?displayProperty=nameWithType> property on the <xref:System.Web.UI.WebControls.ListControl.Items%2A> collection.
]]></format>
</remarks>
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="RepeatLayout">
<MemberSignature Language="C#" Value="public virtual System.Web.UI.WebControls.RepeatLayout RepeatLayout { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Web.UI.WebControls.RepeatLayout RepeatLayout" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.WebControls.RadioButtonList.RepeatLayout" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property RepeatLayout As RepeatLayout" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Web::UI::WebControls::RepeatLayout RepeatLayout { System::Web::UI::WebControls::RepeatLayout get(); void set(System::Web::UI::WebControls::RepeatLayout value); };" />
<MemberSignature Language="F#" Value="member this.RepeatLayout : System.Web.UI.WebControls.RepeatLayout with get, set" Usage="System.Web.UI.WebControls.RadioButtonList.RepeatLayout" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1">
<AttributeName>System.ComponentModel.Bindable(true)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.RepeatLayout</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that specifies whether the list will be rendered by using a <see langword="table" /> element, a <see langword="ul" /> element, an <see langword="ol" /> element, or a <see langword="span" /> element.</summary>
<value>A value that specifies whether the list will be rendered by using a <see langword="table" /> element, a <see langword="ul" /> element, an <see langword="ol" /> element, or a <see langword="span" /> element. The default is <see cref="F:System.Web.UI.WebControls.RepeatLayout.Table" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For information about the available options, see the <xref:System.Web.UI.WebControls.RepeatLayout> enumeration.
> [!NOTE]
> Two options are new as of ASP.NET 4: <xref:System.Web.UI.WebControls.RepeatLayout.OrderedList> and <xref:System.Web.UI.WebControls.RepeatLayout.UnorderedList>.
Some <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> settings do not allow horizontal layout. For more information, see the <xref:System.Web.UI.WebControls.RepeatLayout> enumeration.
## Examples
The following code example demonstrates how to use the <xref:System.Web.UI.WebControls.RadioButtonList.RepeatLayout%2A> property to display the items of a <xref:System.Web.UI.WebControls.RadioButtonList> control in a table.
[!code-aspx-csharp[Classic RadioButtonList.RepeatLayout Example#1](~/samples/snippets/csharp/VS_Snippets_WebNet/Classic RadioButtonList.RepeatLayout Example/CS/sourcecs.aspx#1)]
[!code-aspx-vb[Classic RadioButtonList.RepeatLayout Example#1](~/samples/snippets/visualbasic/VS_Snippets_WebNet/Classic RadioButtonList.RepeatLayout Example/VB/sourcevb.aspx#1)]
]]></format>
</remarks>
<exception cref="T:System.ArgumentOutOfRangeException">The radio button layout is not one of the <see cref="T:System.Web.UI.WebControls.RepeatLayout" /> values.</exception>
<altmember cref="T:System.Web.UI.WebControls.RepeatLayout" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
<related type="Article" href="https://msdn.microsoft.com/library/7e3ce9c4-6b7d-4fb1-94b5-72cf2a44fe13">Accessibility in Visual Studio 2010 and ASP.NET 4</related>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IPostBackDataHandler.LoadPostData">
<MemberSignature Language="C#" Value="bool IPostBackDataHandler.LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.Web.UI.IPostBackDataHandler.LoadPostData(string postDataKey, class System.Collections.Specialized.NameValueCollection postCollection) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.WebControls.RadioButtonList.System#Web#UI#IPostBackDataHandler#LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" />
<MemberSignature Language="VB.NET" Value="Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean Implements IPostBackDataHandler.LoadPostData" />
<MemberSignature Language="C++ CLI" Value=" virtual bool System.Web.UI.IPostBackDataHandler.LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection) = System::Web::UI::IPostBackDataHandler::LoadPostData;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Web.UI.IPostBackDataHandler.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="postDataKey" Type="System.String" />
<Parameter Name="postCollection" Type="System.Collections.Specialized.NameValueCollection" />
</Parameters>
<Docs>
<param name="postDataKey">The key identifier for the control, used to index the <paramref name="postCollection" />.</param>
<param name="postCollection">A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains value information indexed by control identifiers.</param>
<summary>Processes posted data for the <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control.</summary>
<returns>
<see langword="true" /> if the server control's state changed as a result of the postback; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Typically, you should use the <xref:System.Web.UI.WebControls.RadioButtonList.LoadPostData%2A?displayProperty=nameWithType> method to process posted data for a <xref:System.Web.UI.WebControls.RadioButtonList> control.
The <xref:System.Web.UI.IPostBackDataHandler.LoadPostData%2A?displayProperty=nameWithType> method is an explicit interface member implementation. It can be used only when the <xref:System.Web.UI.WebControls.RadioButtonList> instance is cast to an <xref:System.Web.UI.IPostBackDataHandler> interface.
]]></format>
</remarks>
<block subset="none" type="overrides">
<para>To define a custom implementation for processing posted data for a <see cref="T:System.Web.UI.WebControls.RadioButtonList" /> control, override the <see cref="M:System.Web.UI.WebControls.RadioButtonList.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" /> method. The explicit interface implementation calls the <see cref="M:System.Web.UI.WebControls.RadioButtonList.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" /> method to process the posted data for the control.</para>
</block>
<altmember cref="T:System.Web.UI.IPostBackDataHandler" />
<related type="Article" href="https://msdn.microsoft.com/library/20eb383c-4b59-432b-bba3-e9d785107747">RadioButton and RadioButtonList Web Server Controls</related>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent">