C# 클래스 ComponentFactory.Krypton.Toolkit.ViewLayoutScrollViewport

View element that provides scrollbars around a viewport filler.
상속: ViewLayoutDocker
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
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