New to Telerik UI for WPFStart a free 30-day trial

Represents a custom markup extension for creating geometries.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class GeometryExtension : MarkupExtension

Inheritance: objectGeometryExtension

Constructors

Initializes a new instance of the GeometryExtension class.

C#
public GeometryExtension()

Properties

The type of the geometry.

C#
public GeometryType Type { get; set; }

Methods

When implemented in a derived class, returns an object that is set as the value of the target property for this markup extension.

C#
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters:serviceProviderIServiceProvider

Object that can provide services for the markup extension.

Returns:

object

The object value to set on the property where the extension is applied.