78 references to WrapMode
System.Drawing (56)
commonui\System\Drawing\Advanced\ImageAttributes.cs (3)
693public void SetWrapMode(WrapMode mode) 702public void SetWrapMode(WrapMode mode, Color color) 711public 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, 703private void _SetWrapMode(WrapMode wrapMode) { 710private WrapMode _GetWrapMode() { 718return (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'/>. 727public WrapMode WrapMode 735if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 737throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(WrapMode));
commonui\System\Drawing\Advanced\PathGradientBrush.cs (18)
40: this(points, System.Drawing.Drawing2D.WrapMode.Clamp) { 51public PathGradientBrush(PointF[] points, WrapMode wrapMode) 58if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 60throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(WrapMode)); 99: this(points, System.Drawing.Drawing2D.WrapMode.Clamp) { 112public PathGradientBrush(Point[] points, WrapMode wrapMode) 118if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 120throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(WrapMode)); 833private void _SetWrapMode(WrapMode wrapMode) { 840private WrapMode _GetWrapMode() { 848return (WrapMode) mode; 854/// Gets or sets a <see cref='System.Drawing.Drawing2D.WrapMode'/> that indicates the wrap mode for this 858public WrapMode WrapMode 865if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 867throw new InvalidEnumArgumentException("value", unchecked((int)value), typeof(WrapMode));
commonui\System\Drawing\Advanced\TextureBrush.cs (21)
54: this(bitmap, System.Drawing.Drawing2D.WrapMode.Tile) { 71public TextureBrush(Image image, WrapMode wrapMode) { 77if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)WrapMode.Tile, (int)WrapMode.Clamp)){ 78throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(WrapMode)); 108public TextureBrush(Image image, WrapMode wrapMode, RectangleF dstRect) { 114if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 116throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(WrapMode)); 150public TextureBrush(Image image, WrapMode wrapMode, Rectangle dstRect) { 156if (!ClientUtils.IsEnumValid(wrapMode, unchecked((int)wrapMode), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 158throw new InvalidEnumArgumentException("wrapMode", unchecked((int)wrapMode), typeof(WrapMode)); 360private void _SetWrapMode(WrapMode wrapMode) { 368private WrapMode _GetWrapMode() { 377return(WrapMode) mode; 383/// Gets or sets a <see cref='System.Drawing.Drawing2D.WrapMode'/> that indicates the wrap mode for this 387public WrapMode WrapMode 395if (!ClientUtils.IsEnumValid(value, unchecked((int)value), (int)WrapMode.Tile, (int)WrapMode.Clamp)) 397throw 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; 502linearGradientBrush.WrapMode = WrapMode.TileFlipX;
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ControlPaint.cs (2)
461using (TextureBrush textureBrush = new TextureBrush(backgroundImage,WrapMode.Tile)) { 518imageAttrib.SetWrapMode(WrapMode.TileFlipXY);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
883attr.SetWrapMode(WrapMode.TileFlipXY);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1709using (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; 502linearGradientBrush.WrapMode = WrapMode.TileFlipX;