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



In This Topic
    DefaultSelectedItems Property
    In This Topic
    Gets or sets a default selected items of list box field.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Default selected items of list box field.")>
    <CategoryAttribute("Value")>
    <DefaultValueAttribute("")>
    Public Property DefaultSelectedItems As String()
    [Description("Default selected items of list box field.")]
    [Category("Value")]
    [DefaultValue("")]
    public string[] DefaultSelectedItems {get; set;}
    [Description("Default selected items of list box field.")]
    [Category("Value")]
    [DefaultValue("")]
    public: __property string*[]* get_DefaultSelectedItems();
    public: __property void set_DefaultSelectedItems( 
       string*[][]* value
    );
    [Description("Default selected items of list box field.")]
    [Category("Value")]
    [DefaultValue("")]
    public:
    property array<String^>^ DefaultSelectedItems {
       array<String^>^ get();
       void set (    array<String^>^ value);
    }

    Property Value

    null if list box does NOT have default selected items;
    an array of values of the PdfInteractiveFormChoiceFieldItem.DisplayedValue property if list box has default 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