XamlBindingHelper
struct · ferroui-controls · v0.5.0
struct XamlBindingHelper
WinUI's XamlBindingHelper: the attached property of the template component of an element.
The root of a template instance with {x:Bind} bindings carries the bindings of the instance
as its component; a container that finds one drives the instance through it instead of its
data context.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
data_template_component_property
fn data_template_component_property() -> &'static AttachedProperty<Option<Rc<dyn IDataTemplateComponent>>>
The template component of the root of a template instance.
get_data_template_component
fn get_data_template_component(element: &Control) -> Option<Rc<dyn IDataTemplateComponent>>
The template component of element.
set_data_template_component
fn set_data_template_component(element: &Control, component: Option<Rc<dyn IDataTemplateComponent>>)
Sets the template component of element.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.