Multimobile Development: Building Applications for any Smartphone
System.Drawing.SolidBrush Class
Information   Base Types   Related Resources

Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited.

  • Namespace: System.Drawing
  • Assembly: System.Drawing.dll

  • System.Drawing.Brush
    System.ICloneable
    System.IDisposable
  • View this type on MSDN
  • Search for this type on MSDN using MSDN's own search engine
  • Google for this type - all Web
  • Google for this type - MSDN only
    Articles (84)Discussions (572)MembersRotor
    Articles

    Page: 1234
    A Sneak Preview of Visual Basic 2005
    MSDN
    Ken Getz provides on overview of the new features in Visual Basic 2005 including, My Visual Basic, IntelliSense, Edit and Continue, and more.
    Advanced Basics: Building a Progress Bar that Doesn't Progress
    MSDN
    Building a Progress Bar that Doesn't Progress
    Analog clock control in C#
    The Code Project
    How to make an analog clock control in C#.
    Another Dynamic ASP.NET Text Image
    The Code Project
    Another article which shows you how to dynamically create an image from text in ASP.NET.
    Call A Java Program Using C#
    C# Help
    Charting in GDI+
    C# Corner
    Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.
    ColorComboBox
    The Code Project
    Selecting colors with a combo box.
    ComboBox With Images
    C# Help
    There is no built in support for a ComboBox with images. So i created a simple ComboBoxEx class that derives from ComboBox and allows you to set the ComboBoxEx.ImageList property and ComboBoxExItem.ImageIndex property so that the ComboBox displays an image.
    Controls and Icons a la .NET
    MSDN
    In this article Dr. GUI discusses building ASP.NET user controls and building your own deriviative of MenuItem that allows you to add icons to menu items in your Windows Forms applications.
    Create Snazzy Web Charts and Graphics On the Fly with the .NET Framework
    MSDN
    Knowledge workers can understand data more effectively when raw numbers are presented in a graphical format. This is especially true when displaying database information on a Web page, where a simple chart can make the difference between a dry presentation and a vivid data source. In the past, creating dynamic, data-based charts on the fly in ASP required purchasing a third-party, image-generating COM component. Now with ASP.NET, developers can access the .NET Framework's drawing classes directly with C# to create dynamic images and charts.
    Creating a professional looking GDI+ drawn custom control
    The Code Project
    Shows how to create a custom scrolling label control with GDI+ and proper double buffering
    Creating a User Control Using C#
    The Code Project
    In this tutorial I'm going to create a simple clock control to demonstrate usingthe .NET framework. The control will be a clock showing thecurrent time, and I'll leave it up to the reader to implement a second hand anddraw the clock numerals.
    Creating Controls
    GotDotNet
    This topic demonstrates how you can create Windows Forms controls. It covers the basics of creating a control. In addition, this topic covers adding painting logic to a control, exposing properties and events, using control licensing, and adding design-time behavior to your control.
    Creating Graphics with XML
    C# Corner
    This article shows how to create images on the fly and uses XML to specify the properties of the images.
    Creating Line Chart For WebForms Using C#.
    The Code Project
    This article desscribes on how to create a line chart for web forms using C#.
    Creating Run-time Menus
    C# Corner
    The following example demonstrates how to add menu item and remove menu items at runtime.
    Creating Semi-Transparent Watermarks for Images in VB.NET
    The Code Project
    Apply a translucent watermark to a jpeg image using VB.NET
    Creating Validation Images On-The-Fly with GDI+
    DotNetJunkies
    Developers can spend many hours with a graphics tool trying to design graphical buttons for a Web site. However, there is a technique that enables you to specify things like, font, size, color and create buttons/labels on-the-fly! In this article, Ben looks at an example where creating dynamic images can prove very useful and is in use by many sites already.
    Custom Bitmap Button Using C#
    The Code Project
    An article on creating a bitmap button
    Custom Button with Color and Shape
    The Code Project
    Another simple custom button control with color and shape.
    Developing A C# Vector Drawing Application - Part 2
    C#Today
    This is the second part of a series where we build a vector based drawing application. In Part 1, Budi Kurniawan outlined the specification for the application and discussed some techniques for working with forms with the .NET Framework Base Class Library. In this part, we will continue with our development, first by discussing the various shapes for our drawing application and then writing event handling for some of the controls.
    Developing A Vector Based C# Drawing Application - Part 3
    C#Today
    In the first part of this series, Budi Kurniawan discussed the specification for a vector based C# drawing application. In Part 2, we looked at the Shape abstract class and the seven classes that inherit it. We also examined how an event handler works in a Windows application and we briefly discussed the System.Collections namespace. In this final part of the project, we will complete the development by discussing the DrawingArea custom control, the Color and Pen classes from the System.Drawing namespace, and object serialization - which is used to persist our drawing to a file, to be restored at a later stage.
    Dialog Objects in .NET
    C# Help
    .NET environment has provided us with various classes to use the Dialog objects. This paper explains how to create and use the following dialog boxes in .NET environment:
    Display the Current Temperature in the System Tray
    The Code Project
    Use a web service to retrieve the temperature for a given zipcode and display it in the taskbar system tray
    Doodle - a Basic Paint Package in GDI+
    The Code Project
    In this article I hope to show you some of the really amazing stuff that GDI+ can do. I have been working on a paint program for 18 months now, and I am amazed at how much stuff I had to learn the hard way which is now just a piece of cake, because GDI+ does the work for you. The subject of this article is a simple paint program, which allows you to load and save images, as well as create new ones, and draw on them free hand, creating lines/filled shapes and gradient filled shapes, and also a soft brush ( a brush which is solid in the centre and has progressively more transparency towards it's edge. )
    Ad
    BootFX
    Reliable and powerful .NET application framework.
    iOS, Android and Windows Phone Development Training and Consultancy
    Hosted by RackSRV Communications
     
    Copyright © AMX Software Ltd 2008-2012. Portions copyright © Matthew Baxter-Reynolds 2001-2012. All rights reserved.
    Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734

    Hi! 10 years ago I founded .NET 247. I am working on a new and exciting replacement for the site. Please join me on Twitter to discuss.

    Thanks,
    Matthew Baxter-Reynolds (@mbrit)

    Follow mbrit on Twitter