PathFigure.IsFilled Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that indicates whether the contained area of this PathFigure is to be used for hit-testing, rendering, and clipping.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property IsFilled As Boolean
public bool IsFilled { get; set; }
<PathFigure IsFilled="bool"/>
Property Value
Type: System..::.Boolean
true if the contained area of this PathFigure is to be used for hit-testing, rendering, and clipping; otherwise, false. The default is true.
Remarks
Dependency property identifier field: IsFilledProperty
If this property is set to false, then only the outline of the PathFigure is used, and its contained area does not contribute to the overall area of the PathFigure.
One use of this property is to allow unfilled strokes in an otherwise filled Geometry, like the mouth in the left Smiley below. Setting the mouth's IsFilled to true may produce the undesired effect of the mouth in the right Smiley.
IsFilled Example
.png)
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone