40 instantiations of LinearGradientBrush
System.Drawing (2)
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (1)
282return new LinearGradientBrush(cloneBrush);
commonui\System\Drawing\Pen.cs (1)
850brush = new LinearGradientBrush(GetNativeBrush());
System.Web.DataVisualization (8)
Common\ChartTypes\FunnelChart.cs (1)
1168 using( LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics.cs (4)
492LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 500LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 506 gradientBrush = new LinearGradientBrush( rectangle, firstColor, secondColor, angle ); 5166 using(LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics3D.cs (3)
3286 using(LinearGradientBrush topBrush = new LinearGradientBrush( 3342 using(LinearGradientBrush topBrush = new LinearGradientBrush( 4219 frontSurfaceBrush = new LinearGradientBrush(
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ToolStripComboBox.cs (3)
702using (Brush b = new LinearGradientBrush(dropDownRect, colorTable.ComboBoxButtonSelectedGradientBegin, colorTable.ComboBoxButtonSelectedGradientEnd, LinearGradientMode.Vertical)) { 712using (Brush b = new LinearGradientBrush(dropDownRect, colorTable.ComboBoxButtonGradientBegin, colorTable.ComboBoxButtonGradientEnd, LinearGradientMode.Vertical)) { 718using (Brush b = new LinearGradientBrush(dropDownRect, colorTable.ComboBoxButtonPressedGradientBegin, colorTable.ComboBoxButtonPressedGradientEnd, LinearGradientMode.Vertical)) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (10)
558using (Brush b = new LinearGradientBrush(bounds, ColorTable.MenuItemSelectedGradientBegin, ColorTable.MenuItemSelectedGradientEnd, LinearGradientMode.Vertical)) { 870using (Brush b = new LinearGradientBrush(beginGradient, beginColor, middleColor, mode)) { 875using (LinearGradientBrush b = new LinearGradientBrush(endGradient, middleColor, endColor, mode)) { 890using (Brush b = new LinearGradientBrush(bounds, beginColor, endColor, mode)) { 941using (Brush b = new LinearGradientBrush(bounds, ColorTable.MenuItemPressedGradientBegin, ColorTable.MenuItemPressedGradientEnd, LinearGradientMode.Vertical)) { 985using (LinearGradientBrush b = new LinearGradientBrush(gradientBounds, beginColor, endColor, LinearGradientMode.Horizontal)){ 995using (LinearGradientBrush b = new LinearGradientBrush(gradientBounds, beginColor, endColor, LinearGradientMode.Horizontal)){ 1224using (Brush b = new LinearGradientBrush(bounds, ColorTable.ButtonSelectedGradientBegin, ColorTable.ButtonSelectedGradientEnd, LinearGradientMode.Vertical)) { 1241using (Brush b = new LinearGradientBrush(bounds, ColorTable.ButtonCheckedGradientBegin, ColorTable.ButtonCheckedGradientEnd, LinearGradientMode.Vertical)) { 1355using (Brush b = new LinearGradientBrush(bounds, ColorTable.ButtonPressedGradientBegin, ColorTable.ButtonPressedGradientEnd, LinearGradientMode.Vertical)) {
System.Windows.Forms.DataVisualization (8)
Common\ChartTypes\FunnelChart.cs (1)
1168 using( LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics.cs (4)
492LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 500LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 506 gradientBrush = new LinearGradientBrush( rectangle, firstColor, secondColor, angle ); 5166 using(LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics3D.cs (3)
3286 using(LinearGradientBrush topBrush = new LinearGradientBrush( 3342 using(LinearGradientBrush topBrush = new LinearGradientBrush( 4219 frontSurfaceBrush = new LinearGradientBrush(
System.Workflow.Activities (1)
Designers\StateDesigner.Layouts.cs (1)
1022using (Brush linearGradientBrush = new LinearGradientBrush(rectangle, color1, color2, LinearGradientMode.Vertical))
System.Workflow.ComponentModel (5)
AuthoringOM\Design\DesignerWidgets.cs (1)
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))
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 (2)
1308this.backgroundBrush = new LinearGradientBrush(this.backgroundBrushRect, this.backColorStart, this.backColorEnd, this.backgroundStyle); 1636this.expandButtonBackBrush = new LinearGradientBrush(this.expandButtonRectangle, Color.White, Color.FromArgb(173, 170, 156), LinearGradientMode.ForwardDiagonal);
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);
42 references to LinearGradientBrush
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
34else if (keyValuePair.Value is System.Drawing.Drawing2D.LinearGradientBrush) 36System.Drawing.Drawing2D.LinearGradientBrush drawingBrush = (System.Drawing.Drawing2D.LinearGradientBrush)keyValuePair.Value;
System.Drawing (18)
commonui\System\Drawing\Advanced\Blend.cs (1)
17/// Defines a blend pattern for a <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/>
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (15)
35/// Initializes a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the specified points and 61/// Initializes a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the 88/// Encapsulates a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with 127/// Encapsulates a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the 167/// Encapsulates a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the 180/// Encapsulates a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the 214/// Encapsulates a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the 228/// Encapsulates a new instance of the <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> class with the 270/// Creates an exact copy of this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/>. 362/// gamma correction is enabled for this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/>. 724/// Gets or sets a <see cref='System.Drawing.Drawing2D.WrapMode'/> that indicates the wrap mode for this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/>. 774/// this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/>. 785/// Resets the <see cref='System.Drawing.Drawing2D.LinearGradientBrush.Transform'/> property to identity. 798/// transform of this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> by the specified <see cref='System.Drawing.Drawing2D.Matrix'/> by prepending the specified <see cref='System.Drawing.Drawing2D.Matrix'/>. 810/// transform of this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> by the specified <see cref='System.Drawing.Drawing2D.Matrix'/> in the specified order.
commonui\System\Drawing\Advanced\PathGradientBrush.cs (1)
291/// correspond to the points in the path this <see cref='System.Drawing.Drawing2D.LinearGradientBrush'/> fills.
commonui\System\Drawing\Advanced\TextureBrush.cs (1)
427/// Resets the <see cref='System.Drawing.Drawing2D.LinearGradientBrush.Transform'/> property to
System.Web.DataVisualization (9)
Common\ChartTypes\FunnelChart.cs (1)
1168 using( LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics.cs (5)
492LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 500LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 4044 else if(brush is LinearGradientBrush) 4046 brushColor = ((LinearGradientBrush)brush).LinearColors[0]; 5166 using(LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics3D.cs (3)
3286 using(LinearGradientBrush topBrush = new LinearGradientBrush( 3342 using(LinearGradientBrush topBrush = new LinearGradientBrush( 4239 ((LinearGradientBrush)frontSurfaceBrush).InterpolationColors = colorBlend;
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (3)
875using (LinearGradientBrush b = new LinearGradientBrush(endGradient, middleColor, endColor, mode)) { 985using (LinearGradientBrush b = new LinearGradientBrush(gradientBounds, beginColor, endColor, LinearGradientMode.Horizontal)){ 995using (LinearGradientBrush b = new LinearGradientBrush(gradientBounds, beginColor, endColor, LinearGradientMode.Horizontal)){
System.Windows.Forms.DataVisualization (9)
Common\ChartTypes\FunnelChart.cs (1)
1168 using( LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics.cs (5)
492LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 500LinearGradientBrush linearGradientBrush = new LinearGradientBrush(tempRect, firstColor, secondColor, angle); 4044 else if(brush is LinearGradientBrush) 4046 brushColor = ((LinearGradientBrush)brush).LinearColors[0]; 5166 using(LinearGradientBrush brush = new LinearGradientBrush(
Common\General\ChartGraphics3D.cs (3)
3286 using(LinearGradientBrush topBrush = new LinearGradientBrush( 3342 using(LinearGradientBrush topBrush = new LinearGradientBrush( 4239 ((LinearGradientBrush)frontSurfaceBrush).InterpolationColors = colorBlend;