Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NListBox Class / DefaultImageIndex Property


In This Topic
    DefaultImageIndex Property (NListBox)
    In This Topic
    Gets/sets the default image index to be applied on the items(if their own is not specified)
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(-1)>
    <System.ComponentModel.EditorAttribute(Nevron.UI.WinForm.Controls.NImageIndexEditor, System.Drawing.Design.UITypeEditor)>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the default image index to be applied on the items(if their own is not specified)")>
    Public Property DefaultImageIndex As System.Integer
    'Usage
     
    
    Dim instance As NListBox
    Dim value As System.Integer
     
    instance.DefaultImageIndex = value
     
    value = instance.DefaultImageIndex
    [System.ComponentModel.DefaultValue(-1)]
    [System.ComponentModel.Editor(Nevron.UI.WinForm.Controls.NImageIndexEditor, System.Drawing.Design.UITypeEditor)]
    [System.ComponentModel.Description("Gets/sets the default image index to be applied on the items(if their own is not specified)")]
    public System.int DefaultImageIndex {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also