Version

SuspendNotifications Method

Suspends property change notifications for all settings objects in this collection.
Syntax
public void SuspendNotifications()
Remarks

Because the DaysOfWeekSettings object can be bound to a single property, any time a change is made to a property of a settings object, the settings for all days of the week must be propagated to the bound data object. This can result in multiple assignments of the property.

Use this method to temporarily switch off notifications, so that after all changes are applied, the settings can be assigned to the bound data object in one atomic operation.

After all changes are applied, use the ResumeNotifications method to re-enable property change notifications, and propagate the changes made since the SuspendNotifications method was called to the bound data object.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also