Jaa


PathIconSource.Data Property

Definition

Gets or sets a Geometry that specifies the shape to be drawn. In XAML. this can also be set using a string that describes Move and draw commands syntax.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.PathIconSource.Data (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property Geometry ^ Data { Geometry ^ get(); void set(Geometry ^ value); };
Geometry Data();

void Data(Geometry value);
public Geometry Data { get; set; }
var geometry = pathIconSource.data;
pathIconSource.data = geometry;
Public Property Data As Geometry
<PathIconSource>
  <PathIconSource.Data>
    singleGeometry
  </PathIconSource.Data>
</PathIconSource>
- or -
<PathIconSource Data="moveAndDrawCommands"/>

Property Value

A description of the shape to be drawn.

Applies to