UsoUIElements 0.1.0
Data Centric implimentation of Unity's UI Elements (UI Toolkit)
Loading...
Searching...
No Matches
GWG.UsoUIElements.Templates.UsoDataTemplate Class Reference

The UsoDataTemplate class serves as an example base for defining bindable data objects. It inherits from the ScriptableObject class and implements the INotifyPropertyChanged interface, allowing for property change notification and data-binding functionality. More...

Inheritance diagram for GWG.UsoUIElements.Templates.UsoDataTemplate:

Protected Member Functions

virtual void OnPropertyChanged ([CallerMemberName] string propertyName=null)
bool SetField< T > (ref T field, T value, [CallerMemberName] string propertyName=null)

Events

PropertyChangedEventHandler PropertyChanged

Detailed Description

The UsoDataTemplate class serves as an example base for defining bindable data objects. It inherits from the ScriptableObject class and implements the INotifyPropertyChanged interface, allowing for property change notification and data-binding functionality.

Member Function Documentation

◆ OnPropertyChanged()

virtual void GWG.UsoUIElements.Templates.UsoDataTemplate.OnPropertyChanged ( [CallerMemberName] string propertyName = null)
protectedvirtual

◆ SetField< T >()

bool GWG.UsoUIElements.Templates.UsoDataTemplate.SetField< T > ( ref T field,
T value,
[CallerMemberName] string propertyName = null )
protected

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler GWG.UsoUIElements.Templates.UsoDataTemplate.PropertyChanged