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

Inheritance: DesignItem
Show file Open project: icsharpcode/WpfDesigner Class Usage Examples

Private Properties

Property Type Description
GetAllChildXamlObjects IEnumerable
GetRootXamlObject ICSharpCode.WpfDesign.XamlDom.XamlObject
NotifyPropertyChanged void
SetNameInternal void

Public Methods

Method 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

Method 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 method

public Clone ( ) : DesignItem
return DesignItem

FixDesignItemReferencesOnNameChange() public method

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

SetView() public method

public SetView ( UIElement newView ) : void
newView System.Windows.UIElement
return void

XamlDesignItem() public method

public XamlDesignItem ( XamlObject xamlObject, XamlDesignContext designContext ) : System
xamlObject ICSharpCode.WpfDesign.XamlDom.XamlObject
designContext XamlDesignContext
return System