ReportViewer for WPF and Silverlight | ComponentOne
In This Topic
    Basic Properties
    In This Topic

    ReportViewer for WPF includes several properties that allow you to set the functionality of the control. Some of the more important properties are listed below. Note that you can see ReportViewer for WPF Appearance Properties for more information about properties that control appearance.

    The following properties let you customize the C1ReportViewer control:

     

    Property

    Description

    FindText

    Gets or sets the text that will be searched by FindNext and FindPrevious methods.

    HorizontalScrollBarVisibility

    Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.

    PageCount

    Gets the current number of display pages for the content hosted by the C1ReportViewer.

    PageMargin

    Gets or sets the margin of the page used for displaying and printing HTML documents.

    PageNumber

    Gets the page number for the currently displayed page.

     

    PageSeparation

    Gets or sets the separation between pages.

    PageSize

    Gets or sets the size of the page used for displaying and printing HTML documents.

    PageTemplate

    Gets or sets the DataTemplate used to display pages.

    SelectionBackground

    Gets or sets a Brush for this C1ReportViewer control's selection.

    ToolbarStyle

    Gets or set the style applied to this C1ReportViewer control's toolbar.

    ToolbarVisibility

    Gets or sets the Visibility of this C1ReportViewer toolbar.

    VerticalScrollBarVisibility

    Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.

    ViewMode

    Gets or sets the ViewMode for this C1ReportViewer.

    ViewportHeight

    Gets a value that contains the vertical size of the viewable content.

    ViewportWidth

    Gets a value that contains the horizontal size of the viewable content.

    Zoom

    Gets or sets the document zoom.