Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FunctionBindingBehavior.Function Property

Gets or sets the name of a Source‘s function whose result should change the Target‘s Property value. This is a dependency property.

Namespace: DevExpress.Mvvm.UI

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public string Function { get; set; }

#Property Value

Type Description
String

The name of a Source‘s function whose result should change the Target‘s Property value.

#Remarks

The FunctionBindingBehavior re-invokes the specified Function when one of its arguments is changed.

You can execute the POCOViewModelExtensions.UpdateFunctionBinding extension method to re-invoke the Function.

The following code sample re-invokes the GetFilteredItems function with the UpdateFunctionBinding method:

public class MainViewModel {
    ...
    public void Update() {
        this.UpdateFunctionBinding(x => x.GetFilteredItems(default(DateTime), default(DateTime)));
    }
}
See Also