C# Class ComponentFactory.Krypton.Toolkit.ViewDrawSeparator

View element that can draw a separator
Inheritance: ViewLeaf
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

SetPalettes ( IPaletteDouble paletteDisabled, IPaletteDouble paletteNormal, IPaletteDouble paletteTracking, IPaletteDouble palettePressed, IPaletteMetric metricDisabled, IPaletteMetric metricNormal, IPaletteMetric metricTracking, IPaletteMetric metricPressed ) : void

Update the source palettes for drawing.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawSeparator ( IPaletteDouble paletteDisabled, IPaletteDouble paletteNormal, IPaletteDouble paletteTracking, IPaletteDouble palettePressed, IPaletteMetric metricDisabled, IPaletteMetric metricNormal, IPaletteMetric metricTracking, IPaletteMetric metricPressed, PaletteMetricPadding metricPadding, Orientation orientation ) : System

Initialize a new instance of the ViewDrawSeparator class.

Private Methods

Méthode Description
CheckPaletteState ( ) : void

Method Details

GetPreferredSize() public méthode

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
Résultat System.Drawing.Size

Layout() public méthode

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

RenderBefore() public méthode

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context RenderContext Rendering context.
Résultat void

SetPalettes() public méthode

Update the source palettes for drawing.
public SetPalettes ( IPaletteDouble paletteDisabled, IPaletteDouble paletteNormal, IPaletteDouble paletteTracking, IPaletteDouble palettePressed, IPaletteMetric metricDisabled, IPaletteMetric metricNormal, IPaletteMetric metricTracking, IPaletteMetric metricPressed ) : void
paletteDisabled IPaletteDouble Palette source for the disabled state.
paletteNormal IPaletteDouble Palette source for the normal state.
paletteTracking IPaletteDouble Palette source for the tracking state.
palettePressed IPaletteDouble Palette source for the pressed state.
metricDisabled IPaletteMetric Palette source for disabled metric values.
metricNormal IPaletteMetric Palette source for normal metric values.
metricTracking IPaletteMetric Palette source for tracking metric values.
metricPressed IPaletteMetric Palette source for pressed metric values.
Résultat void

ToString() public méthode

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

ViewDrawSeparator() public méthode

Initialize a new instance of the ViewDrawSeparator class.
public ViewDrawSeparator ( IPaletteDouble paletteDisabled, IPaletteDouble paletteNormal, IPaletteDouble paletteTracking, IPaletteDouble palettePressed, IPaletteMetric metricDisabled, IPaletteMetric metricNormal, IPaletteMetric metricTracking, IPaletteMetric metricPressed, PaletteMetricPadding metricPadding, Orientation orientation ) : System
paletteDisabled IPaletteDouble Palette source for the disabled state.
paletteNormal IPaletteDouble Palette source for the normal state.
paletteTracking IPaletteDouble Palette source for the tracking state.
palettePressed IPaletteDouble Palette source for the pressed state.
metricDisabled IPaletteMetric Palette source for disabled metric values.
metricNormal IPaletteMetric Palette source for normal metric values.
metricTracking IPaletteMetric Palette source for tracking metric values.
metricPressed IPaletteMetric Palette source for pressed metric values.
metricPadding PaletteMetricPadding Metric used to get padding values.
orientation Orientation Visual orientation of the content.
Résultat System