CheckSealed Method
Collapse the table of content
Expand the table of content

BindingBase.CheckSealed Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Throws an exception if the binding has already been attached to a binding target.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Protected Friend Sub CheckSealed

ExceptionCondition
InvalidOperationException

The binding has already been attached to a binding target.

Call this method in the setters of properties that you add to derived classes when the properties should not be modified after binding occurs.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft