(X) Hide this Upcoming webinar on Feb 23rd, 10 am PST (see your local time): Building Line-of-business Applications with Silverlight & WCF Data Services
More webinar info | Register | Other webinars
Tweet @silverlightshow and win a SilverlightShow Tweet-shirt. Learn how >>
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 9 results for Brushes.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Aug 16, 2010 (6 months ago)
    Take a look at this article written by Mahesh Sabnis and find out some useful information about the Brush and Brush Converter classes.

    The ‘System.Windows.Media’ namespace provides useful types like Brush, Brushes, SolidColorBrush, VisualBrush etc. that enable integration of rich media, including drawings, text, and audio/video content in Windows Presentation Foundation (WPF) applications. One of the most important classes provided in this namespace is the ‘BrushConverter’. This class converts the color name (string) to a Brush object. The ‘Brushes’ class contains all the colors as public properties. Using reflection these properties can be accessed as demoed in this article.



  • 1 comments  /  posted by  Silverlight Show  on  Mar 09, 2010 (11 months ago)
    Tags: Brushes , Demos
    Tim Greenfield has a demonstration of a fun and novel use of the VideoBrush in Silverlight.

    Silverlight provides a variety of brushes that can be used to paint just about any area in your app: from text to shapes to borders. The most common brushes are for painting color and images: SolidColorBrush,LinearGradientBrush, RadialGradiantBrush, and ImageBrush.However, today I paired the less common VideoBrush with an unusual visual element.

  • 0 comments  /  posted by  Silverlight Show  on  Mar 05, 2010 (11 months ago)
    Tags: Brushes , Colors , WPF , C#
    Ailon demonstrates a way to change the brightness of a Brush or Color in WPF and Silverlight.

    System.Windows.Media.Color structure represents colors as 4 channels: alpha (opacity) channel and 3 channels for each core color (red, green and blue). aRGB color space is good for representing colors but it’s quite problematic to control such properties as brightness with these 4 channels. We will convert our colors to and from a HSB color space which is good at exactly what we need – controlling such perceptual color characteristics as hue, saturation and brightness.

  • 0 comments  /  posted by  Silverlight Show  on  Oct 15, 2009 (more than a year ago)
    In this article Tyson Damman talks about the design side of Silverlight.

    Silverlight is a formidable option for delivering rich web content. There are some obvious flaws still, but for a program in its earlier stages, It has some pretty muscular legs. I would love to see some more exploration into making this a more powerful design tool with options for transparent video and blending modes, a much stronger typography engine, and options for guides and guide layers.

    The first part of this article can be found here.
  • Webcast: Brushes, Gradients, Fills and Strokes in Expression Blend 3

    0 comments  /  posted by  Silverlight Show  on  Oct 08, 2009 (more than a year ago)
    This Expression Blend 3 tutorial introduces you to brushes and how to change the appearance of the specific object.

    You will learn how to use different types of brushes, and the special emphasis is given to gradient tools. How to create and modify gradients, using the gradient eyedropper and other goodies!

  • 0 comments  /  posted by  Silverlight Show  on  Aug 24, 2009 (more than a year ago)
    Walt Ritscher shows how to easily create ImageBrush in Blend.

    Creating an ImageBrush in Blend has always been a multi-step process. Blend 3 makes a few improvements in the steps necessary for creating a ImageBrush.  You can still use the traditional way if you desire.

  • Working with Drawing Brushes

    0 comments  /  posted by  Silverlight Show  on  Jul 01, 2009 (more than a year ago)
    In this post Dante Gagne explains what is a Drawing Brush, how to use it, what it's good for and so on.

    First off, what is a DrawingBrush? It's one of the three kinds of TileBrushes that WPF recognizes (along with ImageBrush and VisualBrush). Simply put, it allows you to use a Drawing as a brush, to use on any arbitrary shape.

    So, what's a Drawing? A Drawing is simply a set of Visual Elements. You can use pretty much any visuals, rectangles, buttons, Images, etc... but once they become a Drawing, they are no longer interactive.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 22, 2009 (more than a year ago)
    Alex Golesh has posted two of his Silverlight 3 quick tips - the first one is about Caret Brush and the second is on DataBinding with validation.

    Silverlight 3 provides validation mechanism while using Two-Way data binding. Silverlight 3 also provides default a Validation Exception UI – callout with exception details, which could be customized. Many input-related controls such as TextBox, CheckBox, etc. have built-in support for validation. How to use? Simple, like everything with Silverlight: To enable validation, use the ValidatesOnExceptions property.

  • 0 comments  /  posted by  Silverlight Show  on  Apr 07, 2009 (more than a year ago)

    Walt Ritscher has written a tutorial in which is explained how to create and use a tile brush.

    Now that more developers and designers are adopting Expression Blend it seems like a good idea to learn how Blend handles Tile brushes.  For this example I am using an ImageBrush but the similar techniques apply to the DrawingBrush and VisualBrush.