Daisy. wp7.Controls custom control library

Source: Internet
Author: User

This library is my latest custom control library, which currently contains three controls: ImageWT (image with text), OpenFileDialog, and Expand. Currently, this library is not complete yet and new controls will be continuously added, and there may be bugs. Welcome to try this custom control library, if you have any questions can go to my website http://www.daisy123.com/have a question to have in the raise.
This is the three controls, the first is imagewt, the second is openfiledialog, and the third is expand. Before using these controls, add Daisy. wp7.Controls. dll to the project. You can see these controls in the toolbar and drag them to the Project interface for use.

 

  1. ImageWT: this control is mainly used to display a line of text below the image. You can add borders and change the background color.

<My: ImageWT HorizontalAlignment = "Left" Margin = "328," Name = "imageWT1" VerticalAlignment = "Top" Width = "" ImageUri = "testDaisyControls; component/daisy.jpg "Height =" 95 "Background =" {StaticResource PhoneAccentBrush} "BorderBrush =" Beige "BorderThickness =" 10 "CornerRadius =" 20 "/>

 

2. Expand.

<My: Expand HorizontalAlignment = "Left" Margin = "12,265, 429" Name = "expand1" verticalignment = "Top" Height = "456" Width = "">

<My: Expand. HeaderContent>

<StackPanel Orientation = "Horizontal">

<Image Source=”daisy.jpg "Width =" 60 "Height =" 50 "/>

<TextBlock Text = "Test Expand" FontSize = "30"/>

</StackPanel>

</My: Expand. HeaderContent>

<My: Expand. Content>

<StackPanel>

<Button Margin = "4" Padding = "4" Content = "Test? 1 ° ?" />

<Button Margin = "4" Padding = "4" Content = "Test? 2 t "/>

<Button Margin = "4" Padding = "4" Content = "Test? 3. y "/>

<Image Source=”daisy.jpg "Margin =" 4 "Width =" 200 "Height =" 150 "Stretch =" UniformToFill "/>

</StackPanel>

</My: Expand. Content>

</My: Expand>

 

 

3. OpenFileDialog: because there is no file operation interface on phone7, It is very troublesome, so I wrote a file to operate the file.

<My: OpenFileDialog HorizontalAlignment = "Left" Margin = "180,157, 0, 0 "Name =" openFileDialog1 "VerticalAlignment =" Top "FileFilter =" * "SelectedChanged =" openFileDialog1_SelectedChanged "SelectedCompleted =" openFileDialog1_SelectedCompleted "/>

 

 

 

Custom Library: http://www.daisy123.com /? Page_id = 427 Daisy. wp7.Controls

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.