Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / RowSelector Class / ErrorImageIndex Property


In This Topic
    ErrorImageIndex Property (RowSelector)
    In This Topic
    Gets or sets the index of the image to use to represent the row which contains errors.
    Syntax
    'Declaration
     
    <TypeConverterAttribute("Xceed.Grid.Design.RowSelectorPaneImageIndexConverter,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
    <EditorAttribute("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.Drawing.Design.UITypeEditor)>
    <DescriptionAttribute("The index of the image to use to represent the row which contains errors.")>
    <AmbientValueAttribute(-2147483648)>
    <LocalizableAttribute(True)>
    <CategoryAttribute("Appearance")>
    Public Property ErrorImageIndex As Integer
    'Usage
     
    Dim instance As RowSelector
    Dim value As Integer
     
    instance.ErrorImageIndex = value
     
    value = instance.ErrorImageIndex
    [TypeConverter("Xceed.Grid.Design.RowSelectorPaneImageIndexConverter,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
    [Editor("System.Windows.Forms.Design.ImageIndexEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.Drawing.Design.UITypeEditor)]
    [Description("The index of the image to use to represent the row which contains errors.")]
    [AmbientValue(-2147483648)]
    [Localizable(true)]
    [Category("Appearance")]
    public int ErrorImageIndex {get; set;}

    Property Value

    A value representing the index of the image to use to represent the row which contains errors.
    Remarks

    If the IsErrorImageIndexAmbient property returns true, then the value of the ErrorImageIndex property is inherited from its parent.

    To reset the value of the ErrorImageIndex property to its default value, DefaultErrorImageIndex, the ResetErrorImageIndex method must be called.

    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