78 references to WrapMode
System.Drawing (56)
commonui\System\Drawing\Advanced\ImageAttributes.cs (3)
693
public void SetWrapMode(
WrapMode
mode)
702
public void SetWrapMode(
WrapMode
mode, Color color)
711
public void SetWrapMode(
WrapMode
mode, Color color, bool clamp)
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (14)
49
(int)
WrapMode
.Tile,
76
(int)
WrapMode
.Tile,
115
(int)
WrapMode
.Tile,
155
(int)
WrapMode
.Tile,
202
(int)
WrapMode
.Tile,
250
(int)
WrapMode
.Tile,
703
private void _SetWrapMode(
WrapMode
wrapMode) {
710
private
WrapMode
_GetWrapMode() {
718
return (
WrapMode
) mode;
724
/// Gets or sets a <see cref='System.Drawing.Drawing2D.
WrapMode
'/> that indicates the wrap mode for this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/>.
727
public
WrapMode
WrapMode
735
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
737
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
WrapMode
));
commonui\System\Drawing\Advanced\PathGradientBrush.cs (18)
40
: this(points, System.Drawing.Drawing2D.
WrapMode
.Clamp) {
51
public PathGradientBrush(PointF[] points,
WrapMode
wrapMode)
58
if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
60
throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(
WrapMode
));
99
: this(points, System.Drawing.Drawing2D.
WrapMode
.Clamp) {
112
public PathGradientBrush(Point[] points,
WrapMode
wrapMode)
118
if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
120
throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(
WrapMode
));
833
private void _SetWrapMode(
WrapMode
wrapMode) {
840
private
WrapMode
_GetWrapMode() {
848
return (
WrapMode
) mode;
854
/// Gets or sets a <see cref='System.Drawing.Drawing2D.
WrapMode
'/> that indicates the wrap mode for this
858
public
WrapMode
WrapMode
865
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
867
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
WrapMode
));
commonui\System\Drawing\Advanced\TextureBrush.cs (21)
54
: this(bitmap, System.Drawing.Drawing2D.
WrapMode
.Tile) {
71
public TextureBrush(Image image,
WrapMode
wrapMode) {
77
if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp)){
78
throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(
WrapMode
));
108
public TextureBrush(Image image,
WrapMode
wrapMode, RectangleF dstRect) {
114
if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
116
throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(
WrapMode
));
150
public TextureBrush(Image image,
WrapMode
wrapMode, Rectangle dstRect) {
156
if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
158
throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(
WrapMode
));
360
private void _SetWrapMode(
WrapMode
wrapMode) {
368
private
WrapMode
_GetWrapMode() {
377
return(
WrapMode
) mode;
383
/// Gets or sets a <see cref='System.Drawing.Drawing2D.
WrapMode
'/> that indicates the wrap mode for this
387
public
WrapMode
WrapMode
395
if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)
WrapMode
.Tile, (int)
WrapMode
.Clamp))
397
throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(
WrapMode
));
System.Web.DataVisualization (9)
Common\General\ChartElement.cs (5)
318
Scaled =
WrapMode
.Clamp,
323
Tile =
WrapMode
.Tile,
328
TileFlipX =
WrapMode
.TileFlipX,
333
TileFlipXY =
WrapMode
.TileFlipXY,
338
TileFlipY =
WrapMode
.TileFlipY,
Common\General\ChartGraphics.cs (4)
388
attrib.SetWrapMode((mode == ChartImageWrapMode.Unscaled) ?
WrapMode
.Clamp : ((
WrapMode
)mode));
494
linearGradientBrush.WrapMode =
WrapMode
.TileFlipX;
502
linearGradientBrush.WrapMode =
WrapMode
.TileFlipX;
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ControlPaint.cs (2)
461
using (TextureBrush textureBrush = new TextureBrush(backgroundImage,
WrapMode
.Tile)) {
518
imageAttrib.SetWrapMode(
WrapMode
.TileFlipXY);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
883
attr.SetWrapMode(
WrapMode
.TileFlipXY);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1709
using (TextureBrush textureBrush = new TextureBrush(BackgroundImage,
WrapMode
.Tile)) {
System.Windows.Forms.DataVisualization (9)
Common\General\ChartElement.cs (5)
318
Scaled =
WrapMode
.Clamp,
323
Tile =
WrapMode
.Tile,
328
TileFlipX =
WrapMode
.TileFlipX,
333
TileFlipXY =
WrapMode
.TileFlipXY,
338
TileFlipY =
WrapMode
.TileFlipY,
Common\General\ChartGraphics.cs (4)
388
attrib.SetWrapMode((mode == ChartImageWrapMode.Unscaled) ?
WrapMode
.Clamp : ((
WrapMode
)mode));
494
linearGradientBrush.WrapMode =
WrapMode
.TileFlipX;
502
linearGradientBrush.WrapMode =
WrapMode
.TileFlipX;