Enum BindingMode

    Definition

    Namespace:
    Tizen.NUI.Binding
    Assembly:
    Tizen.NUI.dll

    The direction of changes propagation for bindings.

    public enum BindingMode

    Fields

    Name Description
    Default

    When used in Bindings, indicates that the Binding should use the DefaultBindingMode. When used in BindableProperty declaration, defaults to BindingMode.OneWay.

    OneTime

    Indicates that the binding will be applied only when the binding context changes and the value will not be monitored for changes with INotifyPropertyChanged.

    OneWay

    Indicates that the binding should only propagate changes from source (usually the View Model) to target (the BindableObject). This is the default mode for most BindableProperty values.

    OneWayToSource

    Indicates that the binding should only propagate changes from target (the BindableObject) to source (usually the View Model). This is mainly used for read-only BindableProperty values.

    TwoWay

    Indicates that the binding should propagates changes from source (usually the View Model) to target (the BindableObject) in both directions.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<BindingMode>(BindingMode, string)
    Extensions.LoadFromXaml<BindingMode>(BindingMode, string)
    Extensions.LoadFromXaml<BindingMode>(BindingMode, Type)
    Extensions.LoadFromXamlFile<BindingMode>(BindingMode, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX