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

The design context implementation used when editing XAML.
Inheritance: DesignContext
显示文件 Open project: icsharpcode/WpfDesigner Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
OpenGroup ( string changeGroupTitle, ICollection affectedItems ) : 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 ( System writer ) : void

Saves the XAML DOM into the XML writer.

XamlDesignContext ( XmlReader xamlReader, XamlLoadSettings loadSettings ) : System

Creates a new XamlDesignContext instance.

Method Details

OpenGroup() public 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 OpenGroup ( string changeGroupTitle, ICollection affectedItems ) : ChangeGroup
changeGroupTitle string
affectedItems ICollection
return ChangeGroup

Save() public method

Saves the XAML DOM into the XML writer.
public Save ( System writer ) : void
writer System
return void

XamlDesignContext() public method

Creates a new XamlDesignContext instance.
public XamlDesignContext ( XmlReader xamlReader, XamlLoadSettings loadSettings ) : System
xamlReader System.Xml.XmlReader
loadSettings XamlLoadSettings
return System