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

View element that can draw a separator
Наследование: ViewLeaf
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

Метод Описание
CheckPaletteState ( ) : void

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

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

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ViewLayoutContext Layout context.
Результат System.Drawing.Size

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

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

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

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context RenderContext Rendering context.
Результат void

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

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.
Результат void

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

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

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

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.
Результат System