C# Class ICSharpCode.WpfDesign.DesignContext

The context that the designer uses.
显示文件 Open project: icsharpcode/WpfDesigner Class Usage Examples

Public Methods

Method Description
OpenGroup ( string changeGroupTitle, ICollection affectedItems ) : ICSharpCode.WpfDesign.ChangeGroup

Opens a new change group used to batch several changes. ChangeGroups work as transactions and are used to support the Undo/Redo system.

Save ( XmlWriter writer ) : void

Save the designed elements as XML.

Protected Methods

Method Description
DesignContext ( ) : System.Collections.Generic

Creates a new DesignContext instance.

Method Details

DesignContext() protected method

Creates a new DesignContext instance.
protected DesignContext ( ) : System.Collections.Generic
return System.Collections.Generic

OpenGroup() public abstract method

Opens a new change group used to batch several changes. ChangeGroups work as transactions and are used to support the Undo/Redo system.
public abstract OpenGroup ( string changeGroupTitle, ICollection affectedItems ) : ICSharpCode.WpfDesign.ChangeGroup
changeGroupTitle string
affectedItems ICollection
return ICSharpCode.WpfDesign.ChangeGroup

Save() public abstract method

Save the designed elements as XML.
public abstract Save ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void