Table of Contents

Class ParameterChangedEventArgs<T>

Namespace
MudBlazor.State
Assembly
MudBlazor.dll

Represents event arguments containing the last and current values of a parameter.

public class ParameterChangedEventArgs<T> : EventArgs

Type Parameters

T

The type of the parameter value.

Inheritance
ParameterChangedEventArgs<T>
Inherited Members
Extension Methods

Constructors

ParameterChangedEventArgs(string, T, T)

Initializes a new instance of the ParameterChangedEventArgs<T> class with the specified last and current values.

public ParameterChangedEventArgs(string parameterName, T lastValue, T value)

Parameters

parameterName string

The name of the parameter.

lastValue T

The last value of the parameter.

value T

The current value of the parameter.

Properties

IsChildOriginatedChange

Gets a value indicating whether the change was originated by the child, meaning the change was propagated from the child to the parent. This property is used to track whether the parent received the update as a result of the child triggering the change or updating its own state.

public bool IsChildOriginatedChange { get; }

Property Value

bool

LastValue

Gets the last value of the parameter.

public T LastValue { get; }

Property Value

T

ParameterName

Gets the associated parameter name of the component's ParameterAttribute.

public string ParameterName { get; }

Property Value

string

Value

Gets the current value of the parameter.

public T Value { get; }

Property Value

T