Table of Contents

Class XamlDesignItem

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll
public sealed class XamlDesignItem : DesignItem, INotifyPropertyChanged
Inheritance
XamlDesignItem
Implements

Constructors

XamlDesignItem(XamlObject, XamlDesignContext)

Properties

AllSetProperties

Gets properties set on the design item.

Component

Gets the component this DesignSite was created for.

ComponentType

Gets the component type of this design site. This value may be different from Component.GetType() if a CustomInstanceFactory created an object using a different type (e.g. ComponentType=Window but Component.GetType()=WindowClone).

ContentPropertyName

Gets the name of the content property (the property that contains the logical children)

Context

Gets the design context.

IsDesignTimeLocked

Item is Locked at Design Time

Key

Gets/Sets the value of the "x:Key" attribute on the design item.

Name

Gets/Sets the name of the design item.

Parent

Gets the parent design item.

ParentProperty

Gets the property where this DesignItem is used as a value.

Properties

Gets properties set on the design item.

View

Gets the view used for the component.

XamlObject

Methods

Clone()

Creates a copy of this design item.

FixDesignItemReferencesOnNameChange(string, string)

Fixes {x:Reference and {Binding ElementName to this Element in XamlDocument

SetView(UIElement)

Set the View for a Component

Events

NameChanged

Is raised when the name of the design item changes.

ParentChanged

Occurs when the parent of this design item changes.