pub struct BindingExpressionOptions {Show 13 fields
pub delay: i32,
pub fallback_value: Option<BoxedValue>,
pub converter: Option<Rc<dyn IValueConverter>>,
pub converter_culture: Option<CultureInfo>,
pub converter_parameter: Option<BoxedValue>,
pub enable_data_validation: bool,
pub mode: BindingMode,
pub priority: BindingPriority,
pub string_format: Option<String>,
pub target_null_value: Option<BoxedValue>,
pub target_property: Option<&'static FerroProperty>,
pub target_type_converter: Option<TargetTypeConverter>,
pub update_source_trigger: UpdateSourceTrigger,
}Expand description
The options of a BindingExpression.
Fields§
§delay: i32The amount of time, in milliseconds, to wait before updating the binding source after the value on the target changes.
fallback_value: Option<BoxedValue>The fallback value; the unset marker for no fallback.
converter: Option<Rc<dyn IValueConverter>>§converter_culture: Option<CultureInfo>The culture in which to evaluate the converter; None for the
current culture.
converter_parameter: Option<BoxedValue>§enable_data_validation: bool§mode: BindingMode§priority: BindingPriority§string_format: Option<String>§target_null_value: Option<BoxedValue>The value to use when the binding produces null; the unset marker (or null) for none.
target_property: Option<&'static FerroProperty>§target_type_converter: Option<TargetTypeConverter>§update_source_trigger: UpdateSourceTriggerTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BindingExpressionOptions
impl !Send for BindingExpressionOptions
impl !Sync for BindingExpressionOptions
impl !UnwindSafe for BindingExpressionOptions
impl Freeze for BindingExpressionOptions
impl Unpin for BindingExpressionOptions
impl UnsafeUnpin for BindingExpressionOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more