Table of Contents

Class DesignInstanceExtension

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

A class which implements the DesignInstanceExtension normally defined in the Blend Namespace.

public class DesignInstanceExtension : MarkupExtension
Inheritance
DesignInstanceExtension

Constructors

DesignInstanceExtension(Type)

Initializes a new instance of the DesignInstanceExtension class.

Properties

CreateList

Gets or sets if the design instance is a list of the specified type.

IsDesignTimeCreatable

Gets or sets if the design instance is created from your type (true) or of a designer-generated substitute type (false).

Type

Gets or sets the type to create. Use IsDesignTimeCreatable to specify whether an instance of your type or a designer-generated substitute type is created.

Methods

ProvideValue(IServiceProvider)

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