Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
Other versions are also available for the following:
.NET Framework Class Library for Silverlight
PrintPageEventArgs..::.PageVisual Property

Gets or sets the visual element to print.

Namespace:  System.Windows.Printing
Assembly:  System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Property PageVisual As UIElement
C#
public UIElement PageVisual { get; set; }

Property Value

Type: System.Windows..::.UIElement
The visual element to print. The default is nullNothingnullptra null reference (Nothing in Visual Basic).

To print the entire Silverlight control, set the PageVisual property to the root visual element. Alternatively, you can print a portion of the Silverlight control by setting PageVisual to the named UIElement that you want to print.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker