C# Class ICSharpCode.WpfDesign.XamlDom.XamlObject

Inheritance: ICSharpCode.WpfDesign.XamlDom.XamlPropertyValue
Afficher le fichier Open project: icsharpcode/WpfDesigner Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat ICSharpCode.WpfDesign.XamlDom.XamlProperty

FindOrCreateProperty() public méthode

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

GetXamlAttribute() public méthode

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

SetXamlAttribute() public méthode

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