Search Results for

    Show / Hide Table of Contents

    Class ValueChangedEventArgs

    Contains the new value, the difference with the previous value, the value type that changed (Value, Minimum, Maximum).
    And the new percentage, so we don't have to recalculate it.

    Inheritance
    object
    System.EventArgs
    ValueChangedEventArgs
    Namespace: TetraCreations.ProgressBarSystem
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class ValueChangedEventArgs : EventArgs

    Constructors

    ValueChangedEventArgs(float, float, float, float, float, ValueType, ValueState)

    Store all the progress bar values, and the value type that changed (Minimum, Current, Maximum). It also has the difference between the changed value and it's previous value.

    Declaration
    public ValueChangedEventArgs(float currentValue, float miniumValue, float maximumValue, float percentage, float difference, ValueType valueType, ValueState valueState)
    Parameters
    Type Name Description
    float currentValue

    Current value

    float miniumValue

    Current minimum value

    float maximumValue

    Current maximum value

    float percentage

    Current progression percentage

    float difference

    Difference between the new value and it's previous value.

    ValueType valueType

    Which type of value changed

    ValueState valueState

    Properties

    ChangedValue

    Return the value that changed.

    Declaration
    public float ChangedValue { get; }
    Property Value
    Type Description
    float

    CurrentValue

    The current value

    Declaration
    public float CurrentValue { get; }
    Property Value
    Type Description
    float

    Difference

    The difference between the previous value and the new value.

    Declaration
    public float Difference { get; }
    Property Value
    Type Description
    float

    MaximumValue

    The maximum value

    Declaration
    public float MaximumValue { get; }
    Property Value
    Type Description
    float

    MinimumValue

    The minium value

    Declaration
    public float MinimumValue { get; }
    Property Value
    Type Description
    float

    Percentage

    Percentage of progression

    Declaration
    public float Percentage { get; }
    Property Value
    Type Description
    float

    ValueState

    The State of the Current Value.

    Declaration
    public ValueState ValueState { get; }
    Property Value
    Type Description
    ValueState

    ValueType

    What value changed ? Current, Minimum or Maximum

    Declaration
    public ValueType ValueType { get; }
    Property Value
    Type Description
    ValueType
    In This Article
    Back to top Tetra Creations documentation