Book Image

Learning Xamarin studio

By : William Smith
Book Image

Learning Xamarin studio

By: William Smith

Overview of this book

Table of Contents (16 chapters)
Learning Xamarin Studio
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a storyboard in Xamarin Studio


Let's create a storyboard using the Xamarin Studio designer:

  1. Create a new iOS Empty Project named StoryboardDemo.

  2. Add a new Empty iPhone Storyboard file to the solution named MainStoryboard.

  3. Open MainStoryboard in the designer.

  4. From the Toolbox pane, drag a View Controller object onto the design surface.

  5. Select the View Controller object in the design surface.

  6. In the Properties box, under the Identity heading, there are three fields. Enter MainStoryboard into each of them. Once you entered the value in the first field, you will notice that the IDE created the MainStoryboard.cs file in the Solution Explorer pad for you.

  7. From the Toolbox pane under the Controllers & Objects group, drag a text field object onto the design surface.

  8. In the Properties box, under the Identity heading, set the Name field to TextField.

  9. From Toolbox under the Controls group, drag a Button object onto the design surface.

  10. In the Properties box under the Identity heading, set the Name...