共用方式為


Binding.IsDebuggingEnabled Field

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Indicates whether data binding debugging is enabled.

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

Syntax

'Declaration
Public Shared IsDebuggingEnabled As Boolean
public static bool IsDebuggingEnabled

Remarks

Data binding debugging is enabled only when the debugger is attached, but it imposes a performance overhead that can interfere with other debugging tasks. To avoid this overhead after you have finished debugging your bindings, set this field to false in your application class constructor.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.