Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data.Stats Namespace / MedianFunction Class
Members


In This Topic
    MedianFunction Class
    In This Topic

    Class that represents the Median statistical function, which is the middle number in a set of ordered data. If the set contains an even number of items, the arithmetic mean of the 2 middle values will be returned.

    The Median function is not supported when using a remote data source.

    Syntax
    'Declaration
     
    Public Class MedianFunction 
       Inherits StatFunction
    'Usage
     
    Dim instance As MedianFunction
    public class MedianFunction : StatFunction 
    Remarks
    Null (Nothing in Visual Basic) and DBNull values will be ignored.
    Inheritance Hierarchy

    System.Object
       Xceed.Wpf.Data.Stats.StatFunction
          Xceed.Wpf.Data.Stats.MedianFunction

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the MedianFunction class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the unique, case-sensitive property name from which the result of the statistical function can be retrieved. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Public PropertyGets or sets the name of the column whose values will be used to calculate the result of the statistical function. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Top
    Protected Properties
     NameDescription
    Protected Internal PropertyGets a value indicating whether the Initialize method has been called, indicating that the types in which the values will be accumulated have been initialized. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected PropertyGets a value indicating whether an instance of a statistical function is in an immutable state. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal PropertyGets a list of the statistical functions whose results are required by the current function in order to calculate its own result. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal PropertyGets a value indicating whether the statistical function needs to accumulate its own results. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Top
    Public Methods
    Protected Methods
     NameDescription
    Protected Internal MethodOverridden. Accumulates the values required to calculate the result of the statistical function.  
    Protected MethodChecks whether an instance of a statistical function is in an immutable state. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal MethodRetrieves a value that represents the statistical function's unique equivalence key. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal MethodOverridden. Retrieves the result of the statistical function.  
    Protected MethodOverridden. Initializes the statistical function specifying the types in which the values will be accumulated.  
    Protected Internal MethodInitializes the properties of the current instance of the same-type statistical function when a new instance of the same function needs to be created. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal MethodInitializes the prerequisite statistical functions defined by the PrerequisiteFunctions property. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal MethodRetrieves a value indicating whether a statistical function is the equivalent of the current function such that both will return the same result for the same set of values. (Inherited from Xceed.Wpf.Data.Stats.StatFunction)
    Protected Internal MethodOverridden. Resets the statistical function to its original state.  
    Protected Internal MethodOverridden. Validates the statistical function to ensure that it is able to calculate its result.  
    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