Polygon.FillRule Property

Definition

Gets or sets a value that specifies how the interior fill of the shape is determined.

Equivalent WinUI property: Microsoft.UI.Xaml.Shapes.Polygon.FillRule.

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

void FillRule(FillRule value);
public FillRule FillRule { get; set; }
var fillRule = polygon.fillRule;
polygon.fillRule = fillRule;
Public Property FillRule As FillRule
<Polygon FillRule="Nonzero"/>
-or-
<Polygon FillRule="EvenOdd"/>

Property Value

FillRule

A value of the enumeration. The default is EvenOdd.

Remarks

See the FillRule enumeration for more info.

Applies to