ClassCommonShapeExtension
Class
Represents a custom markup extension for creating common shape geometries.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
cs-api-definition
public class CommonShapeExtension : MarkupExtension
Inheritance: objectCommonShapeExtension
Constructors
CommonShapeExtension()
Initializes a new instance of the CommonShapeExtension class.
Declaration
cs-api-definition
public CommonShapeExtension()
Properties
ShapeType
The type of the shape.
Declaration
cs-api-definition
public CommonShapeType ShapeType { get; set; }
Property Value
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
Object that can provide services for the markup extension.
Returns
The object value to set on the property where the extension is applied.