AutoDataTemplateBindingHook
struct · ferroui-reactiveui-controls · v0.5.0
struct AutoDataTemplateBindingHook
A binding hook that gives an ItemsControl a default data template when it has no item
template and no data templates (AutoDataTemplateBindingHook).
It serves view models bound to item controls: without a template the items would not be
rendered as their views, so the default template shows each item with a
ViewModelViewHost.
Members
new
fn new() -> Self
The hook.
default_item_template
fn default_item_template() -> Rc<dyn IDataTemplate>
The default data template (DefaultItemTemplate).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherDebugDefaultIPropertyBindingHook
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.