Navigation
API > API/Plugins > API/Plugins/ModelViewViewModel > API/Plugins/ModelViewViewModel/View
Inheritance Hierarchy
References
| Module | ModelViewViewModel |
| Header | /Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModel/Public/View/MVVMView.h |
| Include | #include "View/MVVMView.h" |
Syntax
UCLASS&40;Transient, DisplayName&61;"MVVM View"&41;
class UMVVMView : public UUserWidgetExtension
Remarks
Instance UMVVMClassExtension_View for the UUserWdiget
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | The bindings were initialized, manually or automatically. | ||
| bool | The sources were initialized, manually or automatically. | ||
| void | ConstructView
(
const UMVVMViewClass* ClassExtension |
||
| void | ExecuteDelayedBinding
(
const FMVVMViewDelayedBinding& DelayedBinding |
||
| void | |||
| const TArrayView< const FMVVMViewSource > | GetSources () |
||
| const UMVVMViewClass * | GetViewClass () |
||
| TScriptInterface< INotifyFieldValueChanged > | GetViewModel
(
FName ViewModelName |
Find and return the viewmodel with the specified name. | |
| void | Initialize the bindings if they are not already initialized. | ||
| void | Initialize the sources if they are not already initialized. | ||
| bool | SetViewModel
(
FName ViewModelName, |
Set the viewmodel of the specified name. | |
| bool | SetViewModelByClass
(
TScriptInterface< INotifyFieldValueChanged > NewValue |
Set the first viewmodel matching the exact specified type. | |
| void | Uninitialize the bindings if they are already initialized. | ||
| void | Uninitialize the sources if they are already initialized. It will uninitialized the bindings. |
Overridden from UUserWidgetExtension
| Type | Name | Description | |
|---|---|---|---|
| void | Construct () |
Virtual void Initialize() override; | |
| void | Destruct () |
Extend the UUserWidget::Destruct function |