xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/Expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWIDth="400">
<GrID x:name="LayoutRoot" Background="White">
<button name="btn" WIDth="300" Height="300" >
<Image name="img" WIDth="200" Height="200" Source="img/1.jpg" >
<Image.OpacityMask >
<linearGradIEntBrush StartPoint="0,1" EndPoint="1,0">
<GradIEntStop color="Blue" Offset="0" ></GradIEntStop>
<GradIEntStop color="transparent" Offset="1" ></GradIEntStop>
</linearGradIEntBrush>
</Image.OpacityMask>
</Image>
</button>
</GrID>
</UserControl>
总结
以上是内存溢出为你收集整理的silverlight渐隐效果全部内容,希望文章能够帮你解决silverlight渐隐效果所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)