VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.InteractiveForms Namespace / PdfInteractiveFormListBoxField Class / DefaultSelectedItems Property
Syntax Remarks Requirements SeeAlso
In This Topic
    DefaultSelectedItems Property (PdfInteractiveFormListBoxField)
    In This Topic
    Gets or sets a default selected items of list box field.
    Syntax
    'Declaration
    
    <CategoryAttribute("Value")>
    <DefaultValueAttribute(null)>
    <DescriptionAttribute("A default selected items of list box field.")>
    Public Property DefaultSelectedItems As System.String[]
    
    
    [Category("Value")]
    [DefaultValue(null)]
    [Description("A default selected items of list box field.")]
    public System.String[] DefaultSelectedItems { get; set; }
    
    
    [Category("Value")]
    [DefaultValue(null)]
    [Description("A default selected items of list box field.")]
    public: __property System.String[] get_DefaultSelectedItems();
    public: __property void set_DefaultSelectedItems(
    System.String[]* value
    );
    [Category("Value")]
    [DefaultValue(null)]
    [Description("A default selected items of list box field.")]
    public:
    property System.String[] DefaultSelectedItems { System.String[] get(); void set(array<System.String>^ value); }

    Property Value

    null if list box does NOT have default selected items;
    an array of values of the 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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also