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

Deals with operations on controls which also require access to internal XML properties of the XAML Document.
显示文件 Open project: icsharpcode/WpfDesigner Class Usage Examples

Public Methods

Method Description
Copy ( ICollection designItems ) : void

Copy designItems from the designer to clipboard.

Cut ( ICollection designItems ) : void

Copy designItems from the designer to clipboard.

Paste ( ) : void

Paste items from clipboard into the designer.

XamlEditOperations ( XamlDesignContext context, XamlParserSettings settings ) : System

Private Methods

Method Description
AddInParent ( DesignItem parent, IList pastedItems ) : void

Adds Items under a parent given that the content property is collection and can add types of pastedItems

Method Details

Copy() public method

Copy designItems from the designer to clipboard.
public Copy ( ICollection designItems ) : void
designItems ICollection
return void

Cut() public method

Copy designItems from the designer to clipboard.
public Cut ( ICollection designItems ) : void
designItems ICollection
return void

Paste() public method

Paste items from clipboard into the designer.
public Paste ( ) : void
return void

XamlEditOperations() public method

public XamlEditOperations ( XamlDesignContext context, XamlParserSettings settings ) : System
context XamlDesignContext
settings ICSharpCode.WpfDesign.XamlDom.XamlParserSettings
return System