C# Класс ComponentFactory.Krypton.Toolkit.ViewLayoutScrollViewport

View element that provides scrollbars around a viewport filler.
Наследование: ViewLayoutDocker
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BringIntoView ( Rectangle rect ) : void

Move viewport to display the requested part of area.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

MakeParent ( Control c ) : void

Make the provided control parented to ourself.

RevertParent ( Control newParent, Control c ) : void

Revert the provided control back to a different control.

SetPalettes ( PaletteBorderEdge borderEdge ) : void

Update the palettes being used by the view.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutScrollViewport ( VisualControl rootControl, ViewBase viewportFiller, PaletteBorderEdge paletteBorderEdge, IPaletteMetric paletteMetrics, PaletteMetricPadding metricPadding, PaletteMetricInt metricOvers, VisualOrientation orientation, RelativePositionAlign alignment, bool animateChange, bool vertical, NeedPaintHandler needPaintDelegate ) : System

Initialize a new instance of the ViewLayoutScrollViewport class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

DockerLayout ( ViewLayoutContext context ) : void

Ask the base docker element to perform a layout.

NeedPaint ( bool needLayout ) : void

Requests a paint and optional layout of the control.

Приватные методы

Метод Описание
OnAnimateStep ( object sender, EventArgs e ) : void
OnScrollHChanged ( object sender, EventArgs e ) : void
OnScrollVChanged ( object sender, EventArgs e ) : void
ViewportOrientation ( bool vertical ) : VisualOrientation

Описание методов

BringIntoView() публичный Метод

Move viewport to display the requested part of area.
public BringIntoView ( Rectangle rect ) : void
rect System.Drawing.Rectangle Rectangle to display.
Результат void

Dispose() защищенный Метод

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
Результат void

DockerLayout() защищенный Метод

Ask the base docker element to perform a layout.
protected DockerLayout ( ViewLayoutContext context ) : void
context ViewLayoutContext
Результат void

Layout() публичный Метод

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Результат void

MakeParent() публичный Метод

Make the provided control parented to ourself.
public MakeParent ( Control c ) : void
c System.Windows.Forms.Control Control to reparent.
Результат void

NeedPaint() защищенный Метод

Requests a paint and optional layout of the control.
protected NeedPaint ( bool needLayout ) : void
needLayout bool Is a layout required.
Результат void

RevertParent() публичный Метод

Revert the provided control back to a different control.
public RevertParent ( Control newParent, Control c ) : void
newParent System.Windows.Forms.Control Control to become parent.
c System.Windows.Forms.Control Control to reparent.
Результат void

SetPalettes() публичный Метод

Update the palettes being used by the view.
public SetPalettes ( PaletteBorderEdge borderEdge ) : void
borderEdge PaletteBorderEdge Palette for the border edge.
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

ViewLayoutScrollViewport() публичный Метод

Initialize a new instance of the ViewLayoutScrollViewport class.
public ViewLayoutScrollViewport ( VisualControl rootControl, ViewBase viewportFiller, PaletteBorderEdge paletteBorderEdge, IPaletteMetric paletteMetrics, PaletteMetricPadding metricPadding, PaletteMetricInt metricOvers, VisualOrientation orientation, RelativePositionAlign alignment, bool animateChange, bool vertical, NeedPaintHandler needPaintDelegate ) : System
rootControl VisualControl Top level visual control.
viewportFiller ViewBase View element to place inside viewport.
paletteBorderEdge PaletteBorderEdge Palette for use with the border edge.
paletteMetrics IPaletteMetric Palette source for metrics.
metricPadding PaletteMetricPadding Metric used to get view padding.
metricOvers PaletteMetricInt Metric used to get overposition.
orientation VisualOrientation Orientation for the viewport children.
alignment RelativePositionAlign Alignment of the children within the viewport.
animateChange bool Animate changes in the viewport.
vertical bool Is the viewport vertical.
needPaintDelegate NeedPaintHandler Delegate for notifying paint requests.
Результат System