
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.

'DeclarationPublic Class MedianFunction Inherits StatFunction
'UsageDim instance As MedianFunction
public class MedianFunction : StatFunction
System.Object
Xceed.Wpf.Data.Stats.StatFunction
Xceed.Wpf.Data.Stats.MedianFunction
| Name | Description | |
|---|---|---|
![]() | MedianFunction Constructor | Overloaded. Initializes a new instance of the MedianFunction class. |
| Name | Description | |
|---|---|---|
![]() | ResultPropertyName | Gets 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) |
![]() | SourcePropertyName | Gets 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) |
| Name | Description | |
|---|---|---|
![]() | IsInitialized | Gets 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) |
![]() | IsSealed | Gets a value indicating whether an instance of a statistical function is in an immutable state. (Inherited from Xceed.Wpf.Data.Stats.StatFunction) |
![]() | PrerequisiteFunctions | Gets 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) |
![]() | RequiresAccumulation | Gets a value indicating whether the statistical function needs to accumulate its own results. (Inherited from Xceed.Wpf.Data.Stats.StatFunction) |
| Name | Description | |
|---|---|---|
![]() | GetSourcePropertyNames | (Inherited from Xceed.Wpf.Data.Stats.StatFunction) |
| Name | Description | |
|---|---|---|
![]() | Accumulate | Overridden. Accumulates the values required to calculate the result of the statistical function. |
![]() | CheckSealed | Checks whether an instance of a statistical function is in an immutable state. (Inherited from Xceed.Wpf.Data.Stats.StatFunction) |
![]() | GetEquivalenceKey | Retrieves a value that represents the statistical function's unique equivalence key. (Inherited from Xceed.Wpf.Data.Stats.StatFunction) |
![]() | GetResult | Overridden. Retrieves the result of the statistical function. |
![]() | Initialize | Overridden. Initializes the statistical function specifying the types in which the values will be accumulated. |
![]() | InitializeFromInstance | Initializes 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) |
![]() | InitializePrerequisites | Initializes the prerequisite statistical functions defined by the PrerequisiteFunctions property. (Inherited from Xceed.Wpf.Data.Stats.StatFunction) |
![]() | IsEquivalent | Retrieves 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) |
![]() | Reset | Overridden. Resets the statistical function to its original state. |
![]() | Validate | Overridden. Validates the statistical function to ensure that it is able to calculate its result. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.