C# Class ICSharpCode.WpfDesign.Designer.Xaml.XamlDesignItem

Inheritance: DesignItem
Afficher le fichier Open project: icsharpcode/WpfDesigner Class Usage Examples

Private Properties

Свойство Type Description
GetAllChildXamlObjects IEnumerable
GetRootXamlObject ICSharpCode.WpfDesign.XamlDom.XamlObject
NotifyPropertyChanged void
SetNameInternal void

Méthodes publiques

Méthode Description
Clone ( ) : DesignItem
FixDesignItemReferencesOnNameChange ( string oldName, string newName ) : void

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

SetView ( UIElement newView ) : void
XamlDesignItem ( XamlObject xamlObject, XamlDesignContext designContext ) : System

Private Methods

Méthode Description
GetAllChildXamlObjects ( XamlObject item, bool onlyFromSameNamescope = false ) : IEnumerable

Get's all Child XamlObject Instances

GetRootXamlObject ( XamlObject item, bool onlyFromSameNamescope = false ) : XamlObject

Find's the Root XamlObject (real Root, or Root Object in Namescope)

NotifyPropertyChanged ( XamlModelProperty property ) : void
SetNameInternal ( string newName ) : void

Method Details

Clone() public méthode

public Clone ( ) : DesignItem
Résultat DesignItem

FixDesignItemReferencesOnNameChange() public méthode

Fixes {x:Reference and {Binding ElementName to this Element in XamlDocument
public FixDesignItemReferencesOnNameChange ( string oldName, string newName ) : void
oldName string
newName string
Résultat void

SetView() public méthode

public SetView ( UIElement newView ) : void
newView System.Windows.UIElement
Résultat void

XamlDesignItem() public méthode

public XamlDesignItem ( XamlObject xamlObject, XamlDesignContext designContext ) : System
xamlObject ICSharpCode.WpfDesign.XamlDom.XamlObject
designContext XamlDesignContext
Résultat System