Class
WorksheetPrintPresenter

Represents a printing presenter.

Definition

Constructors

WorksheetPrintPresenter()

Initializes a new instance of the WorksheetPrintPresenter class.

Declaration

cs-api-definition
public WorksheetPrintPresenter()

Methods

ArrangeOverride(Size)

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

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

Returns

Size

The size of the control.

InvalidateLayout()

Invalidates the layout.

Declaration

cs-api-definition
public override void InvalidateLayout()

Overrides WorksheetPresenterBase.InvalidateLayout()

MeasureOverride(Size)

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

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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.

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.