Class
GeometryExtension

Represents a custom markup extension for creating geometries.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class GeometryExtension : MarkupExtension

Inheritance: objectGeometryExtension

Constructors

GeometryExtension()

Initializes a new instance of the GeometryExtension class.

Declaration

cs-api-definition
public GeometryExtension()

Properties

Type

The type of the geometry.

Declaration

cs-api-definition
public GeometryType Type { get; set; }

Property Value

GeometryType

Methods

ProvideValue(IServiceProvider)

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

Declaration

cs-api-definition
public override object ProvideValue(IServiceProvider serviceProvider)

Parameters

serviceProvider

IServiceProvider

Object that can provide services for the markup extension.

Returns

object

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