Skip to end of metadata
Go to start of metadata

Represents a report designer control.

Definition

public class ReportDesigner : ReportDesignerBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

ReportDesigner Constructor() Create an instance of ReportDesigner.

Public Properties

CurrentPage Gets or sets the current page index.
DataSources Gets or sets the data sources.
DesignerTabTitle Gets or sets the tab title.
DesignSurfaceElement
GridLineVisibility Gets or sets the value indicating whether grid line is visible.
IsFullScreen Gets or sets the value indicating whether designer is in full screen mode.
PageSizeText Gets or sets the page size text.
Parameters Gets or sets the parameters.
ReportViewer
Resource Gets or sets the value of the observable resource.
ResourceOverride Gets or sets the individual resource object to override the existing localized resource.
RulerVisibility Gets or sets the value indicating whether the design ruler is visible.
SaveFormat
ViewMode Gets or sets the view mode.

Protected Properties

Product Product Info.

Fields

CurrentPageProperty Identifies the CurrentPage dependency property.
DataSourcesProperty Identifies the DataSources dependency property.
DesignerTabTitleProperty Identifies the DesignerTabTitle dependency property.
GridLineVisibilityProperty Identifies the GridLineVisibility dependency property.
IsFullScreenProperty Identifies the IsFullScreen dependency property.
PageSizeTextProperty Identifies the PageSizeText dependency property.
ParametersProperty Identifies the Parameters dependency property.
ResourceOverrideProperty Identifies the ResourceOverride dependency property.
RulerVisibilityProperty Identifies the RulerVisibility dependency property.
ViewModeProperty Identifies the ViewMode dependency property.

Static Methods

Public Methods

AttachEventHandlers() Attach built-in event handlers to control templates. Call this method if necessary.
DetachedEventHandlers() Detach built-in event handlers from control templates. Call this method if necessary.
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
InitializeTemplates() Initializes control templates.
OnApplyTemplate() Builds the visual tree for the UXWindow when a new template is applied.

Protected Methods


Public Constructors

public ReportDesigner()

Create an instance of ReportDesigner.

Public Properties

public int CurrentPage { get; set; }

Gets or sets the current page index.

public IEnumerable DataSources { get; set; }

Gets or sets the data sources.

public string DesignerTabTitle { get; set; }

Gets or sets the tab title.

public DesignSurface DesignSurfaceElement { get; set; }

public Visibility GridLineVisibility { get; set; }

Gets or sets the value indicating whether grid line is visible.

public bool IsFullScreen { get; set; }

Gets or sets the value indicating whether designer is in full screen mode.

public string PageSizeText { get; set; }

Gets or sets the page size text.

public IEnumerable Parameters { get; set; }

Gets or sets the parameters.

public IReportViewer ReportViewer { get; }

public IObservableResource Resource { get; set; }

Gets or sets the value of the observable resource.

Exceptions

NotSupportedException

public IObservableResource ResourceOverride { get; set; }

Gets or sets the individual resource object to override the existing localized resource.

public Visibility RulerVisibility { get; set; }

Gets or sets the value indicating whether the design ruler is visible.

public bool SaveFormat { get; }

public ViewMode ViewMode { get; set; }

Gets or sets the view mode.

Protected Properties

protected ProductInfo Product { get; }

Product Info.

Fields

public static readonly DependencyProperty CurrentPageProperty

Identifies the CurrentPage dependency property.

public static readonly DependencyProperty DataSourcesProperty

Identifies the DataSources dependency property.

public static readonly DependencyProperty DesignerTabTitleProperty

Identifies the DesignerTabTitle dependency property.

public static readonly DependencyProperty GridLineVisibilityProperty

Identifies the GridLineVisibility dependency property.

public static readonly DependencyProperty IsFullScreenProperty

Identifies the IsFullScreen dependency property.

public static readonly DependencyProperty PageSizeTextProperty

Identifies the PageSizeText dependency property.

public static readonly DependencyProperty ParametersProperty

Identifies the Parameters dependency property.

public static readonly DependencyProperty ResourceOverrideProperty

Identifies the ResourceOverride dependency property.

public static readonly DependencyProperty RulerVisibilityProperty

Identifies the RulerVisibility dependency property.

public static readonly DependencyProperty ViewModeProperty

Identifies the ViewMode dependency property.

Static Methods

public static void Initialize()

public static void SetDefaultThemeDictionary(ResourceDictionary themeDictionary)

Parameters

themeDictionary

Public Methods

public void AttachEventHandlers()

Attach built-in event handlers to control templates. Call this method if necessary.

public void DetachedEventHandlers()

Detach built-in event handlers from control templates. Call this method if necessary.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void InitializeTemplates()

Initializes control templates.

public void OnApplyTemplate()

Builds the visual tree for the UXWindow when a new template is applied.

Protected Methods

protected void OnFontsChanged()

protected void OnReportChanged(ReportDocument oldReport, ReportDocument newReport)

Called when report document is changed.

Parameters

oldReport The old report document.
newReport The new report document.

protected void OnUnitTypeChanged(UnitType oldUnitType, UnitType newUnitType)

Parameters

oldUnitType
newUnitType

protected void RefreshDesignerLayout()

Refresh designer layout.

  • No labels