Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft