Class WindowDocumentsCopier
A class that provides functions that perform a shallow copy of element's style and formatting under the System.Windows.Documents namespace.
Inherited Members
Namespace: Phoenix.Aruba.Controls
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class WindowDocumentsCopier
Remarks
System.Windows.Documents does not provide copy constructors for any of its elements due to each element only being allowed to belong to one FlowDocument.
Methods
View SourceCopy(List)
Performs a shallow copy of the style and formatting of a List.
Declaration
public static List Copy(this List other)
Parameters
Type | Name | Description |
---|---|---|
List | other | The List to copy. |
Returns
Type | Description |
---|---|
List | A new List that is a shallow copy of |
Copy(ListItem)
Performs a shallow copy of the style and formatting of a ListItem.
Declaration
public static ListItem Copy(this ListItem other)
Parameters
Type | Name | Description |
---|---|---|
ListItem | other | The ListItem to copy. |
Returns
Type | Description |
---|---|
ListItem | A new ListItem that is a shallow copy of |
Copy(Run)
Performs a shallow copy of the style and formatting of a Run.
Declaration
public static Run Copy(this Run other)
Parameters
Type | Name | Description |
---|---|---|
Run | other | The Run to copy. |
Returns
Type | Description |
---|---|
Run | A new Run that is a shallow copy of |