UsableDuringInitializationAttribute Constructor (Boolean)

 

Initializes a new instance of the UsableDuringInitializationAttribute class.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

public:
UsableDuringInitializationAttribute(
	bool usable
)

Parameters

usable
Type: System::Boolean

Defines whether the associated class is usable during initialization.

This attribute inherits. For the initial application you would typically apply as [UsableDuringInitialization(true)], but you could then set [UsableDuringInitialization(false)] on a derived class to change the derived class reporting of the behavior.

.NET Framework
Available since 3.0
Return to top
Show: