Introduction
In Silverlight, Brushes are a very useful component; they allow selection of any color in a variety of ways and provide visual (user friendly) feedback to play with colors. Any element can be filled using brushes tools. Let's look at the screenshot of the "Brushes" section in Silverlight.
Let's discuss all it's items. Fill This item gets or sets the brush that specifies how to paint the interior of the shape. Stroke This item gets or sets the brush that specifies how to paint the shape outline (border). OpacityMask This item gets or sets an opacity mask as brush implementation that is applied to any alpha-channel masking for the rendered content of this element. Look at the screenshot below for more options:- 1. By selecting this option we hide every brush selection or simply say, select this option if you don't want the color box to be appear. 2. By selecting this we can apply solid color to any shape (no any special effect of color). 3. By selecting this we can apply gradient color to any shape. (It is a good topic to learn so it will be described in another article). 4. By selecting this we can apply tiled color/image to any shape. 5. By selecting this we can work with brush resources. Be tuned for the next article. HAVE A HAPPY CODING!!
Let's discuss all it's items.
Fill
This item gets or sets the brush that specifies how to paint the interior of the shape.
Stroke
This item gets or sets the brush that specifies how to paint the shape outline (border).
OpacityMask
This item gets or sets an opacity mask as brush implementation that is applied to any alpha-channel masking for the rendered content of this element.
Look at the screenshot below for more options:-
1. By selecting this option we hide every brush selection or simply say, select this option if you don't want the color box to be appear. 2. By selecting this we can apply solid color to any shape (no any special effect of color). 3. By selecting this we can apply gradient color to any shape. (It is a good topic to learn so it will be described in another article). 4. By selecting this we can apply tiled color/image to any shape. 5. By selecting this we can work with brush resources. Be tuned for the next article. HAVE A HAPPY CODING!!
1. By selecting this option we hide every brush selection or simply say, select this option if you don't want the color box to be appear.
2. By selecting this we can apply solid color to any shape (no any special effect of color).
3. By selecting this we can apply gradient color to any shape. (It is a good topic to learn so it will be described in another article).
4. By selecting this we can apply tiled color/image to any shape.
5. By selecting this we can work with brush resources.
Be tuned for the next article.
HAVE A HAPPY CODING!!
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: