[]
        
(Showing Draft Content)

C1.WPF.Pivot.PrintPageTemplate

PrintPageTemplate Class

Template control used as a container for printing.

Inheritance
PrintPageTemplate
Namespace: C1.WPF.Pivot
Assembly: C1.WPF.Pivot.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Grid))]
[TemplatePart(Name = "FooterLeft", Type = typeof(TextBlock))]
[TemplatePart(Name = "FooterCenter", Type = typeof(TextBlock))]
[TemplatePart(Name = "FooterRight", Type = typeof(TextBlock))]
[TemplatePart(Name = "HeaderLeft", Type = typeof(TextBlock))]
[TemplatePart(Name = "HeaderCenter", Type = typeof(TextBlock))]
[TemplatePart(Name = "HeaderRight", Type = typeof(Panel))]
[TemplatePart(Name = "ContentBox", Type = typeof(Viewbox))]
[TemplatePart(Name = "HeaderSeparator", Type = typeof(Border))]
[TemplatePart(Name = "FooterSeparator", Type = typeof(Border))]
[TemplatePart(Name = "PaddingGrid", Type = typeof(Grid))]
public class PrintPageTemplate : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable

Constructors

Name Description
PrintPageTemplate()

Initializes a new instance of the PrintPageTemplate class.

Fields

Name Description
ContentProperty

Identifies the Content dependency property.

FooterCenterProperty

Identifies the FooterCenter dependency property.

FooterLeftProperty

Identifies the FooterLeft dependency property.

FooterRightProperty

Identifies the FooterRight dependency property.

HeaderCenterProperty

Identifies the HeaderCenter dependency property.

HeaderLeftProperty

Identifies the HeaderLeft dependency property.

HeaderRightProperty

Identifies the HeaderRight dependency property.

MarginProperty

Identifies the Margin dependency property.

PaddingProperty

Identifies the Padding dependency property.

ShowFooterSeparatorProperty

Identifies the ShowFooterSeparator dependency property.

ShowHeaderSeparatorProperty

Identifies the ShowHeaderSeparator dependency property.

StretchProperty

Identifies the Stretch dependency property.

Properties

Name Description
Content

Gets or sets the content of the page template.

FooterCenter

Gets or sets the text for the footer on the center of the page template.

FooterLeft

Gets or sets the text for the footer on the left side of the page template.

FooterRight

Gets or sets the text for the footer on the right side of the page template.

HeaderCenter

Gets or sets the text for the header on the center of the page template.

HeaderLeft

Gets or sets the text for the header on the left side of the page template.

HeaderRight

Gets or sets the text for the header on the right side of the page template.

IsDisposed

Gets whether this instance is disposed.

Margin

Gets or sets the margin of the page template.

Padding

Gets or sets the padding of the page template.

ShowFooterSeparator

Gets or sets a value indicating whether to show the footer separator or not.

ShowHeaderSeparator

Gets or sets a value indicating whether to show the header separator or not.

Stretch

Gets or sets the stretch mode of the page template.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the PrintPageTemplate class.

OnApplyTemplate()