Table of Contents

Namespace Bannerlord.UIExtenderEx.ViewModels

Classes

BaseViewModelMixin<TViewModel>

Provides the base implementation for IViewModelMixin extending a target ViewModel.

Generic type parameter TViewModel designates the target host ViewModel type. Access the underlying host instance via the protected ViewModel property, which maintains a weak reference to avoid cyclic references and permit garbage collection.

ViewModelMixins

Provides lookup APIs for retrieving mixin instances attached to a ViewModel.

Emitted in compiled prefab C# to resolve mixin-bound properties and commands with direct, typed invocation speed.

Interfaces

IViewModelMixin

Defines the contract for ViewModel mixin extensions.

Custom mixins should inherit from BaseViewModelMixin<TViewModel> instead of implementing this interface directly.


This page was last modified at 10/06/2026 11:31:10 +00:00 (UTC).