Enum
ImagePaintMode

Defines possible modes to be used when rendering an image.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public enum ImagePaintMode

Fields

Center

Image is centered within the paint rectangle.

Declaration

cs-api-definition
Center = 5

Field Value

ImagePaintMode

CenterXStretchY

Image is centered by the X axis and stretched by the Y one.

Declaration

cs-api-definition
CenterXStretchY = 6

Field Value

ImagePaintMode

CenterXTileY

Image is centered by the X axis and tiled by the Y one.

Declaration

cs-api-definition
CenterXTileY = 8

Field Value

ImagePaintMode

CenterYStretchX

Image is centered by the Y axis and stretched by the X one.

Declaration

cs-api-definition
CenterYStretchX = 7

Field Value

ImagePaintMode

CenterYTileX

Image is centered by the Y axis and tiled by the X one.

Declaration

cs-api-definition
CenterYTileX = 9

Field Value

ImagePaintMode

None

Image is painted without any modification.

Declaration

cs-api-definition
None = 0

Field Value

ImagePaintMode

Stretch

Image is stretched within the paint rectangle.

Declaration

cs-api-definition
Stretch = 1

Field Value

ImagePaintMode

StretchXTileY

Image is stretched by the X axis and tiled by the Y one.

Declaration

cs-api-definition
StretchXTileY = 2

Field Value

ImagePaintMode

StretchXYTileInner

Inner image segment is tiled while all others are stretched.

Declaration

cs-api-definition
StretchXYTileInner = 4

Field Value

ImagePaintMode

StretchYTileX

Image is stretched by the Y axis and tiled by the X one.

Declaration

cs-api-definition
StretchYTileX = 3

Field Value

ImagePaintMode

Tile

Image is tiled within the paint rectangle.

Declaration

cs-api-definition
Tile = 10

Field Value

ImagePaintMode

TileFlipX

Image is flipped by the X axis and tiled within the paint rectangle.

Declaration

cs-api-definition
TileFlipX = 11

Field Value

ImagePaintMode

TileFlipXY

Image is flipped by the X and Y axis and tiled within the paint rectangle.

Declaration

cs-api-definition
TileFlipXY = 12

Field Value

ImagePaintMode

TileFlipY

Image is flipped by the Y axis and tiled within the paint rectangle.

Declaration

cs-api-definition
TileFlipY = 13

Field Value

ImagePaintMode