Adorner.IsClipEnabled Property


Gets or sets a value that indicates whether clipping of the adorner is enabled.

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

public bool IsClipEnabled { get; set; }

Property Value

Type: System.Boolean

A Boolean value indicating whether clipping of the adorner is enabled.

If this property is false, the adorner is not clipped.

If this property is true, the adorner is clipped using the same clipping geometry as the adorned element.

The default value is false.

Enabling clipping an adorner incurs a substantial performance cost. In general, clipping of the adorner should be disabled.

.NET Framework
Available since 3.0
Return to top