Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Stats Namespace / InvalidValueException Class
Members


In This Topic
    InvalidValueException Class
    In This Topic
    Exception that is thrown when a statistical function encounters an invalid value during the calculation of its result.
    Syntax
    'Declaration
     
    <SerializableAttribute()>
    Public Class InvalidValueException 
       Inherits Xceed.Wpf.DataGrid.DataGridException
    'Usage
     
    Dim instance As InvalidValueException
    [Serializable()]
    public class InvalidValueException : Xceed.Wpf.DataGrid.DataGridException 
    Remarks

    If an InvalidValueException is thrown it will be caught by a grid and its message returned as the result. 

    The message returned when an InvalidValueException is thrown can be modified through the InvalidValueMessage of a StatResultConverter, which can then be used to display and/or format the value returned by the statistical function through the ResultPropertyName property.

    Inheritance Hierarchy

    System.Object
       System.Exception
          Xceed.Wpf.DataGrid.DataGridException
             Xceed.Wpf.DataGrid.Stats.InvalidValueException

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the InvalidValueException class using the specified error message.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from Xceed.Wpf.DataGrid.DataGridException)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from System.Exception)
    Public Method (Inherited from System.Exception)
    Public Method (Inherited from System.Exception)
    Public Method (Inherited from System.Exception)
    Top
    Protected Events
     NameDescription
    Protected Event (Inherited from System.Exception)
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, 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