Interface IValidatableElement<TValueType>
Interface used on UI elements which handle value validation.
value
property,
hence this interface inherits from UnityEngine.UIElements.INotifyValueChanged<T>.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public interface IValidatableElement<TValueType> : INotifyValueChanged<TValueType>
Type Parameters
Name | Description |
---|---|
TValueType | The type of the |
Properties
Name | Description |
---|---|
invalid | True if the current value set on the UI element is invalid, False otherwise.
|
validateValue | Set this property to a reference of your custom function which will validate the current If the property is `null`, there wont be any validation process so by convention the `value` will be always valid. |