C# Class ComponentFactory.Krypton.Toolkit.ViewLayoutScrollViewport

View element that provides scrollbars around a viewport filler.
Inheritance: ViewLayoutDocker
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
OnAnimateStep ( object sender, EventArgs e ) : void
OnScrollHChanged ( object sender, EventArgs e ) : void
OnScrollVChanged ( object sender, EventArgs e ) : void
ViewportOrientation ( bool vertical ) : VisualOrientation

Method Details

BringIntoView() public méthode

Move viewport to display the requested part of area.
public BringIntoView ( Rectangle rect ) : void
rect System.Drawing.Rectangle Rectangle to display.
Résultat void

Dispose() protected méthode

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
Résultat void

DockerLayout() protected méthode

Ask the base docker element to perform a layout.
protected DockerLayout ( ViewLayoutContext context ) : void
context ViewLayoutContext
Résultat void

Layout() public méthode

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
Résultat void

MakeParent() public méthode

Make the provided control parented to ourself.
public MakeParent ( Control c ) : void
c System.Windows.Forms.Control Control to reparent.
Résultat void

NeedPaint() protected méthode

Requests a paint and optional layout of the control.
protected NeedPaint ( bool needLayout ) : void
needLayout bool Is a layout required.
Résultat void

RevertParent() public méthode

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.
Résultat void

SetPalettes() public méthode

Update the palettes being used by the view.
public SetPalettes ( PaletteBorderEdge borderEdge ) : void
borderEdge PaletteBorderEdge Palette for the border edge.
Résultat void

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewLayoutScrollViewport() public méthode

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.
Résultat System