Export (0) Print
Expand All

PrintPageEventArgs.PageVisual Property

Silverlight

Gets or sets the visual element to print.

Namespace:  System.Windows.Printing
Assembly:  System.Windows (in System.Windows.dll)

public UIElement PageVisual { get; set; }

Property Value

Type: System.Windows.UIElement
The visual element to print. The default is null.

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.

Community Additions

ADD
Show:
© 2014 Microsoft