VintaSoft Imaging .NET SDK 11.0
Vintasoft.Imaging.Pdf.Tree.InteractiveForms Namespace / PdfInteractiveFormListBoxField Class / SelectedItems Property



In This Topic
    SelectedItems Property (PdfInteractiveFormListBoxField)
    In This Topic
    Gets or sets a selected items of list box field.
    Syntax
    'Declaration
     
    <DefaultValueAttribute("")>
    <CategoryAttribute("Value")>
    <DescriptionAttribute("Selected items of list box field.")>
    <RefreshPropertiesAttribute(RefreshProperties.Repaint)>
    Public Property SelectedItems As String()
    [DefaultValue("")]
    [Category("Value")]
    [Description("Selected items of list box field.")]
    [RefreshProperties(RefreshProperties.Repaint)]
    public string[] SelectedItems {get; set;}
    [DefaultValue("")]
    [Category("Value")]
    [Description("Selected items of list box field.")]
    [RefreshProperties(RefreshProperties.Repaint)]
    public: __property string*[]* get_SelectedItems();
    public: __property void set_SelectedItems( 
       string*[][]* value
    );
    [DefaultValue("")]
    [Category("Value")]
    [Description("Selected items of list box field.")]
    [RefreshProperties(RefreshProperties.Repaint)]
    public:
    property array<String^>^ SelectedItems {
       array<String^>^ get();
       void set (    array<String^>^ value);
    }

    Property Value

    null if list box does NOT have selected items;
    an array of values of the PdfInteractiveFormChoiceFieldItem.DisplayedValue property if list box has selected items.
    Remarks
    This property is inheritable.

    This property should be used only if IsMultiSelect is set to true.
    Requirements

    Target Platforms: .NET 6; .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also