Skip to main content
A newer version of this page is available. .

BindablePropertyAttribute.OnPropertyChangedMethodName Property

Gets or sets the name of the function that is invoked after the property has been changed.

Namespace: DevExpress.Mvvm.DataAnnotations

Assembly: DevExpress.Mvvm.v18.2.dll

Declaration

public string OnPropertyChangedMethodName { get; set; }

Property Value

Type Description
String

A String value that specifies the name of the function.

Remarks

See the example below:


public class DataViewModel {
        [BindableProperty(OnPropertyChangedMethodName = "Update")]
        public virtual string BindableProperty { get; set; }
        protected void Update() {
            //... 
        }
    }
See Also