New to Telerik UI for WPFStart a free 30-day trial

Represents a printing presenter.

Definition

Constructors

Initializes a new instance of the WorksheetPrintPresenter class.

C#
public WorksheetPrintPresenter()

Methods

Called to arrange and size the content of a Control object.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSizeReturns:

Size

The size of the control.

Invalidates the layout.

C#
public override void InvalidateLayout()

Overrides: WorksheetPresenterBase.InvalidateLayout()

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns:

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.