WinUIXBindPolicy
enum · ferroui-markup-xaml-winui · v0.5.0
enum WinUIXBindPolicy
What the migration does with WinUI's {x:Bind} (docs/porting/x-bind.md, X6).
Members
Compile
Compile
Keep x:Bind as written: the XAML compiler (the run-time loader and the Rust emitter)
compiles it with its x:Bind core, XBindExtension of ferroui-markup-xaml. The paths,
functions, casts, indexers, converters, substitute values, event bindings, x:Phase,
x:DefaultBindMode, x:Load and x:DeferLoadStrategy are WinUI's and are checked with
WinUI's messages. The bindings of a document root are initialized when it is attached to
a visual tree (a Window when it is activated), those of a typed template instance when
its data context changes to an item; XBindings::get_for_root gives the per-root
Bindings (initialize, update, stop_tracking).
Reject
Reject
Report every x:Bind of the document as an error (WXAML1007), for a host that rewrites
x:Bind by hand, for example to {Binding}.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.