5 types derived from Brush
System.Drawing (5)
commonui\System\Drawing\Advanced\HatchBrush.cs (1)
25public sealed class HatchBrush : Brush
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (1)
26public sealed class LinearGradientBrush : Brush {
commonui\System\Drawing\Advanced\PathGradientBrush.cs (1)
26public sealed class PathGradientBrush : Brush {
commonui\System\Drawing\Advanced\TextureBrush.cs (1)
27public sealed class TextureBrush : Brush {
commonui\System\Drawing\SolidBrush.cs (1)
23public sealed class SolidBrush : Brush, ISystemColorTracker {
948 references to Brush
System.Drawing (511)
commonui\System\Drawing\Advanced\ColorAdjustType.cs (1)
41/// Defines color adjustment information for <see cref='System.Drawing.Brush'/> objects.
commonui\System\Drawing\Advanced\ColorMapType.cs (1)
30/// Specifies a color map for a <see cref='System.Drawing.Brush'/>.
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (1)
23/// Encapsulates a <see cref='System.Drawing.Brush'/> with a linear gradient.
commonui\System\Drawing\Advanced\PathGradientBrush.cs (1)
23/// Encapsulates a <see cref='System.Drawing.Brush'/> that fills the interior of a
commonui\System\Drawing\Advanced\TextureBrush.cs (1)
24/// Encapsulates a <see cref='System.Drawing.Brush'/> that uses an fills the
commonui\System\Drawing\Brush.cs (3)
40/// an exact copy of this <see cref='System.Drawing.Brush'/>. 82/// Deletes this <see cref='System.Drawing.Brush'/>. 128/// Releases memory allocated for this <see cref='System.Drawing.Brush'/>.
commonui\System\Drawing\Brushes.cs (423)
171public static Brush Transparent { 175Brush transparent = (Brush)SafeNativeMethods.Gdip.ThreadData[TransparentKey]; 188public static Brush AliceBlue { 192Brush aliceBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[AliceBlueKey]; 205public static Brush AntiqueWhite { 209Brush antiqueWhite = (Brush)SafeNativeMethods.Gdip.ThreadData[AntiqueWhiteKey]; 222public static Brush Aqua { 226Brush aqua = (Brush)SafeNativeMethods.Gdip.ThreadData[AquaKey]; 239public static Brush Aquamarine { 243Brush aquamarine = (Brush)SafeNativeMethods.Gdip.ThreadData[AquamarineKey]; 256public static Brush Azure { 260Brush azure = (Brush)SafeNativeMethods.Gdip.ThreadData[AzureKey]; 273public static Brush Beige { 277Brush beige = (Brush)SafeNativeMethods.Gdip.ThreadData[BeigeKey]; 290public static Brush Bisque { 294Brush bisque = (Brush)SafeNativeMethods.Gdip.ThreadData[BisqueKey]; 307public static Brush Black { 311Brush black = (Brush)SafeNativeMethods.Gdip.ThreadData[BlackKey]; 324public static Brush BlanchedAlmond { 328Brush blanchedAlmond = (Brush)SafeNativeMethods.Gdip.ThreadData[BlanchedAlmondKey]; 341public static Brush Blue { 345Brush blue = (Brush)SafeNativeMethods.Gdip.ThreadData[BlueKey]; 358public static Brush BlueViolet { 362Brush blueViolet = (Brush)SafeNativeMethods.Gdip.ThreadData[BlueVioletKey]; 375public static Brush Brown { 379Brush brown = (Brush)SafeNativeMethods.Gdip.ThreadData[BrownKey]; 392public static Brush BurlyWood { 396Brush burlyWood = (Brush)SafeNativeMethods.Gdip.ThreadData[BurlyWoodKey]; 409public static Brush CadetBlue { 413Brush cadetBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[CadetBlueKey]; 426public static Brush Chartreuse { 430Brush chartreuse = (Brush)SafeNativeMethods.Gdip.ThreadData[ChartreuseKey]; 443public static Brush Chocolate { 447Brush chocolate = (Brush)SafeNativeMethods.Gdip.ThreadData[ChocolateKey]; 460public static Brush Coral { 464Brush choral = (Brush)SafeNativeMethods.Gdip.ThreadData[ChoralKey]; 477public static Brush CornflowerBlue { 481Brush cornflowerBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[CornflowerBlueKey]; 494public static Brush Cornsilk { 498Brush cornsilk = (Brush)SafeNativeMethods.Gdip.ThreadData[CornsilkKey]; 511public static Brush Crimson { 515Brush crimson = (Brush)SafeNativeMethods.Gdip.ThreadData[CrimsonKey]; 528public static Brush Cyan { 532Brush cyan = (Brush)SafeNativeMethods.Gdip.ThreadData[CyanKey]; 545public static Brush DarkBlue { 549Brush darkBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkBlueKey]; 562public static Brush DarkCyan { 566Brush darkCyan = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkCyanKey]; 579public static Brush DarkGoldenrod { 583Brush darkGoldenrod = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkGoldenrodKey]; 596public static Brush DarkGray { 600Brush darkGray = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkGrayKey]; 613public static Brush DarkGreen { 617Brush darkGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkGreenKey]; 630public static Brush DarkKhaki { 634Brush darkKhaki = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkKhakiKey]; 647public static Brush DarkMagenta { 651Brush darkMagenta = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkMagentaKey]; 664public static Brush DarkOliveGreen { 668Brush darkOliveGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkOliveGreenKey]; 681public static Brush DarkOrange { 685Brush darkOrange = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkOrangeKey]; 698public static Brush DarkOrchid { 702Brush darkOrchid = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkOrchidKey]; 715public static Brush DarkRed { 719Brush darkRed = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkRedKey]; 732public static Brush DarkSalmon { 736Brush darkSalmon = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkSalmonKey]; 749public static Brush DarkSeaGreen { 753Brush darkSeaGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkSeaGreenKey]; 766public static Brush DarkSlateBlue { 770Brush darkSlateBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkSlateBlueKey]; 783public static Brush DarkSlateGray { 787Brush darkSlateGray = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkSlateGrayKey]; 800public static Brush DarkTurquoise { 804Brush darkTurquoise = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkTurquoiseKey]; 817public static Brush DarkViolet { 821Brush darkViolet = (Brush)SafeNativeMethods.Gdip.ThreadData[DarkVioletKey]; 834public static Brush DeepPink { 838Brush deepPink = (Brush)SafeNativeMethods.Gdip.ThreadData[DeepPinkKey]; 851public static Brush DeepSkyBlue { 855Brush deepSkyBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[DeepSkyBlueKey]; 868public static Brush DimGray { 872Brush dimGray = (Brush)SafeNativeMethods.Gdip.ThreadData[DimGrayKey]; 885public static Brush DodgerBlue { 889Brush dodgerBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[DodgerBlueKey]; 902public static Brush Firebrick { 906Brush firebrick = (Brush)SafeNativeMethods.Gdip.ThreadData[FirebrickKey]; 919public static Brush FloralWhite { 923Brush floralWhite = (Brush)SafeNativeMethods.Gdip.ThreadData[FloralWhiteKey]; 936public static Brush ForestGreen { 940Brush forestGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[ForestGreenKey]; 953public static Brush Fuchsia { 957Brush fuchia = (Brush)SafeNativeMethods.Gdip.ThreadData[FuchiaKey]; 970public static Brush Gainsboro { 974Brush gainsboro = (Brush)SafeNativeMethods.Gdip.ThreadData[GainsboroKey]; 987public static Brush GhostWhite { 991Brush ghostWhite = (Brush)SafeNativeMethods.Gdip.ThreadData[GhostWhiteKey]; 1004public static Brush Gold { 1008Brush gold = (Brush)SafeNativeMethods.Gdip.ThreadData[GoldKey]; 1021public static Brush Goldenrod { 1025Brush goldenrod = (Brush)SafeNativeMethods.Gdip.ThreadData[GoldenrodKey]; 1038public static Brush Gray { 1042Brush gray = (Brush)SafeNativeMethods.Gdip.ThreadData[GrayKey]; 1055public static Brush Green { 1059Brush green = (Brush)SafeNativeMethods.Gdip.ThreadData[GreenKey]; 1072public static Brush GreenYellow { 1076Brush greenYellow = (Brush)SafeNativeMethods.Gdip.ThreadData[GreenYellowKey]; 1089public static Brush Honeydew { 1093Brush honeydew = (Brush)SafeNativeMethods.Gdip.ThreadData[HoneydewKey]; 1106public static Brush HotPink { 1110Brush hotPink = (Brush)SafeNativeMethods.Gdip.ThreadData[HotPinkKey]; 1123public static Brush IndianRed { 1127Brush indianRed = (Brush)SafeNativeMethods.Gdip.ThreadData[IndianRedKey]; 1140public static Brush Indigo { 1144Brush indigo = (Brush)SafeNativeMethods.Gdip.ThreadData[IndigoKey]; 1157public static Brush Ivory { 1161Brush ivory = (Brush)SafeNativeMethods.Gdip.ThreadData[IvoryKey]; 1174public static Brush Khaki { 1178Brush khaki = (Brush)SafeNativeMethods.Gdip.ThreadData[KhakiKey]; 1191public static Brush Lavender { 1195Brush lavender = (Brush)SafeNativeMethods.Gdip.ThreadData[LavenderKey]; 1208public static Brush LavenderBlush { 1212Brush lavenderBlush = (Brush)SafeNativeMethods.Gdip.ThreadData[LavenderBlushKey]; 1225public static Brush LawnGreen { 1229Brush lawnGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[LawnGreenKey]; 1242public static Brush LemonChiffon { 1246Brush lemonChiffon = (Brush)SafeNativeMethods.Gdip.ThreadData[LemonChiffonKey]; 1259public static Brush LightBlue { 1263Brush lightBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[LightBlueKey]; 1276public static Brush LightCoral { 1280Brush lightCoral = (Brush)SafeNativeMethods.Gdip.ThreadData[LightCoralKey]; 1293public static Brush LightCyan { 1297Brush lightCyan = (Brush)SafeNativeMethods.Gdip.ThreadData[LightCyanKey]; 1310public static Brush LightGoldenrodYellow { 1314Brush lightGoldenrodYellow = (Brush)SafeNativeMethods.Gdip.ThreadData[LightGoldenrodYellowKey]; 1327public static Brush LightGreen { 1331Brush lightGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[LightGreenKey]; 1344public static Brush LightGray { 1348Brush lightGray = (Brush)SafeNativeMethods.Gdip.ThreadData[LightGrayKey]; 1361public static Brush LightPink { 1365Brush lightPink = (Brush)SafeNativeMethods.Gdip.ThreadData[LightPinkKey]; 1378public static Brush LightSalmon { 1382Brush lightSalmon = (Brush)SafeNativeMethods.Gdip.ThreadData[LightSalmonKey]; 1395public static Brush LightSeaGreen { 1399Brush lightSeaGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[LightSeaGreenKey]; 1412public static Brush LightSkyBlue { 1416Brush lightSkyBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[LightSkyBlueKey]; 1429public static Brush LightSlateGray { 1433Brush lightSlateGray = (Brush)SafeNativeMethods.Gdip.ThreadData[LightSlateGrayKey]; 1446public static Brush LightSteelBlue { 1450Brush lightSteelBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[LightSteelBlueKey]; 1463public static Brush LightYellow { 1467Brush lightYellow = (Brush)SafeNativeMethods.Gdip.ThreadData[LightYellowKey]; 1480public static Brush Lime { 1484Brush lime = (Brush)SafeNativeMethods.Gdip.ThreadData[LimeKey]; 1497public static Brush LimeGreen { 1501Brush limeGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[LimeGreenKey]; 1514public static Brush Linen { 1518Brush linen = (Brush)SafeNativeMethods.Gdip.ThreadData[LinenKey]; 1531public static Brush Magenta { 1535Brush magenta = (Brush)SafeNativeMethods.Gdip.ThreadData[MagentaKey]; 1548public static Brush Maroon { 1552Brush maroon = (Brush)SafeNativeMethods.Gdip.ThreadData[MaroonKey]; 1565public static Brush MediumAquamarine { 1569Brush mediumAquamarine = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumAquamarineKey]; 1582public static Brush MediumBlue { 1586Brush mediumBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumBlueKey]; 1599public static Brush MediumOrchid { 1603Brush mediumOrchid = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumOrchidKey]; 1616public static Brush MediumPurple { 1620Brush mediumPurple = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumPurpleKey]; 1633public static Brush MediumSeaGreen { 1637Brush mediumSeaGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumSeaGreenKey]; 1650public static Brush MediumSlateBlue { 1654Brush mediumSlateBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumSlateBlueKey]; 1667public static Brush MediumSpringGreen { 1671Brush mediumSpringGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumSpringGreenKey]; 1684public static Brush MediumTurquoise { 1688Brush mediumTurquoise = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumTurquoiseKey]; 1701public static Brush MediumVioletRed { 1705Brush mediumVioletRed = (Brush)SafeNativeMethods.Gdip.ThreadData[MediumVioletRedKey]; 1718public static Brush MidnightBlue { 1722Brush midnightBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[MidnightBlueKey]; 1735public static Brush MintCream { 1739Brush mintCream = (Brush)SafeNativeMethods.Gdip.ThreadData[MintCreamKey]; 1752public static Brush MistyRose { 1756Brush mistyRose = (Brush)SafeNativeMethods.Gdip.ThreadData[MistyRoseKey]; 1769public static Brush Moccasin { 1773Brush moccasin = (Brush)SafeNativeMethods.Gdip.ThreadData[MoccasinKey]; 1786public static Brush NavajoWhite { 1790Brush navajoWhite = (Brush)SafeNativeMethods.Gdip.ThreadData[NavajoWhiteKey]; 1803public static Brush Navy { 1807Brush navy = (Brush)SafeNativeMethods.Gdip.ThreadData[NavyKey]; 1820public static Brush OldLace { 1824Brush oldLace = (Brush)SafeNativeMethods.Gdip.ThreadData[OldLaceKey]; 1837public static Brush Olive { 1841Brush olive = (Brush)SafeNativeMethods.Gdip.ThreadData[OliveKey]; 1854public static Brush OliveDrab { 1858Brush oliveDrab = (Brush)SafeNativeMethods.Gdip.ThreadData[OliveDrabKey]; 1871public static Brush Orange { 1875Brush orange = (Brush)SafeNativeMethods.Gdip.ThreadData[OrangeKey]; 1888public static Brush OrangeRed { 1892Brush orangeRed = (Brush)SafeNativeMethods.Gdip.ThreadData[OrangeRedKey]; 1905public static Brush Orchid { 1909Brush orchid = (Brush)SafeNativeMethods.Gdip.ThreadData[OrchidKey]; 1922public static Brush PaleGoldenrod { 1926Brush paleGoldenrod = (Brush)SafeNativeMethods.Gdip.ThreadData[PaleGoldenrodKey]; 1939public static Brush PaleGreen { 1943Brush paleGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[PaleGreenKey]; 1956public static Brush PaleTurquoise { 1960Brush paleTurquoise = (Brush)SafeNativeMethods.Gdip.ThreadData[PaleTurquoiseKey]; 1973public static Brush PaleVioletRed { 1977Brush paleVioletRed = (Brush)SafeNativeMethods.Gdip.ThreadData[PaleVioletRedKey]; 1990public static Brush PapayaWhip { 1994Brush papayaWhip = (Brush)SafeNativeMethods.Gdip.ThreadData[PapayaWhipKey]; 2007public static Brush PeachPuff { 2011Brush peachPuff = (Brush)SafeNativeMethods.Gdip.ThreadData[PeachPuffKey]; 2024public static Brush Peru { 2028Brush peru = (Brush)SafeNativeMethods.Gdip.ThreadData[PeruKey]; 2041public static Brush Pink { 2045Brush pink = (Brush)SafeNativeMethods.Gdip.ThreadData[PinkKey]; 2058public static Brush Plum { 2062Brush plum = (Brush)SafeNativeMethods.Gdip.ThreadData[PlumKey]; 2075public static Brush PowderBlue { 2079Brush powderBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[PowderBlueKey]; 2092public static Brush Purple { 2096Brush purple = (Brush)SafeNativeMethods.Gdip.ThreadData[PurpleKey]; 2109public static Brush Red { 2113Brush red = (Brush)SafeNativeMethods.Gdip.ThreadData[RedKey]; 2126public static Brush RosyBrown { 2130Brush rosyBrown = (Brush)SafeNativeMethods.Gdip.ThreadData[RosyBrownKey]; 2143public static Brush RoyalBlue { 2147Brush royalBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[RoyalBlueKey]; 2160public static Brush SaddleBrown { 2164Brush saddleBrown = (Brush)SafeNativeMethods.Gdip.ThreadData[SaddleBrownKey]; 2177public static Brush Salmon { 2181Brush salmon = (Brush)SafeNativeMethods.Gdip.ThreadData[SalmonKey]; 2194public static Brush SandyBrown { 2198Brush sandyBrown = (Brush)SafeNativeMethods.Gdip.ThreadData[SandyBrownKey]; 2211public static Brush SeaGreen { 2215Brush seaGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[SeaGreenKey]; 2228public static Brush SeaShell { 2232Brush seaShell = (Brush)SafeNativeMethods.Gdip.ThreadData[SeaShellKey]; 2245public static Brush Sienna { 2249Brush sienna = (Brush)SafeNativeMethods.Gdip.ThreadData[SiennaKey]; 2262public static Brush Silver { 2266Brush silver = (Brush)SafeNativeMethods.Gdip.ThreadData[SilverKey]; 2279public static Brush SkyBlue { 2283Brush skyBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[SkyBlueKey]; 2296public static Brush SlateBlue { 2300Brush slateBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[SlateBlueKey]; 2313public static Brush SlateGray { 2317Brush slateGray = (Brush)SafeNativeMethods.Gdip.ThreadData[SlateGrayKey]; 2330public static Brush Snow { 2334Brush snow = (Brush)SafeNativeMethods.Gdip.ThreadData[SnowKey]; 2347public static Brush SpringGreen { 2351Brush springGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[SpringGreenKey]; 2364public static Brush SteelBlue { 2368Brush steelBlue = (Brush)SafeNativeMethods.Gdip.ThreadData[SteelBlueKey]; 2381public static Brush Tan { 2385Brush tan = (Brush)SafeNativeMethods.Gdip.ThreadData[TanKey]; 2398public static Brush Teal { 2402Brush teal = (Brush)SafeNativeMethods.Gdip.ThreadData[TealKey]; 2415public static Brush Thistle { 2419Brush thistle = (Brush)SafeNativeMethods.Gdip.ThreadData[ThistleKey]; 2432public static Brush Tomato { 2436Brush tomato = (Brush)SafeNativeMethods.Gdip.ThreadData[TomatoKey]; 2449public static Brush Turquoise { 2453Brush turquoise = (Brush)SafeNativeMethods.Gdip.ThreadData[TurquoiseKey]; 2466public static Brush Violet { 2470Brush violet = (Brush)SafeNativeMethods.Gdip.ThreadData[VioletKey]; 2483public static Brush Wheat { 2487Brush wheat = (Brush)SafeNativeMethods.Gdip.ThreadData[WheatKey]; 2500public static Brush White { 2504Brush white = (Brush)SafeNativeMethods.Gdip.ThreadData[WhiteKey]; 2517public static Brush WhiteSmoke { 2521Brush whiteSmoke = (Brush)SafeNativeMethods.Gdip.ThreadData[WhiteSmokeKey]; 2534public static Brush Yellow { 2538Brush yellow = (Brush)SafeNativeMethods.Gdip.ThreadData[YellowKey]; 2551public static Brush YellowGreen { 2555Brush yellowGreen = (Brush)SafeNativeMethods.Gdip.ThreadData[YellowGreenKey];
commonui\System\Drawing\Graphics.cs (37)
1988/// Fills the interior of a rectangle with a <see cref='System.Drawing.Brush'/>. 1991public void FillRectangle(Brush brush, RectangleF rect) { 1999/// <see cref='System.Drawing.Brush'/>. 2002public void FillRectangle(Brush brush, float x, float y, float width, float height) { 2018/// Fills the interior of a rectangle with a <see cref='System.Drawing.Brush'/>. 2021public void FillRectangle(Brush brush, Rectangle rect) { 2028/// Fills the interior of a rectangle with a <see cref='System.Drawing.Brush'/>. 2031public void FillRectangle(Brush brush, int x, int y, int width, int height) { 2046/// rectangles with a <see cref='System.Drawing.Brush'/>. 2049public void FillRectangles(Brush brush, RectangleF[] rects) { 2073/// Fills the interiors of a series of rectangles with a <see cref='System.Drawing.Brush'/>. 2076public void FillRectangles(Brush brush, Rectangle[] rects) { 2105public void FillPolygon(Brush brush, PointF[] points) { 2115public void FillPolygon(Brush brush, PointF[] points, FillMode fillMode) { 2141public void FillPolygon(Brush brush, Point[] points) { 2151public void FillPolygon(Brush brush, Point[] points, FillMode fillMode) { 2178public void FillEllipse(Brush brush, RectangleF rect) { 2188public void FillEllipse(Brush brush, float x, float y, float width, 2207public void FillEllipse(Brush brush, Rectangle rect) { 2218public void FillEllipse(Brush brush, int x, int y, int width, int height) { 2236public void FillPie(Brush brush, Rectangle rect, float startAngle, 2250public void FillPie(Brush brush, float x, float y, float width, 2270public void FillPie(Brush brush, int x, int y, int width, 2288public void FillPath(Brush brush, GraphicsPath path) { 2310public void FillClosedCurve(Brush brush, PointF[] points) { 2336public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode) { 2344public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode, float tension) { 2371public void FillClosedCurve(Brush brush, Point[] points) { 2394public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode) { 2402public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode, float tension) { 2428public void FillRegion(Brush brush, Region region) { 2455public void DrawString(String s, Font font, Brush brush, float x, float y) { 2462public void DrawString(String s, Font font, Brush brush, PointF point) { 2469public void DrawString(String s, Font font, Brush brush, float x, float y, StringFormat format) { 2476public void DrawString(String s, Font font, Brush brush, PointF point, StringFormat format) { 2483public void DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle) { 2490public void DrawString(String s, Font font, Brush brush,
commonui\System\Drawing\Pen.cs (6)
102public Pen(Brush brush) : this(brush, (float)1.0) { 109/// the specified <see cref='System.Drawing.Brush'/> and width. 114public Pen(Brush brush, float width) { 825/// Gets or sets the <see cref='System.Drawing.Brush'/> that 828public Brush Brush { 830Brush brush = null;
commonui\System\Drawing\SystemBrushes.cs (37)
30public static Brush ActiveBorder { 40public static Brush ActiveCaption { 50public static Brush ActiveCaptionText { 60public static Brush AppWorkspace { 70public static Brush ButtonFace { 80public static Brush ButtonHighlight { 90public static Brush ButtonShadow { 100public static Brush Control { 110public static Brush ControlLightLight { 120public static Brush ControlLight { 130public static Brush ControlDark { 140public static Brush ControlDarkDark { 150public static Brush ControlText { 160public static Brush Desktop 172public static Brush GradientActiveCaption { 182public static Brush GradientInactiveCaption { 192public static Brush GrayText { 202public static Brush Highlight { 212public static Brush HighlightText { 222public static Brush HotTrack { 232public static Brush InactiveCaption { 242public static Brush InactiveBorder { 252public static Brush InactiveCaptionText { 262public static Brush Info { 272public static Brush InfoText { 282public static Brush Menu { 292public static Brush MenuBar { 302public static Brush MenuHighlight { 312public static Brush MenuText { 323public static Brush ScrollBar { 333public static Brush Window { 343public static Brush WindowFrame { 353public static Brush WindowText { 366public static Brush FromSystemColor(Color c) { 371Brush[] systemBrushes = (Brush[])SafeNativeMethods.Gdip.ThreadData[SystemBrushesKey]; 373systemBrushes = new Brush[(int)KnownColor.WindowText + (int)KnownColor.MenuHighlight - (int)KnownColor.YellowGreen];
System.Web.DataVisualization (124)
Common\Annotation\ImageAnnotation.cs (1)
575 using( Brush textBrush = new SolidBrush(this.ForeColor) )
Common\Annotation\TextAnnotation.cs (1)
575 using( Brush textBrush = new SolidBrush(this.ForeColor) )
Common\Borders3D\EmbedBorder.cs (1)
945using (Brush brush = new SolidBrush(borderSkin.PageColor))
Common\Borders3D\EmbossBorder.cs (1)
200using (Brush brush = new SolidBrush(borderSkin.PageColor))
Common\ChartTypes\AreaChart.cs (3)
317Brush areaBrush = null; 356using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(pointColor.A / 2, series.ShadowColor))) 612using (Brush areaGradientBrush = graph.GetGradientBrush(areaPath.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
Common\ChartTypes\BarChart.cs (2)
1069using (Brush brush = new SolidBrush(point.LabelForeColor)) 2127using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\BoxPlotChart.cs (1)
977using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\ColumnChart.cs (2)
1261using (Brush brush = new SolidBrush(point.LabelForeColor)) 1383using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\ErrorBarChart.cs (1)
1034using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\FastPointChart.cs (1)
444 Brush brush,
Common\ChartTypes\FunnelChart.cs (1)
1573using (Brush brush = new SolidBrush(labelInfo.Point.LabelForeColor))
Common\ChartTypes\PieChart.cs (8)
1271using (Brush brush = new SolidBrush(point.LabelForeColor)) 1426using (Brush brush = new SolidBrush(point.LabelForeColor)) 3317Brush brush; 3531 Brush brush, 3829Brush brush; 4046 Brush brush, 5524using (Brush brush = new SolidBrush(point.LabelForeColor)) 5586using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\PointChart.cs (1)
930using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\RadarChart.cs (3)
491using (Brush brush = new SolidBrush(ser.ShadowColor)) 608using (Brush brush = graph.CreateBrush( 1253using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\RangeChart.cs (4)
283using (Brush areaGradientBrush = graph.GetGradientBrush(gradientPath.GetBounds(), this._series.Color, this._series.BackSecondaryColor, this._series.BackGradientStyle)) 402 Brush areaBrush = null; 519using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.Color.A / 2, series.ShadowColor))) 1730using (Brush brush = new SolidBrush(polygonColor))
Common\ChartTypes\StackedAreaChart.cs (4)
611Brush areaBrush = null; 778using (Brush areaBrush = graph.GetGradientBrush(gradientPath.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle)) 1052using (Brush brush = new SolidBrush(point.LabelForeColor)) 1534using (Brush brush = new SolidBrush(pointEx.dataPoint.LabelForeColor))
Common\ChartTypes\StackedBarChart.cs (2)
1204using (Brush brush = new SolidBrush(point.LabelForeColor)) 2094using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\StackedColumnChart.cs (2)
1247using (Brush brush = new SolidBrush(point.LabelForeColor)) 1959using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\StockChart.cs (3)
849using (Brush brush = new SolidBrush(point.Color)) 1075using (Brush brush = new SolidBrush(point.LabelForeColor)) 1686using (Brush brush = new SolidBrush(point.Color))
Common\General\Axis.cs (2)
1943using (Brush brush = new SolidBrush(this.TitleForeColor)) 2438using (Brush brush = new SolidBrush(this.TitleForeColor))
Common\General\AxisScaleSegments.cs (3)
380 using(Brush fillBrush = this.GetChartFillBrush(graph)) 508 private Brush GetChartFillBrush(ChartGraphics graph) 511 Brush brush = null;
Common\General\ChartGraphics.cs (34)
353internal Brush GetHatchBrush( 376 internal Brush GetTextureBrush( 439internal Brush GetGradientBrush( 449 Brush gradientBrush = null; 548 internal Brush GetPieGradientBrush( 948using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1026using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1079using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1211Brush brush, 1241System.Drawing.Brush brush, 1272System.Drawing.Brush brush, 1332 System.Drawing.Brush brush, 1409 System.Drawing.Brush brush, 1522 using(Brush brush = new SolidBrush(backColor)) 1556 using(Brush brush = new SolidBrush(Color.Transparent)) 1644 System.Drawing.Brush brush, 1671 System.Drawing.Brush brush, 1768 System.Drawing.Brush brush, 2711 internal void DrawStringRel( string text, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format ) 2755 Brush brush, 3396 Brush brush = null; 3397 Brush backBrush = null; 3914 internal void DrawCircleAbs(Pen pen, Brush brush, RectangleF position, int polygonSectorsNumber, bool circle3D) 3982using (Brush sectorBrush = GetSector3DBrush(brush, curentSector, sectorSize)) 4002using (Brush sectorBrush = GetSector3DBrush(brush, curentSector, sectorSize)) 4036 internal Brush GetSector3DBrush(Brush brush, float curentSector, float sectorSize) 4134 Brush brush = null; 4135 Brush backBrush = null; 4442 Brush brush = null; 4443 Brush backBrush = null; 4605 internal Brush CreateBrush( 4616 Brush brush = new SolidBrush(backColor); 5002 Brush fillBrush; // Brush
Common\General\ChartGraphics3D.cs (11)
594using (Brush lightBrush = new SolidBrush(lightColor)) 655using (Brush lightBrush = new SolidBrush(lightColor)) 686 Brush brush, 887using (Brush lightBrush = new SolidBrush(frontLightColor)) 1025using (Brush lightBrush = new SolidBrush(frontLightColor)) 1252using (Brush brush = new SolidBrush(polygonColor)) 2131using (Brush brush = new SolidBrush(polygonColor)) 3015using (Brush brush = new SolidBrush(surfaceColor)) 3551using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 4119 Brush frontSurfaceBrush = null; 4289using (Brush brush = new SolidBrush(surfaceColor))
Common\General\ChartRenderingEngine.cs (9)
320 Brush brush, 346 Brush brush, 495 Brush brush, 508 Brush brush, 528 Brush brush, 541 Brush brush, 557 Brush brush, 573 Brush brush, 593 Brush brush,
Common\General\GdiGraphics.cs (9)
224 Brush brush, 243 Brush brush, 404 Brush brush, 417 Brush brush, 430 Brush brush, 443 Brush brush, 459 Brush brush, 475 Brush brush, 495 Brush brush,
Common\General\IChartRenderingEngine.cs (9)
175 Brush brush, 191 Brush brush, 325 Brush brush, 335 Brush brush, 345 Brush brush, 355 Brush brush, 368 Brush brush, 381 Brush brush, 398 Brush brush,
Common\General\Label.cs (3)
1258using (Brush brush = new SolidBrush(labelColor)) 1772using (Brush brush = new SolidBrush((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor)) 2489using (Brush brush = new SolidBrush((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor))
Common\General\SmartLabels.cs (1)
932using (Brush calloutBrush = new SolidBrush(smartLabelStyle.CalloutBackColor))
Common\General\StripLine.cs (1)
795using (Brush brush = new SolidBrush(this.ForeColor))
System.Web.Mobile (2)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
39Brush foreBrush = new SolidBrush(ForeColor);
UI\MobileControls\Design\Util\ImageCreator.cs (1)
76Brush controlTextBrush = new SolidBrush(SystemColors.ControlText),
System.Windows.Forms (134)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
115internal static Brush CreateDitherBrush(Color color1, Color color2) { 147using (Brush brush = CreateDitherBrush(color1, color2)) { 642Brush brush; 688internal void PaintButtonBackground(PaintEventArgs e, Rectangle bounds, Brush background) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
33Brush backbrush = CreateDitherBrush(colors.highlight, colors.buttonFace); 73Brush backbrush = CreateDitherBrush(colors.highlight, colors.buttonFace);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (2)
117using (Brush brush = new SolidBrush(color)) { 154Brush backbrush = null;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
42using (Brush fieldBrush = new SolidBrush(field)) {
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
762using (Brush b = new SolidBrush(backColor)) { 865using (Brush brush = new SolidBrush(backColor)) {
winforms\Managed\System\WinForms\ComboBox.cs (3)
3458Brush brush = new SolidBrush(p.BackColor); 5984using (Brush b = new SolidBrush(innerBorderColor)) { 6063Brush brush = (comboBox.Enabled) ? SystemBrushes.ControlText : SystemBrushes.ControlDark;
winforms\Managed\System\WinForms\Control.cs (1)
9661using (Brush brush = new SolidBrush(color)) {
winforms\Managed\System\WinForms\ControlPaint.cs (14)
48private static Brush grabBrushPrimary; // brush used for primary grab handles 49private static Brush grabBrushSecondary; // brush used for secondary grab handles 51private static Brush frameBrushActive; // brush used for the active selection frame 54private static Brush frameBrushSelected; // brush used for the inactive selection frame 57private static Brush gridBrush; // brush used to draw a grid 223using( Brush brush = new SolidBrush(background) ) { 1191Brush brush = Brushes.White; 1238Brush background = ((state & ButtonState.Inactive) == ButtonState.Inactive) ? 1254private static void DrawFlatCheckBox(Graphics graphics, Rectangle rectangle, Color foreground, Brush background, ButtonState state) { 1397Brush brush; 1871Brush frameBrush; 2134private static Brush GetActiveBrush(Color backColor) { 2230Brush brush = new TextureBrush(b); 2255private static Brush GetSelectedBrush(Color backColor) {
winforms\Managed\System\WinForms\DataGrid.cs (4)
453internal Brush AlternatingBackBrush { 2382internal Brush LinkBrush { 7190Brush headerBrush; 7297Brush br;
winforms\Managed\System\WinForms\DataGridAddNewRow.cs (2)
105Brush backBr, Brush foreBrush, bool alignToRight) {
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (4)
378/// row number, <see cref='System.Drawing.Brush'/>, and <see cref='System.Drawing.Color'/>. </para> 381Brush backBrush, Brush foreBrush, 394System.Drawing.Brush selectionBrush = this.DataGridTableStyle.IsDefault ? this.DataGridTableStyle.DataGrid.SelectionBackBrush : this.DataGridTableStyle.SelectionBackBrush;
winforms\Managed\System\WinForms\DataGridColumn.cs (2)
1091Brush backBrush, Brush foreBrush, bool alignToRight) {
winforms\Managed\System\WinForms\DataGridParentRows.cs (2)
41private Brush borderBrush = new SolidBrush(SystemColors.WindowFrame); 174internal Brush BorderBrush {
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (6)
557Brush backBr, Brush foreBrush, bool alignToRight) { 602public void PaintHeaderInside(Graphics g, Rectangle bounds, Brush backBr, bool alignToRight, bool isDirty) { 688Brush br; 717Brush textBrush = this.dgTable.IsDefault ? this.DataGrid.LinkBrush : this.dgTable.LinkBrush; 747private void PaintPlusMinusGlyph(Graphics g, Rectangle bounds, Brush backBr, bool alignToRight) {
winforms\Managed\System\WinForms\DataGridRow.cs (13)
504Brush backBr = BackBrushForDataPaint(ref current, columns[col], col); 505Brush foreBrush = ForeBrushForDataPaint(ref current, columns[col], col); 537Brush backBr, Brush foreBrush) 543Brush backBr, Brush foreBrush, bool alignToRight) { 559protected Rectangle PaintIcon(Graphics g, Rectangle visualBounds, bool paintIcon, bool alignToRight, Bitmap bmp, Brush backBrush) { 652protected Brush GetBackBrush() { 653Brush br = this.dgTable.IsDefault ? DataGrid.BackBrush : this.dgTable.BackBrush; 666protected Brush BackBrushForDataPaint(ref DataGridCell current, DataGridColumnStyle gridColumn, int column) { 667Brush backBr = this.GetBackBrush(); 680protected Brush ForeBrushForDataPaint(ref DataGridCell current, DataGridColumnStyle gridColumn, int column) { 682Brush foreBrush = this.dgTable.IsDefault ? this.DataGrid.ForeBrush : this.dgTable.ForeBrush;
winforms\Managed\System\WinForms\DataGridTable.cs (1)
847internal Brush LinkBrush {
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (4)
574Brush backBrush, Brush foreBrush, bool alignToRight) { 593protected void PaintText(Graphics g, Rectangle textBounds, string text, Brush backBrush, Brush foreBrush, bool alignToRight) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
4350Brush br,
winforms\Managed\System\WinForms\DrawItemEvent.cs (1)
186Brush backBrush = new SolidBrush(BackColor);
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
158using (Brush backBrush = new SolidBrush(backColor)) {
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (1)
126Brush backBrush = new SolidBrush(item.BackColor);
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (1)
172using (Brush backBrush = new SolidBrush(backColor)) {
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (1)
129Brush backBrush = new SolidBrush(backColor);
winforms\Managed\System\WinForms\GroupBox.cs (2)
566using( Brush textBrush = new SolidBrush(ForeColor)){ 773using (Brush b = new SolidBrush(BackColor)) {
winforms\Managed\System\WinForms\Label.cs (1)
1548using (Brush brush = new SolidBrush(color)) {
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
538Brush backBrush = new SolidBrush(BackColor);
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
95internal Brush lineBrush = null; 101internal Brush selectedItemWithFocusBackBrush = null; 3290Brush background;
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (2)
28private Brush backBrush = null; 122protected override Brush GetBackgroundBrush(Graphics g) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (9)
226protected virtual Brush GetBackgroundBrush(Graphics g) { 1869Brush bkBrush = selected ? gridHost.GetSelectedItemWithFocusBackBrush(g) : this.GetBackgroundBrush(g); 1882Brush blank = bkBrush; 1911Brush stripeBrush = gridHost.GetLineBrush(g); 1934using( Brush textBrush = new SolidBrush(textColor)){ 2020Brush b = new SolidBrush(textColor); 2042Brush b = this.GetBackgroundBrush(g); 2123Brush bkBrush = this.GetBackgroundBrush(g); 2131Brush blank = bkBrush;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
95private Brush backgroundBrush = null; 226internal Brush GetBackgroundBrush(Graphics g) { 1515public virtual Brush GetLineBrush(Graphics g) { 1533public virtual Brush GetSelectedItemWithFocusBackBrush(Graphics g)
winforms\Managed\System\WinForms\ToolStripComboBox.cs (5)
702using (Brush b = new LinearGradientBrush(dropDownRect, colorTable.ComboBoxButtonSelectedGradientBegin, colorTable.ComboBoxButtonSelectedGradientEnd, LinearGradientMode.Vertical)) { 707using (Brush b = new SolidBrush(colorTable.ComboBoxButtonOnOverflow)) { 712using (Brush b = new LinearGradientBrush(dropDownRect, colorTable.ComboBoxButtonGradientBegin, colorTable.ComboBoxButtonGradientEnd, LinearGradientMode.Vertical)) { 718using (Brush b = new LinearGradientBrush(dropDownRect, colorTable.ComboBoxButtonPressedGradientBegin, colorTable.ComboBoxButtonPressedGradientEnd, LinearGradientMode.Vertical)) { 724Brush brush;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (29)
275using (Brush b = new SolidBrush(ColorTable.ButtonSelectedBorder)) { 469using (Brush b = new SolidBrush(ColorTable.GripLight)) { 477using (Brush b = new SolidBrush(ColorTable.GripDark)) { 516using (Brush b = new SolidBrush(ColorTable.MenuItemSelected)) { 533using (Brush b = new SolidBrush(item.BackColor)) { 558using (Brush b = new LinearGradientBrush(bounds, ColorTable.MenuItemSelectedGradientBegin, ColorTable.MenuItemSelectedGradientEnd, LinearGradientMode.Vertical)) { 576using (Brush b = new SolidBrush(item.BackColor)) { 814using (Brush b = new SolidBrush(overflowBottomLeftShadow)) { 820using (Brush b = new SolidBrush(overflowTopShadow)) { 865using (Brush b = new SolidBrush(middleColor)) { 870using (Brush b = new LinearGradientBrush(beginGradient, beginColor, middleColor, mode)) { 890using (Brush b = new LinearGradientBrush(bounds, beginColor, endColor, mode)) { 916using (Brush b = new SolidBrush(fill)) { 941using (Brush b = new LinearGradientBrush(bounds, ColorTable.MenuItemPressedGradientBegin, ColorTable.MenuItemPressedGradientEnd, LinearGradientMode.Vertical)) { 1002using (Brush b = new SolidBrush(beginColor)) { 1026using (Brush b = new SolidBrush(ColorTable.ToolStripDropDownBackground)) { 1044using (Brush b = new SolidBrush(ColorTable.ToolStripDropDownBackground)) { 1120using (Brush b = new SolidBrush(overflowTopShadow/*Color.Orange*/)) { 1138using (Brush b = new SolidBrush(overflowButtonGradientBegin/*Color.Green*/)) { 1170using (Brush b = new SolidBrush(ColorTable.ToolStripGradientMiddle)) { 1201using (Brush b = new SolidBrush(ColorTable.ToolStripGradientEnd)) { 1224using (Brush b = new LinearGradientBrush(bounds, ColorTable.ButtonSelectedGradientBegin, ColorTable.ButtonSelectedGradientEnd, LinearGradientMode.Vertical)) { 1230using (Brush b = new SolidBrush(fillColor)) { 1241using (Brush b = new LinearGradientBrush(bounds, ColorTable.ButtonCheckedGradientBegin, ColorTable.ButtonCheckedGradientEnd, LinearGradientMode.Vertical)) { 1249using (Brush b = new SolidBrush(fillColor)) { 1355using (Brush b = new LinearGradientBrush(bounds, ColorTable.ButtonPressedGradientBegin, ColorTable.ButtonPressedGradientEnd, LinearGradientMode.Vertical)) { 1362using (Brush b = new SolidBrush(fillColor)) { 1389using (Brush b = new SolidBrush(item.BackColor)) { 1441private Point RenderArrowInternal(Graphics g, Rectangle dropDownRect, ArrowDirection direction, Brush brush) {
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
709using (Brush brush = new SolidBrush(e.ArrowColor)) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (1)
73using (Brush backBrush = new SolidBrush(backColor)) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
872using (Brush b = new SolidBrush(innerBorderColor)) {
winforms\Managed\System\WinForms\TreeView.cs (1)
2851using (Brush brush = new SolidBrush(BackColor))
winforms\Managed\System\WinForms\Triangle.cs (1)
42public static void Paint(Graphics g, Rectangle bounds, TriangleDirection dir, Brush backBr,
System.Windows.Forms.DataVisualization (116)
Common\Annotation\ImageAnnotation.cs (1)
575 using( Brush textBrush = new SolidBrush(this.ForeColor) )
Common\Annotation\TextAnnotation.cs (1)
575 using( Brush textBrush = new SolidBrush(this.ForeColor) )
Common\Borders3D\EmbedBorder.cs (1)
945using (Brush brush = new SolidBrush(borderSkin.PageColor))
Common\Borders3D\EmbossBorder.cs (1)
200using (Brush brush = new SolidBrush(borderSkin.PageColor))
Common\ChartTypes\AreaChart.cs (3)
317Brush areaBrush = null; 356using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(pointColor.A / 2, series.ShadowColor))) 612using (Brush areaGradientBrush = graph.GetGradientBrush(areaPath.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
Common\ChartTypes\BarChart.cs (2)
1069using (Brush brush = new SolidBrush(point.LabelForeColor)) 2127using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\BoxPlotChart.cs (1)
977using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\ColumnChart.cs (2)
1261using (Brush brush = new SolidBrush(point.LabelForeColor)) 1383using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\ErrorBarChart.cs (1)
1034using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\FastPointChart.cs (1)
444 Brush brush,
Common\ChartTypes\FunnelChart.cs (1)
1573using (Brush brush = new SolidBrush(labelInfo.Point.LabelForeColor))
Common\ChartTypes\PieChart.cs (8)
1271using (Brush brush = new SolidBrush(point.LabelForeColor)) 1426using (Brush brush = new SolidBrush(point.LabelForeColor)) 3317Brush brush; 3531 Brush brush, 3829Brush brush; 4046 Brush brush, 5524using (Brush brush = new SolidBrush(point.LabelForeColor)) 5586using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\PointChart.cs (1)
930using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\RadarChart.cs (3)
491using (Brush brush = new SolidBrush(ser.ShadowColor)) 608using (Brush brush = graph.CreateBrush( 1253using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\RangeChart.cs (4)
283using (Brush areaGradientBrush = graph.GetGradientBrush(gradientPath.GetBounds(), this._series.Color, this._series.BackSecondaryColor, this._series.BackGradientStyle)) 402 Brush areaBrush = null; 519using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.Color.A / 2, series.ShadowColor))) 1730using (Brush brush = new SolidBrush(polygonColor))
Common\ChartTypes\StackedAreaChart.cs (4)
611Brush areaBrush = null; 778using (Brush areaBrush = graph.GetGradientBrush(gradientPath.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle)) 1052using (Brush brush = new SolidBrush(point.LabelForeColor)) 1534using (Brush brush = new SolidBrush(pointEx.dataPoint.LabelForeColor))
Common\ChartTypes\StackedBarChart.cs (2)
1204using (Brush brush = new SolidBrush(point.LabelForeColor)) 2094using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\StackedColumnChart.cs (2)
1247using (Brush brush = new SolidBrush(point.LabelForeColor)) 1959using (Brush brush = new SolidBrush(point.LabelForeColor))
Common\ChartTypes\StockChart.cs (3)
849using (Brush brush = new SolidBrush(point.Color)) 1075using (Brush brush = new SolidBrush(point.LabelForeColor)) 1686using (Brush brush = new SolidBrush(point.Color))
Common\General\Axis.cs (2)
1943using (Brush brush = new SolidBrush(this.TitleForeColor)) 2438using (Brush brush = new SolidBrush(this.TitleForeColor))
Common\General\AxisScaleSegments.cs (3)
380 using(Brush fillBrush = this.GetChartFillBrush(graph)) 508 private Brush GetChartFillBrush(ChartGraphics graph) 511 Brush brush = null;
Common\General\ChartGraphics.cs (34)
353internal Brush GetHatchBrush( 376 internal Brush GetTextureBrush( 439internal Brush GetGradientBrush( 449 Brush gradientBrush = null; 548 internal Brush GetPieGradientBrush( 948using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1026using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1079using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1211Brush brush, 1241System.Drawing.Brush brush, 1272System.Drawing.Brush brush, 1332 System.Drawing.Brush brush, 1409 System.Drawing.Brush brush, 1522 using(Brush brush = new SolidBrush(backColor)) 1556 using(Brush brush = new SolidBrush(Color.Transparent)) 1644 System.Drawing.Brush brush, 1671 System.Drawing.Brush brush, 1768 System.Drawing.Brush brush, 2711 internal void DrawStringRel( string text, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format ) 2755 Brush brush, 3396 Brush brush = null; 3397 Brush backBrush = null; 3914 internal void DrawCircleAbs(Pen pen, Brush brush, RectangleF position, int polygonSectorsNumber, bool circle3D) 3982using (Brush sectorBrush = GetSector3DBrush(brush, curentSector, sectorSize)) 4002using (Brush sectorBrush = GetSector3DBrush(brush, curentSector, sectorSize)) 4036 internal Brush GetSector3DBrush(Brush brush, float curentSector, float sectorSize) 4134 Brush brush = null; 4135 Brush backBrush = null; 4442 Brush brush = null; 4443 Brush backBrush = null; 4605 internal Brush CreateBrush( 4616 Brush brush = new SolidBrush(backColor); 5002 Brush fillBrush; // Brush
Common\General\ChartGraphics3D.cs (11)
594using (Brush lightBrush = new SolidBrush(lightColor)) 655using (Brush lightBrush = new SolidBrush(lightColor)) 686 Brush brush, 887using (Brush lightBrush = new SolidBrush(frontLightColor)) 1025using (Brush lightBrush = new SolidBrush(frontLightColor)) 1252using (Brush brush = new SolidBrush(polygonColor)) 2131using (Brush brush = new SolidBrush(polygonColor)) 3015using (Brush brush = new SolidBrush(surfaceColor)) 3551using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 4119 Brush frontSurfaceBrush = null; 4289using (Brush brush = new SolidBrush(surfaceColor))
Common\General\ChartRenderingEngine.cs (9)
320 Brush brush, 346 Brush brush, 495 Brush brush, 508 Brush brush, 528 Brush brush, 541 Brush brush, 557 Brush brush, 573 Brush brush, 593 Brush brush,
Common\General\GdiGraphics.cs (9)
224 Brush brush, 243 Brush brush, 404 Brush brush, 417 Brush brush, 430 Brush brush, 443 Brush brush, 459 Brush brush, 475 Brush brush, 495 Brush brush,
Common\General\Label.cs (3)
1258using (Brush brush = new SolidBrush(labelColor)) 1772using (Brush brush = new SolidBrush((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor)) 2489using (Brush brush = new SolidBrush((label.ForeColor.IsEmpty) ? _foreColor : label.ForeColor))
Common\General\SmartLabels.cs (1)
932using (Brush calloutBrush = new SolidBrush(smartLabelStyle.CalloutBackColor))
Common\General\StripLine.cs (1)
795using (Brush brush = new SolidBrush(this.ForeColor))
WinForm\ChartWinControl.cs (1)
2162using (Brush b = new SolidBrush(BackColor))
System.Workflow.Activities (8)
Designers\StateDesigner.Layouts.cs (5)
799Brush brush = designerTheme.ForegroundBrush; 995Brush backgroundBrush = designerTheme.GetBackgroundBrush(this.Bounds); 1022using (Brush linearGradientBrush = new LinearGradientBrush(rectangle, color1, color2, LinearGradientMode.Vertical)) 1192Brush backgroundBrush = designerTheme.GetBackgroundBrush(this.Bounds); 1393Brush backgroundBrush = designerTheme.GetBackgroundBrush(this.Bounds);
Designers\StateMachineDesignerPaint.cs (3)
27internal static readonly Brush FadeBrush = new SolidBrush(Color.FromArgb(120, 255, 255, 255)); 137using (Brush penBrush = new SolidBrush(pen.Color)) 164using (Brush penBrush = new SolidBrush(pen.Color))
System.Workflow.ComponentModel (50)
AuthoringOM\Design\ActivityDesigner.cs (2)
1065using (Brush transparentBrush = new SolidBrush(Color.FromArgb(0, 255, 0, 255))) 3081using (Brush transparentSelectionBrush = new SolidBrush(Color.FromArgb(50, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor)))
AuthoringOM\Design\DesignerHelpers.cs (4)
92public static void DrawText(Graphics graphics, Font font, string text, Rectangle boundingRect, StringAlignment alignment, TextQuality textQuality, Brush textBrush) 471using (Brush shadowBrush = new SolidBrush(shadowColor)) 616using (Brush penBrush = new SolidBrush(pen.Color)) 646using (Brush penBrush = new SolidBrush(pen.Color))
AuthoringOM\Design\DesignerWidgets.cs (8)
121private static Brush SelectionBrush = new SolidBrush(Color.FromArgb(255, 195, 107)); 122private static Brush HighliteBrush = new SolidBrush(Color.FromArgb(100, 255, 195, 107)); 218Brush pageBrush = Brushes.White; 1228using (Brush gradientBrush = new LinearGradientBrush(new Point(this.leftGradientRectangle.Left, this.leftGradientRectangle.Top), new Point(this.leftGradientRectangle.Right, this.leftGradientRectangle.Top), SystemColors.Window, SystemColors.ScrollBar)) 1885using (Brush hottrackBrush = new SolidBrush(hottrackColor)) 1886using (Brush selectionBrush = new SolidBrush(selectionColor)) 1893Brush backgroundBrush = SystemBrushes.Control; 2765Brush textBrush = (ActiveDropTarget != -1) ? ambientTheme.DropIndicatorBrush : designerTheme.ForegroundBrush;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
681using (Brush backgroundBrush = new SolidBrush(Color.FromArgb(0, 255, 0, 255)))
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
118using (Brush dragRectangleBrush = new SolidBrush(Color.FromArgb(10, ambientTheme.SelectionForeColor)))
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
386using (Brush linearGradientBrush = new LinearGradientBrush(rectangle, color1, color2, LinearGradientMode.Vertical)) 473using (Brush linearGradientBrush = new LinearGradientBrush(rectangle, color2, color1, LinearGradientMode.Vertical))
AuthoringOM\Design\Themes.cs (31)
999private Brush foregroundBrush; 1000private Brush backgroundBrush; 1270public Brush ForegroundBrush 1297public Brush GetBackgroundBrush(Rectangle rectangle) 1444private Brush expandButtonBackBrush; 1629public Brush GetExpandButtonBackgroundBrush(Rectangle rectangle) 1696private Brush previewForegroundBrush; 1697private Brush previewBackgroundBrush; 1877internal Brush PreviewForegroundBrush 1889internal Brush PreviewBackgroundBrush 1939internal static readonly Brush WorkspaceBackgroundBrush = new SolidBrush(Color.FromArgb(234, 234, 236)); 1940internal static readonly Brush FadeBrush = new SolidBrush(Color.FromArgb(120, 255, 255, 255)); 1941internal static readonly Brush DisabledBrush = new SolidBrush(Color.FromArgb(40, Color.Gray)); 1942internal static readonly Brush PageShadowBrush = new SolidBrush(Color.FromArgb(75, 75, 75)); 2022private Brush backgroundBrush; 2023private Brush foregroundBrush; 2024private Brush selectionForegroundBrush; 2025private Brush dropIndicatorBrush; 2026private Brush commentIndicatorBrush; 2027private Brush readonlyIndicatorBrush; 2028private Brush majorGridBrush; 2029private Brush minorGridBrush; 2865public Brush MajorGridBrush 2893internal Brush MinorGridBrush 2936public Brush SelectionForegroundBrush 2960public Brush DropIndicatorBrush 2999public Brush CommentIndicatorBrush 3011public Brush ReadonlyIndicatorBrush 3023public Brush ForegroundBrush 3035public Brush BackgroundBrush 3330using (Brush fillBrush = new SolidBrush(selectedColor))
AuthoringOM\Design\WorkflowView.cs (1)
1659using (Brush shadowDepthBrush = new SolidBrush(Color.FromArgb(220, Color.White)))
System.WorkflowServices (3)
System\Workflow\Activities\Design\GradientPanel.cs (2)
90Brush glossBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Top + glossHeight + 1), Color.FromArgb(120, 255, 255, 255), Color.FromArgb(60, 255, 255, 255)); // SolidBrush(Color.FromArgb(32, 255, 255, 255)); 91Brush frameBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Bottom), BaseColor, LightingColor);
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (1)
50Brush frameBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Bottom), BaseColor, LightingColor);