Show / Hide Table of Contents

Class WindowDocumentsCopier

A class that provides functions that perform a shallow copy of element's style and formatting under the System.Windows.Documents namespace.

Inheritance
object
WindowDocumentsCopier
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

Copy(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 other.

View Source

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 other.

View Source

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 other.

  • View Source
In this article
Back to top Generated by DocFX