Show / Hide Table of Contents

Interface INotifyValueChanged<T>

Namespace: UnityEngine.Experimental.UIElements
Assembly: UnityEngine.dll
Syntax
public interface INotifyValueChanged<T>
Type Parameters
Name Description
T

Properties

| Improve this Doc View Source

value

Declaration
T value { get; set; }
Property Value
Type Description
T

Methods

| Improve this Doc View Source

OnValueChanged(EventCallback<ChangeEvent<T>>)

Declaration
void OnValueChanged(EventCallback<ChangeEvent<T>> callback)
Parameters
Type Name Description
EventCallback<ChangeEvent<T>> callback
| Improve this Doc View Source

RemoveOnValueChanged(EventCallback<ChangeEvent<T>>)

Declaration
void RemoveOnValueChanged(EventCallback<ChangeEvent<T>> callback)
Parameters
Type Name Description
EventCallback<ChangeEvent<T>> callback
| Improve this Doc View Source

SetValueAndNotify(T)

Declaration
[Obsolete("This method is replaced by simply using this.value. The default behaviour has been changed to notify when changed. If the behaviour is not to be notified, SetValueWithoutNotify() must be used.", false)]
void SetValueAndNotify(T newValue)
Parameters
Type Name Description
T newValue
| Improve this Doc View Source

SetValueWithoutNotify(T)

Declaration
void SetValueWithoutNotify(T newValue)
Parameters
Type Name Description
T newValue

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX