What kind of Brush does Silverlight support?

Answer

Silverlight brush objects supports for painting with solid colors, linear gradients, radical gradients and images.

SolidColorBrush is used to paint a closed object such as rectangle

LinearGradientBrush - used to paint a linear gradient like glass, water and other smooth surfaces.

RadialGradientBrush – used to paint a radial gradient which is a blend together along an axis.

Explain the arguments for the addEventListener() method.

The first argument is an action event like mouseDown, mouseUp etc. The second argument is a call to a function. The following lines illustrates the use of addEventListener() method.

function myfunction(x) { alert(x) }
Obj.addEventListener(“mouseDown”, myFunction(‘hello’); 

All silverlight Questions

Ask your interview questions on silverlight

Write Your comment or Questions if you want the answers on silverlight from silverlight Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---