# UpdateValueEvent

The **UpdateValueEvent** property of the **RadMaskedTextInput** controls allows you to specify when the **Value** property will be changed. If **UpdateValueEvent** is set to **PropertyChanged**, the **Value** will be changed on every key stroke, assuming that you are typing. If the **UpdateValueEvent** is set to **LostFocus**, the **Value** will be changed only after the **RadMaskedTextInput** control loses its focus.

**Example 1: Setting the UpdateValueEvent property**

```XAML

<telerik:RadMaskedNumericInput x:Name="radMaskedNumericInput" 
							Mask="c3"
							UpdateValueEvent="LostFocus" />

<telerik:RadMaskedNumericInput x:Name="radMaskedNumericInput2" 
							Mask="c3"
							UpdateValueEvent="PropertyChanged" />
```

> tip The default value of all **RadMaskedInput**'s **UpdateValueEvent** property is **UpdateValueEvent.PropertyChanged**.

> tip You can see a live demo demonstrating the **UpdateValueEvent** property [here](https://demos.telerik.com/silverlight/#MaskedInput/MaskedNumericInput).

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radmaskedinput/getting-started)
* [Common Features](https://www.telerik.com/products/wpf/documentation/controls/radmaskedinput/features/common)
* [Mask Tokens](https://www.telerik.com/products/wpf/documentation/controls/radmaskedinput/features/mask-tokens)
