PathIconSource PathIconSource PathIconSource PathIconSource Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents an icon source that uses a vector path as its content.

public : class PathIconSource : IconSource, IPathIconSourcepublic class PathIconSource : IconSource, IPathIconSourcePublic Class PathIconSource Inherits IconSource Implements IPathIconSource// You can use this class in JavaScript.
<PathIconSource .../>

Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Inherited Members

Inherited methods

Inherited properties

Remarks

PathIconSource is similar to PathIcon. However, because it is not a FrameworkElement, it can be shared.

Constructors

PathIconSource() PathIconSource() PathIconSource() PathIconSource()

Prerelease. Initializes a new instance of the PathIconSource class.

public : PathIconSource()public PathIconSource()Public Sub New()// You can use this method in JavaScript.

Properties

Data Data Data Data

Prerelease. 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.

public : Geometry Data { get; set; }public Geometry Data { get; set; }Public ReadWrite Property Data As Geometry// You can use this property in JavaScript.
<PathIconSource>

  <PathIconSource.Data>

    singleGeometry

  </PathIconSource.Data>

</PathIconSource>

Value
Geometry Geometry Geometry Geometry

A description of the shape to be drawn.

DataProperty DataProperty DataProperty DataProperty

Prerelease. Identifies the Data dependency property.

public : static DependencyProperty DataProperty { get; }public static DependencyProperty DataProperty { get; }Public Static ReadOnly Property DataProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the Data dependency property.