PdfXfaRadioButtonListItem Class
Represents the radio button list item.
Inheritance
System.Object
System.Collections.Generic.List<PdfXfaRadioButtonField>
PdfXfaRadioButtonListItem
Implements
System.Collections.Generic.IList<PdfXfaRadioButtonField>
System.Collections.Generic.ICollection<PdfXfaRadioButtonField>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<PdfXfaRadioButtonField>
System.Collections.Generic.IReadOnlyCollection<PdfXfaRadioButtonField>
System.Collections.Generic.IEnumerable<PdfXfaRadioButtonField>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Add(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.AddRange(System.Collections.Generic.IEnumerable<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.AsReadOnly()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.BinarySearch(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.BinarySearch(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, System.Collections.Generic.IComparer<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.BinarySearch(System.Int32, System.Int32, Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, System.Collections.Generic.IComparer<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Capacity
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Clear()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Contains(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.ConvertAll<TOutput>(System.Converter<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, TOutput>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.CopyTo(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField[])
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.CopyTo(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField[], System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.CopyTo(System.Int32, Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField[], System.Int32, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Count
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Exists(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Find(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindAll(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindIndex(System.Int32, System.Int32, System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindIndex(System.Int32, System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindIndex(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindLast(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindLastIndex(System.Int32, System.Int32, System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindLastIndex(System.Int32, System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.FindLastIndex(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.ForEach(System.Action<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.GetEnumerator()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.IndexOf(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.IndexOf(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.IndexOf(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, System.Int32, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Insert(System.Int32, Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Item[System.Int32]
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.LastIndexOf(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.LastIndexOf(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.LastIndexOf(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField, System.Int32, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Remove(Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.RemoveAll(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.RemoveAt(System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Reverse()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Sort()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Sort(System.Collections.Generic.IComparer<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Sort(System.Comparison<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.Generic.ICollection<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.IsReadOnly
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.Generic.IEnumerable<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.GetEnumerator()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.Item[System.Int32]
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.ToArray()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.TrimExcess()
System.Collections.Generic.List<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>.TrueForAll(System.Predicate<Syncfusion.Pdf.Xfa.PdfXfaRadioButtonField>)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf.Xfa
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfXfaRadioButtonListItem : List<PdfXfaRadioButtonField>, IList<PdfXfaRadioButtonField>, ICollection<PdfXfaRadioButtonField>, IList, ICollection, IReadOnlyList<PdfXfaRadioButtonField>, IReadOnlyCollection<PdfXfaRadioButtonField>, IEnumerable<PdfXfaRadioButtonField>, IEnumerable
Examples
//Create a new PDF XFA document.
PdfXfaDocument document = new PdfXfaDocument();
//Add a new XFA page.
PdfXfaPage xfaPage = document.Pages.Add();
//Create a new PDF XFA form
PdfXfaForm mainForm = new PdfXfaForm("subform1", xfaPage, xfaPage.GetClientSize().Width);
//Create a radio button group
PdfXfaRadioButtonGroup group = new PdfXfaRadioButtonGroup("radioGroup");
group.FlowDirection = PdfXfaFlowDirection.Vertical;
//Create a radio button field and add the properties.
PdfXfaRadioButtonField radioButtonField1 = new PdfXfaRadioButtonField("r1", new SizeF(80, 20));
//Set the caption text.
radioButtonField1.Caption.Text = "Male";
PdfXfaRadioButtonField radioButtonField2 = new PdfXfaRadioButtonField("r2", new SizeF(80, 20));
radioButtonField2.Caption.Text = "Female";
//Add the radio button fields to the radio button group
group.Items.Add(radioButtonField1);
group.Items.Add(radioButtonField2);
//Add the field to the XFA form.
mainForm.Fields.Add(group);
//Add the XFA form to the document.
document.XfaForm = mainForm;
//Save the document.
document.Save("XfaForm.pdf", PdfXfaType.Dynamic);
//close the document
document.Close();
'Create a new PDF XFA document.
Dim document As New PdfXfaDocument()
'Add a new XFA page.
Dim xfaPage As PdfXfaPage = document.Pages.Add()
'Create a new PDF XFA form
Dim mainForm As New PdfXfaForm("subform1", xfaPage, xfaPage.GetClientSize().Width)
'Create a radio button group
Dim group As New PdfXfaRadioButtonGroup("radioGroup")
group.FlowDirection = PdfXfaFlowDirection.Vertical
'Create a radio button field and add the properties.
Dim radioButtonField1 As New PdfXfaRadioButtonField("r1", New SizeF(80, 20))
'Set the caption text.
radioButtonField1.Caption.Text = "Male"
Dim radioButtonField2 As New PdfXfaRadioButtonField("r2", New SizeF(80, 20))
radioButtonField2.Caption.Text = "Female"
'Add the radio button fields to the radio button group
group.Items.Add(radioButtonField1)
group.Items.Add(radioButtonField2)
'Add the field to the XFA form.
mainForm.Fields.Add(group)
'Add the XFA form to the document.
document.XfaForm = mainForm
'Save the document.
document.Save("XfaForm.pdf",PdfXfaType.Dynamic)
'close the document
document.Close()
Constructors
PdfXfaRadioButtonListItem()
Declaration
public PdfXfaRadioButtonListItem()
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable