Table of Contents

Class XamlObject

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

Represents a xaml object element.

public sealed class XamlObject : XamlPropertyValue
Inheritance
XamlObject

Properties

ContentPropertyName

Gets the name of the content property.

ElementType

Gets the type of this object element.

HasErrors

Gets whether there were load errors for this object.

Instance

Gets the instance created by this object element.

IsMarkupExtension

Gets whether this instance represents a MarkupExtension.

Name

Gets/Sets the name of this XamlObject.

NameProperty

Gets which property of the type maps to the XAML x:Name attribute.

OwnerDocument

Gets the XamlDocument where this XamlObject is declared in.

ParentObject

Gets the parent object.

PositionXmlElement
Properties

Gets a read-only collection of properties set on this XamlObject. This includes both attribute and element properties.

RuntimeNameProperty

Gets which property name of the type maps to the XAML x:Name attribute.

ServiceProvider

Gets/Sets the XamlObjectServiceProvider associated with this XamlObject.

SystemXamlTypeForProperty

Gets a XamlType representing the ElementType.

XmlElement

Methods

FindOrCreateAttachedProperty(Type, string)

Finds the specified property, or creates it if it doesn't exist.

FindOrCreateProperty(string)

Finds the specified property, or creates it if it doesn't exist.

GetXamlAttribute(string)

Gets an attribute in the x:-namespace.

SetXamlAttribute(string, string)

Sets an attribute in the x:-namespace.

Events

NameChanged

Is raised when the name of this XamlObject changes.