The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

IReactiveObjectExtensions.

RaisePropertyChanging<TSender>(TSender, string) Method

Summary

Use this method in your ReactiveObject classes when creating custom properties where raiseAndSetIfChanged doesn't suffice.
Namespace
ReactiveUI
Containing Type
IReactiveObjectExtensions

Syntax

public static void RaisePropertyChanging<TSender>(this TSender reactiveObject, string propertyName = null) 
    where TSender : IReactiveObject

Type Parameters

Name Description
TSender The sender type.

Parameters

Name Type Description
reactiveObject TSender The instance of ReactiveObject on which the property has changed.
propertyName string A string representing the name of the property that has been changed. Leave null to let the runtime set to caller member name.

Return Value

Type Description
void