Adorner::Enabled Property

 

Gets or sets a value indicating if the Adorner is enabled.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public:
property bool Enabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true, if the Adorner is enabled; otherwise, false.

If the Enabled property is true, the BehaviorService class will send HitTest and Paint messages to the Adorner.

The following code example demonstrates how to enable and disable an Adorner. For a full code listing, see How to: Extend the Appearance and Behavior of Controls in Design Mode.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: