In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Source: The source of the image address, supports local images, also supports network images, image formats are limited to JPEG and PNG.
Stretch: The rendering state of the p_w_picpath control, four in all.
(1) When the value is None, the picture is not stretched to fill the specified size;
(2) When the value is Fill, it is not stretched proportionally and completely fills the specified size area;
(3) When the value is Uniform, stretch according to the proportion until one side meets the specified size area, and the rest is not filled, but filled according to the minimum size;
(4) When the value is UniformTOFill, stretch proportionally until the specified size area is completely filled. Anything beyond this area will be clipped and filled to the maximum size.
private void none_Click(object sender, RoutedEventArgs e) { Button bt = e.OriginalSource as Button; if (bt != null) { string content = bt.Content.ToString(); switch (content) { case"Fill": p_w_picpath2.Stretch = Stretch.Fill; break; case"None": p_w_picpath2.Stretch = Stretch.None; break; case"Uniform": p_w_picpath2.Stretch = Stretch.Uniform; break; case"UniformToFill": p_w_picpath2.Stretch = Stretch.UniformToFill; break; } } }
Visible, Image control can be easily on the picture for a variety of operations. For example, set picture transparency, flip picture, crop picture, zoom in/out picture, etc. The Image control is very easy to use and powerful, and it is also often used for interface layout in Windows Phone 7 application development.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 280
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.