AnnotationService::IsEnabled Property

 

Gets a value that indicates whether the AnnotationService is enabled.

Namespace:   System.Windows.Annotations
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property bool IsEnabled {
	bool get();
}

Property Value

Type: System::Boolean

true if the AnnotationService is enabled; otherwise, false.

The following example shows how to use the IsEnabled property when you create and start an AnnotationService. Also if the user chooses to open a new document in the viewer control, the AnnotationService must be disabled for the old document and then enabled for the new document.

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

.NET Framework
Available since 3.0
Return to top
Show: