Back to Devexpress

CompatibilitySettings.DXBindingResolvingMode Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-30786589.md

latest2.3 KB
Original Source

CompatibilitySettings.DXBindingResolvingMode Property

Gets or sets a value that specifies how the DXBinding (DXEvent, DXCommand) markup extensions resolve input expressions.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Data.Desktop.v25.2.dll

NuGet Packages : DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public static DXBindingResolvingMode DXBindingResolvingMode { get; set; }
vb
Public Shared Property DXBindingResolvingMode As DXBindingResolvingMode

Property Value

TypeDescription
DXBindingResolvingMode

Any of the DXBindingResolvingMode enumeration values.

|

Available values:

NameDescription
LegacyStaticTyping

The DXBinding , DXCommand and DXEvent markup extensions compile their expressions thus using static typization, so you do need to cast values.

| | DynamicTyping |

The DXBinding , DXCommand and DXEvent markup extensions interpret their expressions that allows them using dynamic typization, so you do no need to cast values.

|

Remarks

Starting with DevExpress v.18.1, the DXBinding (DXEvent, DXCommand) markup extensions resolve their input expressions using the dynamic typization mechanism. To make the markup extensions use the static typization, set the DXBindingResolvingMode property to DXBindingResolvingMode.LegacyStaticTyping

See Also

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace