C# Class ICSharpCode.WpfDesign.XamlDom.XamlObject

Inheritance: ICSharpCode.WpfDesign.XamlDom.XamlPropertyValue
Datei anzeigen Open project: icsharpcode/WpfDesigner Class Usage Examples

Private Properties

Property Type Description
AddNodeTo void
AddProperty void
CreateWrapper void
FindXmlAttributeHolder XamlObject
GetContentPropertyName string
GetNameForMarkupExtension string
GetNodeForCollection System.Xml.XmlNode
GetPrefixOfNamespace string
GetTypeConverterDelegate TypeConverterDelegate
GetValueFor object
OnParentPropertyChanged void
OnPropertyChanged void
ProvideValue object
RemoveNodeFromParent void
UpdateChildMarkupExtensions void
UpdateMarkupExtensionChain void
UpdateXmlAttribute bool
VirtualAttachTo System.Xml.XmlElement
XamlObject System

Public Methods

Method Description
FindOrCreateAttachedProperty ( Type ownerType, string propertyName ) : ICSharpCode.WpfDesign.XamlDom.XamlProperty

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

FindOrCreateProperty ( string propertyName ) : ICSharpCode.WpfDesign.XamlDom.XamlProperty

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

GetXamlAttribute ( string name ) : string

Gets an attribute in the x:-namespace.

SetXamlAttribute ( string name, string value ) : void

Sets an attribute in the x:-namespace.

Private Methods

Method Description
AddNodeTo ( ICSharpCode.WpfDesign.XamlDom.XamlProperty property ) : void
AddProperty ( ICSharpCode.WpfDesign.XamlDom.XamlProperty property ) : void

For use by XamlParser only.

CreateWrapper ( ) : void
FindXmlAttributeHolder ( ) : XamlObject
GetContentPropertyName ( Type elementType ) : string

Gets the name of the content property for the specified element type, or null if not available.

GetNameForMarkupExtension ( ) : string
GetNodeForCollection ( ) : XmlNode
GetPrefixOfNamespace ( string ns, XmlElement target ) : string
GetTypeConverterDelegate ( Type elementType ) : TypeConverterDelegate
GetValueFor ( XamlPropertyInfo targetProperty ) : object
OnParentPropertyChanged ( ) : void
OnPropertyChanged ( ICSharpCode.WpfDesign.XamlDom.XamlProperty property ) : void
ProvideValue ( ) : object
RemoveNodeFromParent ( ) : void
UpdateChildMarkupExtensions ( XamlObject obj ) : void
UpdateMarkupExtensionChain ( ) : void
UpdateXmlAttribute ( bool force, XamlObject &holder ) : bool
VirtualAttachTo ( XmlElement e, XmlElement target ) : XmlElement
XamlObject ( XamlDocument document, XmlElement element, Type elementType, object instance ) : System

For use by XamlParser only.

Method Details

FindOrCreateAttachedProperty() public method

Finds the specified property, or creates it if it doesn't exist.
public FindOrCreateAttachedProperty ( Type ownerType, string propertyName ) : ICSharpCode.WpfDesign.XamlDom.XamlProperty
ownerType System.Type
propertyName string
return ICSharpCode.WpfDesign.XamlDom.XamlProperty

FindOrCreateProperty() public method

Finds the specified property, or creates it if it doesn't exist.
public FindOrCreateProperty ( string propertyName ) : ICSharpCode.WpfDesign.XamlDom.XamlProperty
propertyName string
return ICSharpCode.WpfDesign.XamlDom.XamlProperty

GetXamlAttribute() public method

Gets an attribute in the x:-namespace.
public GetXamlAttribute ( string name ) : string
name string
return string

SetXamlAttribute() public method

Sets an attribute in the x:-namespace.
public SetXamlAttribute ( string name, string value ) : void
name string
value string
return void