Hands-On Lab. Hello Windows Phone

Size: px
Start display at page:

Download "Hands-On Lab. Hello Windows Phone"

Transcription

1 Hands-On Lab Hello Windows Phone Lab version: Last updated: 12/8/2010

2 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING WINDOWS PHONE APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010 EXPRESS FOR WINDOWS PHONE... 6 Task 1 Creating a Windows Phone Application Project in Visual Studio... 6 Task 2 Building and Testing the Application in the Windows Phone Emulator Task 3 Designing the User Interface Task 4 Handling Events from the User Interface Task 5 Verification EXERCISE 2: USING EXPRESSION BLEND TO DESIGN THE UX OF YOUR WINDOWS PHONE APPLICATION Task 1 Creating a Custom Button in Expression Blend Task 2 Adding Visual States to the Custom Control Task 3 Creating an Animation for the Banner Text Task 4 Verification SUMMARY Page 2

3 Overview This lab intends to be the classic Hello World application, introducing you to the tools and procedures required to build and test Silverlight for Windows Phone applications. The Windows Phone Application Platform enables: Awesome applications and games. Use Silverlight and XNA frameworks to craft interactive, compelling, high-quality applications and games for the Windows Phone 7. Fast, high quality, and feature-rich applications. The combination of Visual Studio 2010 and Expression Blend with standardized Windows Phone 7 hardware specifications means more time is available for you to make your vision real on every device. Bigger opportunities. Better partnerships. Build exciting applications and games with your current skills and tools for Windows Phone 7, and reach customers no matter what device they use. Windows Phone Marketplace takes care of sales and distribution so you don t have to. Code and collect! During the course of the lab, you will see how to use Microsoft Visual Studio 2010 Express for Windows Phone and Expression Blend to build and design your Windows Phone applications. Visual Studio provides an environment oriented towards application developers whereas Expression Blend is more suited to user experience (UX) designers. The tools complement each other and enable extensive designer/developer collaboration. This lab demonstrates a typical development scenario, where you initially create application logic and lay out pages and controls for your Windows Phone application in Visual Studio, and then design the user experience using Expression Blend by applying styles and animations to pages and controls. In this lab, you learn about the structure of a Windows Phone application and find out how to use Extensible Application Markup Language (XAML) to create the user interface (UI) for your application. XAML is a declarative language; it's the primary format for declaring a Silverlight UI and the elements in that UI. Finally, you learn how to deploy and debug your Windows Phone application on the Windows Phone Emulator. Objectives The audience for this lab is developers who are less familiar with Microsoft tools, such as Visual Studio, and are relatively new to Silverlight. If you are comfortable with the Silverlight programming model and Page 3

4 already work with Visual Studio and the Microsoft Expression suite, you may consider skipping this lab. On the other hand, if you are completely new to Silverlight, we highly recommend that you enrich your Silverlight skills by first reviewing some Silverlight labs that can be found at In this hands-on lab, you will: Become familiar with the Windows Phone Developer Tools: Microsoft Visual Studio 2010 Express for Windows Phone and Windows Phone Emulator. These tools are all you need to create and test any managed Windows Phone application. Use Microsoft Expression Blend for Windows Phone to enhance the user experience of your application by applying styles and animations. Learn the structure underlying a Silverlight for Windows Phone application and the differences between Silverlight and Silverlight for Windows Phone. Write, test, deploy, and debug your Silverlight for Windows Phone application using Microsoft Visual Studio 2010 Express for Windows Phone and the Windows Phone Emulator. Prerequisites The following are required to complete this hands-on lab: Microsoft Visual Studio 2010 Express for Windows Phone or Microsoft Visual Studio 2010 Microsoft Expression Blend for Windows Phone or Microsoft Expression Blend 4 with Microsoft Expression Blend Add-In for Windows Phone Windows Phone Developer Tools Note: All of these Tools can be downloaded together in a single package from Exercises This hands-on lab includes the following exercises: 1. Creating Windows Phone Applications with Microsoft Visual Studio 2010 Express for Windows Phone 2. Using Expression Blend to Design the UX for your Windows Phone Application Page 4

5 Estimated time to complete this lab: 45 minutes. Page 5

6 Exercise 1: Creating Windows Phone Applications with Microsoft Visual Studio 2010 Express for Windows Phone In this exercise, you will create, test, deploy and run your first Hello World Silverlight for Windows Phone application. You will learn how to use the Windows Phone Developer Tools including the free Microsoft Visual Studio 2010 Express for Windows Phone IDE, and the Windows Phone Emulator. During the exercise, you will create a new Silverlight for Windows Phone project. You start with the very basic elements of any Windows Phone application, adding basic button and text handling to the default Windows Phone project template. Since this is a Silverlight for Windows Phone application, you need to follow the Silverlight programming model and define your user interface using XAML. Although it is possible to develop an XAML-based UI using any code, it is much easier to express yourself and take advantage of good and easy tooling when you work with XAML. To build user interfaces for the Windows Phone using XAML, you edit the XAML of the main page to add three elements: a text box, a button, and a text block. These Silverlight controls have been ported to work in the Silverlight for Windows Phone runtime environment. Once completed, the application allows you to enter a text message in the text box and then click the button to display the text you entered in the text block. Finally, once the code is ready, you build the application and deploy it to the Windows Phone Emulator to test it. To debug applications running in the emulator, you set up a breakpoint and use the debugger to step through the source code and examine the value of the program variables. Note: The steps in this hands-on lab illustrate procedures using Microsoft Visual Studio 2010 Express for Windows Phone, but they are equally applicable to Microsoft Visual Studio 2010 with the Windows Phone Developer Tools. Instructions that refer generically to Visual Studio apply to both products. Task 1 Creating a Windows Phone Application Project in Visual Studio In this task, you use a predefined template in Microsoft Visual Studio 2010 Express for Windows Phone to create a Silverlight for Windows Phone Application project that you can use as the starting point for your first application. Page 6

7 1. Open Microsoft Visual Studio 2010 Express for Windows Phone from Start All Programs Microsoft Visual Studio 2010 Express Microsoft Visual Studio 2010 Express for Windows Phone. Visual Studio 2010: Open Visual Studio 2010 from Start All Programs Microsoft Visual Studio In the File menu, choose New Project. Visual Studio 2010: In the File menu, point to New and then select Project. 3. In the New Project dialog, select the Silverlight for Windows Phone category in the list of installed templates, and there the Windows Phone Application template. Then set the name to HelloPhone and the location to Ex1-CreatingWP7AppsWithVisualStudio in the Source folder of the lab. Change the solution name to Begin, and then click OK. Figure 1 Creating a new Windows Phone application project in Microsoft Visual Studio 2010 Express for Windows Phone Page 7

8 4. In Solution Explorer, review the structure of the solution generated by the Windows Phone Application template. Any Visual Studio solution is a container for related projects; in this case, it contains a single Silverlight for Windows Phone project named HelloPhone. Figure 2 Solution Explorer showing the HelloPhone application Note: Solution Explorer allows you to view items and perform item management tasks in a solution or a project. To show Solution Explorer, press CTRL + W, S or in the View menu, select Other Windows Solution Explorer. The HelloPhone project contains the following items: Item App.xaml / App.xaml.cs MainPage.xaml / MainPage.xaml.cs ApplicationIcon.png Description Defines the entry point of the application, initializes application-scoped resources, and displays the application user interface Defines a page with the user interface of the application An image file with an icon that represents the application icon in the phone s application list Page 8

9 Background.png SplashScreenImage.jpg Properties\AppManifest.xml Properties\AssemblyInfo.cs Properties\WMAppManifest.xml References folder An image file with an icon that represents the application icon in the start screen This is the image that will first be displayed when the application launches. The splash screen gives the user immediate feedback that the application is launching and will remain displayed until the navigation to the first page has been completed. Your splash screen can look similar to your first page in order to give the appearance that the application is loading quickly. An application manifest file required to generate the application package Contains the name and version metadata that is embedded into the generated assembly A manifest file that includes specific metadata related to a Windows Phone Silverlight application, including specific features available only for Silverlight for Windows Phone A list of libraries (assemblies) that provide services and functionality that the application requires to work 5. First, right-click App.xaml in Solution Explorer and choose View Designer. Notice that the file contains XAML markup with an Application root element and inside it an Application.Resources section. Herein you can define application-level resources such as colors, brushes and style objects used throughout the application. The XAML code also initializes the ApplicationLifetimeObjects property of the Application to create a PhoneApplicationService object. The PhoneApplicationService class provides access to various aspects of the application s lifetime. This includes management of the application s idle behavior and management of the application s state when it becomes active or inactive. Page 9

10 Figure 3 Default App.xaml file generated by the Windows Phone application template Note: The App.xaml file, together with its code-behind file App.xaml.cs, defines an instance of the Application class. This class encapsulates a Silverlight for Windows Phone application and provides its entry point. 6. Now, right-click App.xaml in Solution Explorer and choose View Code to open its code-behind file. Notice that, in its constructor, this Application-derived class already subscribes a handler for the UnhandledException event. The RootFrame property in the Application class identifies the starting page of the application. All Windows Phone applications have a single top-level container element whose data type is PhoneApplicationFrame. The frame hosts one or more PhoneApplicationPage elements that present content for the application. It also handles navigation between pages. Page 10

11 Figure 4 Application code-behind file showing global event handlers Page 11

12 Note: The Application class, generated by the Silverlight for Windows Phone application template, also include handlers for the Launching and Closing events, among others. You can update these methods to execute custom code when the Windows Phone application launches and closes. 7. The generated project includes a default document that contains XAML markup that defines the main UI of the application. To view this file in the designer, double-click MainPage.xaml in Solution Explorer. By default, the designer shows the document in split view. One pane displays the XAML markup and the other one shows a design view with a WYSIWYG representation of the user interface elements. Except for those elements included by the template to display an application name and title, which you can remove if you do not require them, the XAML document provides a blank canvas to which you add controls to create your application s user interface. Figure 5 XAML designer showing the main user interface of the application Page 12

13 Note: Extensible Application Markup Language (XAML) is a declarative language. You can create visible UI elements in the declarative XAML markup. You can then use a separate codebehind file to respond to events and manipulate the objects you declared in XAML. An XAMLbased declarative language is very intuitive for creating interfaces from prototype to production, especially for people with a background in Web design and technologies. 8. The ApplicationIcon.png file contains the icon that identifies the application in the quick launch screen of the phone device. You can double-click the item in Solution Explorer to open the file in a registered image editing application on your machine, for example, Paint.exe. Note: In Visual Studio 2010, double-clicking the icon file in Solution Explorer opens the built-in image editor. 9. A Windows Phone application typically takes advantage of services provided by the underlying platform or by other libraries. To use this functionality, the application needs to reference the corresponding assemblies that implement these services. To display the assemblies referenced by the project, expand the References node in Solution Explorer and examine the list. It contains regular Silverlight assemblies as well as assemblies specific to the Windows Phone platform. Page 13

14 Figure 6 Solution Explorer showing the assemblies referenced by the project 10. The project s Properties window is the only way to edit the WP manifest file, as shown in the following figure. To open this window, right-click the HelloPhone project in the Solution Explorer and select Properties. Page 14

15 Figure 7 Project Properties window Note: The Windows Phone project properties window allows you to modify some phonespecific properties. These properties relate to the deployment and appearance of the application on the device. The parameters are stored in the WMAppManifest.xml file. Even if you try to change the XML file manually, your changes will be overwritten each time you change and save your project settings via this dialog. Task 2 Building and Testing the Application in the Windows Phone Emulator At the moment, the application does not do much, but it is ready for its first test run. In this task, you build the application, deploy it to the Windows Phone Emulator, and then execute it to understand the typical development cycle. 1. In the Debug menu, point to Windows and select Output to open the Output window. Page 15

16 2. Select Build Solution in the Debug menu or press the SHIFT + F6 key combination to compile the projects in the solution. Visual Studio 2010: Select Build Solution in the Build menu or press CTRL + SHIFT + B to compile the projects in the solution. 3. Observe the Output window and review any trace messages generated during the build process, including the final message with its outcome. Figure 8 Building the application in Visual Studio 4. You should not observe any errors at this stage but, if the project were to contain compilation errors, these would appear in the Output window. To deal with these kinds of errors, you can take advantage of the Error List window. This window displays errors, warnings, and messages produced by the compiler in a list that you can sort and filter based on the severity of the error. Moreover, you can double-click an item in the list to automatically open the relevant source code file and navigate to the source of the error. To open the Error List window, in the View menu, point to Other Windows and select Error List. Visual Studio 2010: To open the Error List window, in the View menu select Error List. Page 16

17 Figure 9 Error List window shows errors during the build process 5. Verify that the target of the deployment is the Windows Phone Emulator. To do this, ensure that Windows Phone 7 Emulator is selected in the Select Target drop down next to the Start Debugging button on the toolbar. Figure 10 Choosing the target device to deploy the application Note: When you deploy your application from Visual Studio, you have the option to deploy it to a real device or to the Windows Phone Emulator. 6. Press F5 to launch the application in the Windows Phone Emulator. Notice that a device emulator window appears and there is a pause while Visual Studio sets up the emulator environment and deploys the application image. Page 17

18 Figure 11 Deploying an application image to the Windows Phone Emulator 7. Once it is ready, the emulator shows the Start page and shortly thereafter, your application appears in the emulator window. Page 18

19 Figure 12 Running the application in the Windows Phone Emulator Page 19

20 8. Until you create the user interface and program the application logic, there is very little that you can do with the application at this stage. Press SHIFT + F5 or click the Stop button in the toolbar to detach the debugger and end the debugging session. Do not close the emulator window. Figure 13 Ending the debugging session Tip: When you start a debugging session, it takes a perceptible amount of time to set up the emulator environment and launch the application. To streamline your debugging experience, avoid closing the emulator while you work with the source code in Visual Studio. Once the emulator is running, it takes very little time to stop the current session, edit the source code, and then build and deploy a new image of your application to start a new debugging session. Task 3 Designing the User Interface In this task, you create the UI elements for the HelloPhone application. The application is very simple. When completed, the application UI will contain a caption, a textbox, and a button. To use the application, you enter some text into the textbox and then, when you click the button, the application displays a banner with the text that you typed. It will look something like the following figure. Page 20

21 Figure 14 The application s user interface 1. In Solution Explorer, double-click MainPage.xaml to open this file in the designer. Note: The designer provides two separate views to edit XAML files, Design and XAML view. In Design mode, you have an interactive canvas where you drag and drop controls from the toolbox, as well as select, resize, move, and set properties for existing controls on the designer surface. In XAML mode, you have a markup editor that lets you edit the XAML in the page. Tabs on the designer window let you select either mode. You also have a split mode, with the editor window showing both views simultaneously. In split mode, you can use the Expand Pane / Collapse Pane button to maximize the viewing area of the current mode. Page 21

22 2. While the IDE allows you to manipulate objects graphically, in this task, you will focus on manually editing the XAML. Once completed, you will return to the Design view to review your work. To set the editor mode to XAML view and maximize the viewing area, double-click the XAML tab on the right edge of the designer window. If you have trouble identifying the correct tab, position the mouse cursor over each tab to display a tooltip that identifies it. Note: If you configured the designer to show a horizontal split view, the tabs are located on the bottom edge of the window. Figure 15 XAML designer showing the XAML views 3. In the XAML markup generated by the default Windows Phone application template, locate the Grid container element named LayoutRoot. Its purpose is to arrange the elements on the page. Inside its RowDefinition property, insert an additional row between the two existing rows and set the value of its Height property to Auto. This row will soon include a textbox and a button. XAML... <Grid x:name="layoutroot" Background="Transparent"> <Grid.RowDefinitions> Page 22

23 <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions>... </Grid> </phone:phoneapplicationpage> Note: A Grid is a layout element that acts as a container for other controls. Its main purpose is to position and arrange its child controls. Several layout controls exist to provide alternative layout behaviors: Canvas: Defines an area within which you can explicitly position child elements by coordinates relative to the Canvas area. Grid: Defines a flexible grid area consisting of columns and rows. StackPanel: Arranges child elements into a single line that can be oriented horizontally or vertically. For more information, see Silverlight Layout System. 4. Notice that the root Grid element contains other nested elements with each one assigned to a different row of the outer grid by defining a Grid.Row property. Locate the Grid element named TitlePanel. Set the Text property of the first TextBlock element inside the inner Grid to the string Windows Phone 7. Similarly, set the Text property of the second TextBlock element to the string Hello Phone. Page 23

24 Figure 16 Setting a caption for the application Note: To assign child elements to a given row in the container grid, each one of the child elements must specify a value for the Grid.Row property, which is considered to be an attached property. Attached properties allow different child elements to specify unique values for a property defined in a parent element; in this case, the Row property belongs to the Grid element. 5. Now, locate the Grid element named ContentPanel, which should currently be empty, and paste the following (blue-highlighted) XAML markup inside this element. XAML... <Grid x:name="layoutroot" Background="Transparent">... <!--ContentPanel - place additional content here--> <Grid x:name="contentpanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.ColumnDefinitions> Page 24

25 <ColumnDefinition Width="*" /> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <TextBox Grid.Column="0" Name="MessageTextBox" FontSize="{StaticResource PhoneFontSizeExtraLarge}" Margin="20,20,10,20"/> <Button Grid.Column="1" Name="ClickMeButton" Content="Click Me" HorizontalAlignment="Right" Padding="4" Margin="10,20,20,20" /> </Grid> </Grid>... Note: A Grid arranges its child controls on the page based on the width of each column as defined in its ColumnDefinitions collection. Note that the width of the first column is specified as *, which ensures that it stretches to fill the unused space in the row after all other columns have been allocated, and that the width of the second column is set to Auto in order to size the column to its content. 6. To complete the design of the page, add a third row to contain the banner with the message entered by the user. To create this row, insert the following (blue-highlighted) XAML markup immediately before the end tag of the outer grid. XAML... <Grid x:name="layoutroot" Background="Transparent">... <Grid Grid.Row="2"> <TextBlock Name="BannerTextBlock" Style="{StaticResource PhoneTextExtraLargeStyle}" Foreground="#FFFF9A00" HorizontalAlignment="Stretch" TextWrapping="Wrap" TextAlignment="Center" FontWeight="Bold" /> </Grid> </Grid> Click the Design tab located on the right edge of the window to switch to design mode. Examine the layout of the controls on the page, which should match the figure below. Page 25

26 Note: If you configured the designer to show a horizontal split view, the tabs are located on the bottom edge of the window. Figure 17 Viewing the page in Design mode Task 4 Handling Events from the User Interface In this task, you define the event handlers that respond to actions from the user interface, namely the button click event. You define event handlers using code in the code-behind file of the page. 1. Ensure that the mode of the designer is set to Design. To do this, double-click the Design tab on the right edge of the designer window. If you have trouble identifying the correct tab, position the mouse cursor over each tab to display a tooltip that identifies it. 2. Click the button labeled Click Me on the designer surface to select it and then press F4 to open its Properties window. Page 26

27 3. In the Properties panel, click the Events tab to display a window with a list of available events. Locate the Click event in this list and then type ClickMeButton_Click in the text box located next to this event. Press ENTER to generate an event handler with this name and open the codebehind file to display the method stub generated by Visual Studio. Figure 18 Creating an event handler for the button Figure 19 XAML view showing the new handler bound to the Click event Page 27

28 Note: There is an alternative mechanism to create the event handler. In Visual Studio, you can double-click a control in the designer to create a handler for its default event, which happens to be the Click event for button controls. 4. The method implementation (which is an empty method right now) is in the MainPage.xaml.cs file. Insert the following code inside the body of the ClickMeButton_Click method. C# private void ClickMeButton_Click(object sender, RoutedEventArgs e) { BannerTextBlock.Text = MessageTextBox.Text; MessageTextBox.Text = String.Empty; } Note: The code reads the text entered by the user from the text box and then sets the banner with this text. Task 5 Verification In this task, you build, deploy, and run the application in the Windows Phone Emulator to test that it works as expected. In addition, you set a breakpoint, use the debugger to step through the source code, and examine the value of variables for a brief glimpse at how you can use Visual Studio to debug applications running in the emulator. 1. If necessary, re-open the code-behind file for MainPage.xaml. To do this, right-click this file in Solution Explorer and then select View Code. 2. Now, define a breakpoint to stop execution at the event handler for the Click Me button. To set the breakpoint, locate the first line of the ClickMeButton_Click method in the source file and then click the area in the gray margin located on the left side of the editor window, next to this line. A red circle ( ) indicates the position of the inserted breakpoint. Alternatively, click the line in the editor window to select it and then press F9. Page 28

29 Figure 20 Setting breakpoints in Visual Studio Note: To toggle a breakpoint on or off, click the contains the breakpoint and press F9. in the margin area or click the line that 3. Press F5 to build and deploy the application to the Windows Phone Emulator and start the debugging session. Wait for the application to launch and display its main page. Note: If you kept the emulator running after you used it earlier in the lab, launching the application should only take a couple of seconds; if you closed the emulator, it might take longer. 4. In the emulator window, click on the text box to give it focus. This will cause the Software Input Panel (SIP) to open automatically. You can type a message using the panel or press the PAUSE/BREAK key to use your desktop keyboard instead. After entering some text into the text box, click the button next to it. Page 29

30 Figure 21 Typing on the emulator Note: The need to press the PAUSE/BREAK key is a known issue and will be fixed in future releases. 5. Back in Visual Studio, notice that execution stops at the breakpoint that you set previously and that the next statement to execute appears highlighted in yellow. Page 30

31 Figure 22 Stepping through code in the debugger 6. Examine the current contents of the text box in the debugger. To do this, in the source window, place the mouse cursor over the MessageTextBox.Text property. A tooltip window commonly known as a datatip pops up to display the current value of the property, which should match the text you entered in the emulator window. Make sure that the cursor is over the Text part; otherwise, the datatip displays information about the MessageTextBox object instead. Figure 23 Examining the value of variables in the debugger Note: You can examine the state of any object currently in scope by placing the mouse pointer over the corresponding variable. Page 31

32 7. Press F10 to single-step over the current statement and set the text of the banner to the contents of the text box. Display the datatip for the BannerTextBlock.Text property to confirm that its value now matches that of the text box. Note: When you use F10, you instruct the debugger to step over the current statement. You can also use F11 to step into the current statement. In that case, if that statement involves a method call, the debugger steps into the target method to allow you debug it. 8. Press F10 once again to execute the next statement and clear the contents of the text box. Once again, display the datatip for the MessageTextBox.Text property, which is still in scope, and confirm that it is now empty. 9. Finally, press F5 to resume execution of the application. Switch back to the Windows Phone Emulator. If necessary, dismiss the lock screen in the emulator window. Tip: Depending on configuration settings, the Windows Phone Emulator could show a lock screen whenever the application remains idle for a short period. To restore the application, use a flick gesture where you click the emulator window surface followed by a quick upward movement with the mouse button still down to slide the lock screen up. Observe that the banner in the emulator window now shows the text that you entered. Page 32

33 Figure 24 HelloPhone application running in the Windows Phone Emulator 10. Click the Back button in the emulator to navigate to the previous page. Notice that when you do this, the debugging session ends and the emulator displays its start menu because you are navigating away from the first (and only) page of the application and there are no previous applications currently active. Tip: To resume debugging after the current session ends, press F5 to launch the application again and re-attach the debugger. Note, however, that this action starts the application again and the previous state will no longer be available. Closing the emulator stops the application and detaches the debugger. When you do this, the Visual Studio debugger detaches and display a message indicating that it has lost connection to the device Page 33

34 Figure 25 A debugging session ends when you navigate away from the application Exercise 2: Using Expression Blend to Design the UX of your Windows Phone Application In the same way that you use Expression Blend to design Rich Internet Applications for the desktop browser, you can also design creative and unique Silverlight-based applications on a Windows Phone. Expression Blend for Windows Phone allows you to create XAML-based interfaces for Windows Phone applications, whose behaviors can then be implemented by developers in Visual Studio. Microsoft Expression Blend for Window Phone is included as part of the installation of Windows Phone Developer Tools. Alternatively, you can download Microsoft Expression Blend 4 and install the Add-in for Windows Phone. Task 1 Creating a Custom Button in Expression Blend In general, Silverlight controls separate their logic from their visual appearance using templates. A ControlTemplate specifies the visual structure and visual behavior of a control. You can customize the appearance of most controls by modifying their default ControlTemplate settings. This allows you to change the appearance of the control without changing its functionality. For example, you can make the buttons in your application round rather than the default square shape, but the button will still raise the Click event. Page 34

35 In this task, you open the Visual Studio project that you created in the previous exercise in Expression Blend and replace the ControlTemplate of the button to alter its look and feel. Because you create a ControlTemplate in XAML, you can change a control's appearance without writing any code. Figure 26 Changing the look and feel of controls 1. If not already open, launch Microsoft Visual Studio 2010 Express for Windows Phone from Start All Programs Microsoft Visual Studio 2010 Express for Windows Phone. Visual Studio 2010: Open Visual Studio 2010 from Start All Programs Microsoft Visual Studio If you completed the steps in the previous exercise, you may continue with the solution that you created for that exercise; otherwise, open Begin.sln from HelloPhone\Ex2- WP7AppUXDesignWithBlend\Begin in the Source folder of the lab. 3. Now, open the current solution in Expression Blend. To do this from Visual Studio, right-click MainPage.xaml in Solution Explorer, and then select Open in Expression Blend. If a warning from a security risk is displayed, click Yes to dismiss it. Page 35

36 Figure 27 Opening the solution with Expression Blend 4. In Expression Blend, make certain that the MainPage.xaml is open in the designer window if necessary, double-click the file in the Projects panel to open it and that the current workspace is set to Design. To view the current workspace, select Workspaces in the Window menu and ensure that the Design option is checked. Figure 28 Selecting the current workspace in Expression Blend Note: The workspace in Expression Blend consists of all the visual interface elements. These include the artboard, panels, tools panel, workspace configurations, authoring views, and menus. Page 36

37 5. In the designer window, right-click the Click Me button, point to Edit Template and select Create Empty. 6. In the Create ControlTemplate Resource dialog, set the Name to FancyButton, keep the current value of "This document" in the Define in option, and click OK. Figure 29 Creating an empty control template for the button Note: Resources provide a simple way to reuse commonly defined objects and values. You can create definitions for common items including control templates, styles, brushes, colors, and animations and store them in resource dictionaries. A resource dictionary is a keyed dictionary of objects that you can use both in XAML and in code. You can create resource dictionaries at different scopes in your application structure, allowing you to define resources at the page level or as application resources. The dialog shown above gives you the option to define the control template at the global Application scope, in which case it is stored in App.xaml and you can reuse the template in other pages of the application, or store it in This document so that you can use it only within the same page. 7. If the Objects and Timeline panel is not visible, select Window and then Objects and Timeline to show this panel. If necessary, you can reset the workspace to its default state by selecting Window Reset Current Workspace. Page 37

38 Note: When you create a new template, Expression Blend enters a mode in which you can view and edit the new template. In the Objects and Timeline panel, the word Template at the root of the new element tree indicates the current scope in which you are editing. 8. Change the current root layout container of the template. In the Objects and Timeline panel, right-click the child Grid element inside Template, point to Change Layout Type, and select Border. Figure 30 Changing the root layout container of the template Note: When you create a ControlTemplate, you combine FrameworkElement objects to build a single control. A ControlTemplate must have only one FrameworkElement as its root Page 38

39 element. The root element usually contains other FrameworkElement objects. The combination of objects is makes up the control's visual structure. 9. With the Border element still selected in the Objects and Timeline panel, switch to the Properties panel and under Appearance, set the value of the BorderThickness property to 2 for each of the sides and then set the value of the CornerRadius property to 15. Figure 31 Configuring the appearance of the border element 10. Now, in the Brushes section, select the Background property and pick the Gradient brush option. Then, click the left gradient stop to select it and set its value to a light gray color, for example #FFADADAD. Next, select the right gradient stop and set its value to a dark gray color, for example #FF0A0A0A. Page 39

40 Figure 32 Configuring a gradient brush for the button background 11. After that, in the Brushes section, select the BorderBrush property, choose a Solid color brush and choose a light gray color, for example #FFC0C0C0. Page 40

41 Figure 33 Configuring a solid brush for the button border 12. Once you have created a background for your button, the next step is adding a caption. First, ensure that the Border element remains selected in the Objects and Timeline panel. 13. Next, switch to the Assets panel, select the Controls category, and scroll down the list displayed to the right of the category to locate the TextBlock control. Then, double-click the item in the list to insert an instance of this control nested inside the Border element of the template. Page 41

42 Figure 34 Inserting a TextBlock control from the toolbox Figure 35 Objects and Timeline panel showing the new TextBlock nested inside the Border element 14. Now, in the Tools panel, pick the Selection tool or press V to restore selection mode. Page 42

43 Note: After inserting the TextBlock, the designer remains in insertion mode and you can continue adding other TextBlock elements until you exit this mode. 15. In the Objects and Timeline panel, select the newly added TextBlock element. Then, in the Properties panel, expand the Brushes category and set the Foreground brush to a light color, for example #FFFFFFFF. Figure 36 Setting the foreground color of the button 16. Next, expand the Layout category and set the value of the HorizontalAlignment and VerticalAlignment properties to Center. Then, set the value of the Margin property to 10 for the left and right sides, and to 4 for the top and bottom sides. Page 43

44 Figure 37 Configuring the margin and alignment properties of the caption 17. Link the Text property of the TextBox control in the template to the Content property of the button templated control. To do this: Expand the Common Properties category Click Advanced property options indicated by a square icon next to the value of the property Select Template Binding to display a list of properties in the templated control that can be bound to this property Choose the Content property from this list Notice that the value of the Text property changes to Click Me the value currently set for the Content property of the button and that the property is now shown with a yellow outline to indicate that it is template-bound. Page 44

45 Figure 38 Binding the Text property of the template Note: Template binding links the value of a property in a control template to be the value of some other exposed property on the templated control allowing you to design a customized control, but still enable some changes when you include the control in your application. 18. Press CTRL + S to save the updated file. You are now ready to test the new custom button. Expression Blend for Windows Phone allows you to run your Windows Phone applications either on an actual phone device, or on an emulator. Notice that If you open the Device panel (from Window menu), you can choose where to preview your application. By default Expression Blend will use the Windows Phone Emulator to deploy and run the applications. Page 45

46 Figure 39 Binding the Text property of the template 19. Now press F5 to build and run the application. Enter some text and then click the button. Figure 40 Launching the application from Expression Blend Page 46

47 Notice that even though the click triggers the expected behavior, there is no visual cue to indicate when the button has focus or when it is pressed. In the following task, you will update the template to change the appearance of the button based on its state. Task 2 Adding Visual States to the Custom Control In this task, you will update the control template to add different visual states that allow the button to show an outline when it is focused, and to shift its position on the page to indicate when it is pressed. 1. In the Objects and Timeline panel, select the Border control. 2. Now, switch to the States panel and examine the visual states available for the button control. Figure 41 States panel showing the Base state selected Note: The States panel shows all the available visual states of the control. The Base state defines elements that are common to every state. In this state, you customize the template to define the basic appearance of the control. Then, for each of the other states, you change the template in such a way that it provides a visual cue of the corresponding state, for example, in the Focused state, by displaying a border around the control. Page 47

48 3. Under the FocusStates category, select the Unfocused state to turn on recording for the state triggered when the button does not have the focus. Any changes to the template while in this mode apply only to that particular state. Figure 42 State recording in Expression Blend Note: Several changes occur when you select a state other than normal. First, a red circle next to the selected state s label indicates that it is currently active. Next, a red outline appears around the design area. Finally, a caption in the upper left corner of the design area indicates that state recording is on. In this mode, any changes to the elements of the template are recorded and stored in the XAML document. At runtime, these changes are applied to the base template when that state becomes active. 4. To hide the border around the button when it loses focus: Select Border in the Objects and Timeline panel In the Properties panel, expand the Brushes category and select the BorderBrush property Click the Show advanced properties icon and set the Opacity property of the brush to 0. Page 48

49 Figure 43 Making the border transparent for the Unfocused state 5. Go back to the States panel and select the Pressed state in the CommonStates category to turn on recording for the state triggered when the mouse is clicked. 6. In the Properties panel, expand the Transform category and select the Translate transform. Set the X and Y values to 2. This change produces a slight shift in the position of the button whenever it is clicked, to suggest that it is pressed down. Page 49

50 Figure 44 Shifting the position of the button during the Pressed state 7. Finally, in the States panel, select the Base template to turn off recording mode. 8. Press CTRL + S to save the updated file. 9. Now that you have completed adding visual states to the custom control, you are ready to test the updated button: Press F5 to build and run the application Enter some text and then press the Tab key to change the input focus to the button Notice that, when the button has focus, a border appears around the button indicating that it is active Now, press the space bar or click the button and notice how its position shifts to indicate that it depressed Page 50

51 Task 3 Creating an Animation for the Banner Text Animations are based on key frames that define the start and end points of a smooth visual transition. To create an animation in Expression Blend, you create a storyboard, and in the storyboard, you set key frames on a timeline to mark property changes. For example, you could set a key frame at the 0-second mark to record the position of a rectangle on the left side of the artboard, and then set a key frame at the 1-second mark to record the position of the same rectangle on the right side of the artboard. The resulting animation would be based on the transformation that occurs on the X and Y properties of the rectangle over one second. When you run an animation storyboard, Expression Blend interpolates the property changes over the designated time period and displays the results in your application. You can animate any property that belongs to an object on the artboard in this manner, even non-visual properties. In this task, you will create a storyboard in Expression Blend to animate the text in the banner whenever the button is pressed. 1. Switch the active workspace to the animation workspace. In the Window menu, point to Workspaces and select Animation. Notice that this rearranges the windows in order to maximize the space available to edit the timeline. Note: To restore a workspace to its default state, select Window Reset Current Workspace. 2. If necessary, exit the editing scope of the button control template. To do this, click the Scope Up button next to the FancyButton (Button Template) element in the Objects and Timeline panel to display the element tree of the page. Note: When you edit a control template, the Objects and Timeline panel only shows the element tree for that template. To edit other elements on the page, you need to exit the current scope. 3. Now, in the Objects and Timeline panel, click New to create a storyboard. This is the button labeled with a + sign and located in the upper right corner of the panel. Page 51

52 Figure 45 Objects and timeline pane in Animation mode 4. In the Create Storyboard Resource dialog, set the Name to AnimateBanner and click OK. Figure 46 Creating a new storyboard to animate the banner text 5. To create the key frames in the animation, first, click the BannerTextBlock element in the element tree of the Objects and Timeline panel to select it. If necessary, expand its grid parent element to display it. 6. Then, click and drag the current position of the timeline playhead to an offset of 1 second. Page 52

53 Figure 47 Changing the time offset of the timeline playhead Note: The playhead is the yellow marker located at the top of the timeline. Any changes to the elements in the page are recorded as key frames at the location of the timeline playhead. 7. Next, switch to the Properties panel, expand the Transform category, and select the Scale transform. Set the value of the X property to -1. This transform mirrors the element along its horizontal axis. Page 53

54 Figure 48 Applying a scale transformation to mirror the text 8. Switch back to the timeline panel. Notice that it contains a new key frame indicated by a gray circle at the chosen time offset that is the result of changing elements in the tree while timeline recording is active. Page 54

55 Figure 49 Creating a new key frame in the animation storyboard 9. Now, change the timeline playhead to an offset of 2 seconds. 10. Once again, switch to the Properties panel, expand the Transform category, and select the Scale transform. Change the value of the X property back to 1 to restore the element to its original state. Notice that a second key frame appeared in the storyboard timeline because of this change. Figure 50 Objects and Timeline panel showing the inserted key frames Page 55

56 11. To test animation in the designer, you need to add some text to the banner. First, click the red circle to the left of the AnimateBanner storyboard name in the upper left corner of the panel to turn off recording temporarily you do not want the added text to become part of the animation. Figure 51 Turning off recording mode Note: When you turn off recording, any changes to elements in the page are not included in the animation. 12. Now, right-click the BannerTextBlock element on the designer surface and select Edit Text. Enter a suitable text for the banner and press ENTER. 13. To test the animation, press the Play button above the timeline. Notice how the text in the banner rotates horizontally about its middle axis and how the movement is uniform throughout the animation cycle. In the following steps, you will apply an easing function to change the interpolation between key frames and produce a more natural animation. Page 56

57 Figure 52 Playing the animation in the designer 14. Select the first key frame by clicking inside the gray circle icon in the timeline. Notice that when you select a frame, the designer view updates to show the state of the UI elements as they appear in that frame, in this case, the banner text appears mirrored. Now, in the Properties panel, under the Easing category, ensure that EasingFunction is selected, expand the drop down list to display a list of available functions, and then choose the Cubic Out function. This particular easing function causes the transition to reduce its rate as it approaches the key frame. Page 57

58 Figure 53 Applying an easing function to interpolate between key frames Note: Key frame interpolation describes how property changes are animated in the span of time between two key frames. You can modify key frame interpolation values by applying an easing function to the transition to obtain a more realistic animation. 15. Repeat the procedure in the previous step to configure the easing function for the second key frame. This time choose the Cubic InOut function to make the transition start at a slow rate, gradually accelerate, and finally reduce its speed as it approaches the ending frame. Page 58

59 Figure 54 Choosing the CubicInOut easing function 16. To test the effect of the easing functions on the animation, press Play above the timeline. Notice how the banner starts its rotation at a high rate, then slows down as the text appears mirrored, it then picks up speed again and finally slows down once again to return to its original position. 17. So far, you have created an animation storyboard for the banner text, but it simply exists as an unused resource in the project. To play the animation, you need to trigger the storyboard in response to an event, in this case, whenever the Click Me button is pressed. To open the Click event handler for this button: Switch the active workspace back to the design workspace. In the Window menu, point to Workspaces and select Design. In the Projects Window, click the arrow ( ) next to MainPage.xaml, to display its codebehind file. Double-click MainPage.xaml.cs to open the code-behind view. 18. To update the event handler to play the animation, insert the following code snippet into the highlighted space immediately before the ending brace. C# Page 59

WebFront for Service Manager

WebFront for Service Manager WebFront for Service Manager Authoring Guide Gridpro AB Rev: 2.10.6513 (System Center 2012) & 3.0.6513 (System Center 2016) Published: November 2017 Contents Purpose... 3 Introduction... 3 Limitations...

More information

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations

Part I. Integrated Development Environment. Chapter 2: The Solution Explorer, Toolbox, and Properties. Chapter 3: Options and Customizations Part I Integrated Development Environment Chapter 1: A Quick Tour Chapter 2: The Solution Explorer, Toolbox, and Properties Chapter 3: Options and Customizations Chapter 4: Workspace Control Chapter 5:

More information

Authoring Guide Gridpro AB Rev: Published: March 2014

Authoring Guide Gridpro AB Rev: Published: March 2014 Authoring Guide Gridpro AB Rev: 2.5.5197 Published: March 2014 Contents Purpose... 3 Introduction... 3 Limitations... 3 Prerequisites... 3 Customizing Forms... 4 Launching the Customization Editor... 4

More information

ArtOfTest Inc. Automation Design Canvas 2.0 Beta Quick-Start Guide

ArtOfTest Inc. Automation Design Canvas 2.0 Beta Quick-Start Guide Automation Design Canvas 2.0 Beta Quick-Start Guide Contents Creating and Running Your First Test... 3 Adding Quick Verification Steps... 10 Creating Advanced Test Verifications... 13 Creating a Data Driven

More information

OpenForms360 Validation User Guide Notable Solutions Inc.

OpenForms360 Validation User Guide Notable Solutions Inc. OpenForms360 Validation User Guide 2011 Notable Solutions Inc. 1 T A B L E O F C O N T EN T S Introduction...5 What is OpenForms360 Validation?... 5 Using OpenForms360 Validation... 5 Features at a glance...

More information

GraphWorX64 Productivity Tips

GraphWorX64 Productivity Tips Description: Overview of the most important productivity tools in GraphWorX64 General Requirement: Basic knowledge of GraphWorX64. Introduction GraphWorX64 has a very powerful development environment in

More information

A QUICK TOUR OF ADOBE ILLUSTRATOR CC (2018 RELEASE)

A QUICK TOUR OF ADOBE ILLUSTRATOR CC (2018 RELEASE) A QUICK TOUR OF ADOBE ILLUSTRATOR CC (2018 RELEASE) Lesson overview In this interactive demonstration of Adobe Illustrator CC (2018 release), you ll get an overview of the main features of the application.

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2

CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 Key Features of Silverlight Page 1 Overview In this lab, you will get familiarized with the key features of Silverlight, such as layout containers,

More information

Authoring Guide v2.1 PATRIK SUNDQVIST

Authoring Guide v2.1 PATRIK SUNDQVIST 2012 Authoring Guide v2.1 PATRIK SUNDQVIST Purpose The purpose of this document is to provide assistance when customizing WebFront for Service Manager 2012. 1 TABLE OF CONTENTS 2 Introduction... 2 3 Limitations...

More information

Section 2. Slides. By the end of this Section you should be able to:

Section 2. Slides. By the end of this Section you should be able to: Section 2 Slides By the end of this Section you should be able to: Understand and Use Different Views Understand Slide Show Basics Save, Close and Open Presentations Exit PowerPoint 26 CIA Training Ltd

More information

Keynote 08 Basics Website:

Keynote 08 Basics Website: Website: http://etc.usf.edu/te/ Keynote is Apple's presentation application. Keynote is installed as part of the iwork suite, which also includes the word processing program Pages and the spreadsheet program

More information

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Contents Create your First Test... 3 Standalone Web Test... 3 Standalone WPF Test... 6 Standalone Silverlight Test... 8 Visual Studio Plug-In

More information

BASICS OF MOTIONSTUDIO

BASICS OF MOTIONSTUDIO EXPERIMENT NO: 1 BASICS OF MOTIONSTUDIO User Interface MotionStudio combines draw, paint and animation in one easy easy-to-use program gram to save time and make work easy. Main Window Main Window is the

More information

ORGANIZING YOUR ARTWORK WITH LAYERS

ORGANIZING YOUR ARTWORK WITH LAYERS 9 ORGANIZING YOUR ARTWORK WITH LAYERS Lesson overview In this lesson, you ll learn how to do the following: Work with the Layers panel. Create, rearrange, and lock layers and sublayers. Move objects between

More information

A Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER?

A Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER? 1 A Quick Tour WHAT S IN THIS CHAPTER? Installing and getting started with Visual Studio 2012 Creating and running your fi rst application Debugging and deploying an application Ever since software has

More information

CHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface

CHAPTER 1 COPYRIGHTED MATERIAL. Finding Your Way in the Inventor Interface CHAPTER 1 Finding Your Way in the Inventor Interface COPYRIGHTED MATERIAL Understanding Inventor s interface behavior Opening existing files Creating new files Modifying the look and feel of Inventor Managing

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration Page 1 Overview In this lab, users will get themselves familarise with fact that Expression Blend uses the identical

More information

PowerPoint 2016 Building a Presentation

PowerPoint 2016 Building a Presentation PowerPoint 2016 Building a Presentation What is PowerPoint? PowerPoint is presentation software that helps users quickly and efficiently create dynamic, professional-looking presentations through the use

More information

Chapter 6 Formatting Graphic Objects

Chapter 6 Formatting Graphic Objects Impress Guide Chapter 6 OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute it and/or modify it under the terms of either

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

[MS10553]: Fundamentals of XAML and Microsoft Expression Blend

[MS10553]: Fundamentals of XAML and Microsoft Expression Blend [MS10553]: Fundamentals of XAML and Microsoft Expression Blend Length : 3 Days Audience(s) : Developers Level : 200 Technology : Microsoft Expression Blend Delivery Method : Instructor-led (classroom)

More information

DOT.NET MODULE 6: SILVERLIGHT

DOT.NET MODULE 6: SILVERLIGHT UNIT 1 Introducing Silverlight DOT.NET MODULE 6: SILVERLIGHT 1. Silverlight and Visual Studio 2. Understanding Silverlight Websites 3. Creating a Stand-Alone Silverlight Project 4. Creating a Simple Silverlight

More information

4 TRANSFORMING OBJECTS

4 TRANSFORMING OBJECTS 4 TRANSFORMING OBJECTS Lesson overview In this lesson, you ll learn how to do the following: Add, edit, rename, and reorder artboards in an existing document. Navigate artboards. Select individual objects,

More information

Developing Native Windows Phone 7 Applications for SharePoint

Developing Native Windows Phone 7 Applications for SharePoint Developing Native Windows Phone 7 Applications for SharePoint Steve Pietrek Cardinal Solutions About Cardinal OUR FOCUS: Enterprise Rich Internet Applications Mobile Solutions Portals & Collaboration Business

More information

Welcome to MicroStation

Welcome to MicroStation Welcome to MicroStation Module Overview This module will help a new user become familiar with the tools and features found in the MicroStation design environment. Module Prerequisites Fundamental knowledge

More information

Excel 2007 New Features Table of Contents

Excel 2007 New Features Table of Contents Table of Contents Excel 2007 New Interface... 1 Quick Access Toolbar... 1 Minimizing the Ribbon... 1 The Office Button... 2 Format as Table Filters and Sorting... 2 Table Tools... 4 Filtering Data... 4

More information

CHANNEL9 S WINDOWS PHONE 8.1 DEVELOPMENT FOR ABSOLUTE BEGINNERS

CHANNEL9 S WINDOWS PHONE 8.1 DEVELOPMENT FOR ABSOLUTE BEGINNERS CHANNEL9 S WINDOWS PHONE 8.1 DEVELOPMENT FOR ABSOLUTE BEGINNERS Full Text Version of the Video Series Published April, 2014 Bob Tabor http://www.learnvisualstudio.net Contents Introduction... 2 Lesson

More information

AutoCAD 2009 User InterfaceChapter1:

AutoCAD 2009 User InterfaceChapter1: AutoCAD 2009 User InterfaceChapter1: Chapter 1 The AutoCAD 2009 interface has been enhanced to make AutoCAD even easier to use, while making as much screen space available as possible. In this chapter,

More information

Chapter 2 Using Slide Masters, Styles, and Templates

Chapter 2 Using Slide Masters, Styles, and Templates Impress Guide Chapter 2 Using Slide Masters, Styles, and Templates OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute

More information

windows-10-universal #windows- 10-universal

windows-10-universal #windows- 10-universal windows-10-universal #windows- 10-universal Table of Contents About 1 Chapter 1: Getting started with windows-10-universal 2 Remarks 2 Examples 2 Installation or Setup 2 Creating a new project (C# / XAML)

More information

Expression Design Lab Exercises

Expression Design Lab Exercises Expression Design Lab Exercises Creating Images with Expression Design 2 Beaches Around the World (Part 1: Beaches Around the World Series) Information in this document, including URL and other Internet

More information

CPSC 481 Tutorial 10 Expression Blend. Brennan Jones (based on tutorials by Bon Adriel Aseniero and David Ledo)

CPSC 481 Tutorial 10 Expression Blend. Brennan Jones (based on tutorials by Bon Adriel Aseniero and David Ledo) CPSC 481 Tutorial 10 Expression Blend Brennan Jones bdgjones@ucalgary.ca (based on tutorials by Bon Adriel Aseniero and David Ledo) Expression Blend Enables you to build rich and compelling applications

More information

How to create interactive documents

How to create interactive documents Adobe InDesign Guide How to create interactive documents You can use Adobe InDesign to create dynamic web content or interactive documents. InDesign supports export to web-ready HTML or interactive PDF.

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom

CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Lab SEM 1 2009/2010 Page 1 Overview In this lab, you will get familiarized with interactive media elements such

More information

POWERPOINT BASICS: MICROSOFT OFFICE 2010

POWERPOINT BASICS: MICROSOFT OFFICE 2010 POWERPOINT BASICS: MICROSOFT OFFICE 2010 GETTING STARTED PAGE 02 Prerequisites What You Will Learn USING MICROSOFT POWERPOINT PAGE 03 Microsoft PowerPoint Components SIMPLE TASKS IN MICROSOFT POWERPOINT

More information

Creating Buttons and Pop-up Menus

Creating Buttons and Pop-up Menus Using Fireworks CHAPTER 12 Creating Buttons and Pop-up Menus 12 In Macromedia Fireworks 8 you can create a variety of JavaScript buttons and CSS or JavaScript pop-up menus, even if you know nothing about

More information

Premiere Pro CC 2018 Essential Skills

Premiere Pro CC 2018 Essential Skills Premiere Pro CC 2018 Essential Skills Adobe Premiere Pro Creative Cloud 2018 University Information Technology Services Learning Technologies, Training, Audiovisual, and Outreach Copyright 2018 KSU Division

More information

ActiveBPEL Fundamentals

ActiveBPEL Fundamentals Unit 22: Simulation ActiveBPEL Fundamentals This is Unit #22 of the BPEL Fundamentals course. In past Units we ve looked at ActiveBPEL Designer, Workspaces and Projects, created the Process itself and

More information

Chapter 1. Getting to Know Illustrator

Chapter 1. Getting to Know Illustrator Chapter 1 Getting to Know Illustrator Exploring the Illustrator Workspace The arrangement of windows and panels that you see on your monitor is called the workspace. The Illustrator workspace features

More information

Fundamentals of XAML and Microsoft Expression Blend

Fundamentals of XAML and Microsoft Expression Blend 10553A - Version: 1 22 April 2018 Fundamentals of XAML and Microsoft Expression Blend Fundamentals of XAML and Microsoft Expression Blend 10553A - Version: 1 3 days Course Description: This 3-day course

More information

A Guide to Quark Author Web Edition 2015

A Guide to Quark Author Web Edition 2015 A Guide to Quark Author Web Edition 2015 CONTENTS Contents Getting Started...4 About Quark Author - Web Edition...4 Smart documents...4 Introduction to the Quark Author - Web Edition User Guide...4 Quark

More information

Introduction to IBM Rational HATS For IBM System i (5250)

Introduction to IBM Rational HATS For IBM System i (5250) Introduction to IBM Rational HATS For IBM System i (5250) Introduction to IBM Rational HATS 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a Web application capable of transforming

More information

Beginning Silverlight 5 in C #

Beginning Silverlight 5 in C # Table of Contents: Chapter 1. Welcome to Silverlight 5 1.1 The Evolution of the User interface 1.2 Rich Internet Application Solutions 1.3 What is Silverlight? 1.4 Benefits of Silverlight 1.4.1 Cross-Platform/Cross-Browser

More information

PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3

PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 INTRODUCTION xix PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 The Life of Windows 3 From Windows 3.1 to 32-bit 4 Windows XP

More information

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline 2 T U T O R I A L Objectives In this tutorial, you will learn to: Navigate Visual Studio.NET s Start Page. Create a Visual Basic.NET solution. Use the IDE s menus and toolbars. Manipulate windows in the

More information

Introduction to IBM Rational HATS For IBM System z (3270)

Introduction to IBM Rational HATS For IBM System z (3270) Introduction to IBM Rational HATS For IBM System z (3270) Introduction to IBM Rational HATS 1 Lab instructions This lab teaches you how to use IBM Rational HATS to create a Web application capable of transforming

More information

End User Guide. 2.1 Getting Started Toolbar Right-click Contextual Menu Navigation Panels... 2

End User Guide. 2.1 Getting Started Toolbar Right-click Contextual Menu Navigation Panels... 2 TABLE OF CONTENTS 1 OVERVIEW...1 2 WEB VIEWER DEMO ON DESKTOP...1 2.1 Getting Started... 1 2.1.1 Toolbar... 1 2.1.2 Right-click Contextual Menu... 2 2.1.3 Navigation Panels... 2 2.1.4 Floating Toolbar...

More information

for ArcSketch Version 1.1 ArcSketch is a sample extension to ArcGIS. It works with ArcGIS 9.1

for ArcSketch Version 1.1 ArcSketch is a sample extension to ArcGIS. It works with ArcGIS 9.1 ArcSketch User Guide for ArcSketch Version 1.1 ArcSketch is a sample extension to ArcGIS. It works with ArcGIS 9.1 ArcSketch allows the user to quickly create, or sketch, features in ArcMap using easy-to-use

More information

Adobe Flash CS4 Part 1: Introduction to Flash

Adobe Flash CS4 Part 1: Introduction to Flash CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Adobe Flash CS4 Part 1: Introduction to Flash Fall 2010, Version 1.0 Table of Contents Introduction...3 Downloading the Data Files...3

More information

Microsoft Excel 2010 Basic

Microsoft Excel 2010 Basic Microsoft Excel 2010 Basic Introduction to MS Excel 2010 Microsoft Excel 2010 is a spreadsheet software in the new Microsoft 2010 Office Suite. Excel allows you to store, manipulate and analyze data in

More information

A Step-by-step guide to creating a Professional PowerPoint Presentation

A Step-by-step guide to creating a Professional PowerPoint Presentation Quick introduction to Microsoft PowerPoint A Step-by-step guide to creating a Professional PowerPoint Presentation Created by Cruse Control creative services Tel +44 (0) 1923 842 295 training@crusecontrol.com

More information

NE Fundamentals of XAML and Microsoft Expression Blend

NE Fundamentals of XAML and Microsoft Expression Blend NE-10553 Fundamentals of XAML and Microsoft Expression Blend Summary Duration 3 Days Audience Developers Level 200 Technology Microsoft Expression Blend Delivery Method Instructor-led (Classroom) Training

More information

Microsoft PowerPoint 2013 Beginning

Microsoft PowerPoint 2013 Beginning Microsoft PowerPoint 2013 Beginning PowerPoint Presentations on the Web... 2 Starting PowerPoint... 2 Opening a Presentation... 2 File Tab... 3 Quick Access Toolbar... 3 The Ribbon... 4 Keyboard Shortcuts...

More information

SMART Meeting Pro 4.2 personal license USER S GUIDE

SMART Meeting Pro 4.2 personal license USER S GUIDE smarttech.com/docfeedback/170973 SMART Meeting Pro 4.2 personal license USER S GUIDE Product registration If you register your SMART product, we ll notify you of new features and software upgrades. Register

More information

Creating Interactive PDF Forms

Creating Interactive PDF Forms Creating Interactive PDF Forms Using Adobe Acrobat X Pro for the Mac University Information Technology Services Training, Outreach, Learning Technologies and Video Production Copyright 2012 KSU Department

More information

Desktop Studio: Charts. Version: 7.3

Desktop Studio: Charts. Version: 7.3 Desktop Studio: Charts Version: 7.3 Copyright 2015 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived from,

More information

Introduction to Data Templates and Value Converters in Silverlight

Introduction to Data Templates and Value Converters in Silverlight Introduction to Data Templates and Value Converters in Silverlight An overview of Data Templates and Value Converters by JeremyBytes.com Overview Business applications are all about data, and laying out

More information

Keys for selecting tools

Keys for selecting tools Keys for selecting tools Use these shortcuts in the Tools panel. In most cases, you can momentarily switch tools by holding down the keyboard shortcut for the tool. Selection tool V V Rotation tool W W

More information

Premiere Pro Desktop Layout (NeaseTV 2015 Layout)

Premiere Pro Desktop Layout (NeaseTV 2015 Layout) Premiere Pro 2015 1. Contextually Sensitive Windows - Must be on the correct window in order to do some tasks 2. Contextually Sensitive Menus 3. 1 zillion ways to do something. No 2 people will do everything

More information

Designer Reference 1

Designer Reference 1 Designer Reference 1 Table of Contents USE OF THE DESIGNER...4 KEYBOARD SHORTCUTS...5 Shortcuts...5 Keyboard Hints...5 MENUS...7 File Menu...7 Edit Menu...8 Favorites Menu...9 Document Menu...10 Item Menu...12

More information

Keynote Basics Website:

Keynote Basics Website: Keynote Basics Website: http://etc.usf.edu/te/ Keynote is Apple's presentation application. Keynote is installed as part of the iwork suite, which also includes the word processing program Pages. If you

More information

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks Unit 21 - Creating a Navigation Bar in Macromedia Fireworks Items needed to complete the Navigation Bar: Unit 21 - House Style Unit 21 - Graphics Sketch Diagrams Document ------------------------------------------------------------------------------------------------

More information

User Manual Version 1.1 January 2015

User Manual Version 1.1 January 2015 User Manual Version 1.1 January 2015 - 2 / 112 - V1.1 Variegator... 7 Variegator Features... 7 1. Variable elements... 7 2. Static elements... 7 3. Element Manipulation... 7 4. Document Formats... 7 5.

More information

SQL Server 2005: Reporting Services

SQL Server 2005: Reporting Services SQL Server 2005: Reporting Services Table of Contents SQL Server 2005: Reporting Services...3 Lab Setup...4 Exercise 1 Creating a Report Using the Wizard...5 Exercise 2 Creating a List Report...7 Exercise

More information

The American University in Cairo. Academic Computing Services. Word prepared by. Soumaia Ahmed Al Ayyat

The American University in Cairo. Academic Computing Services. Word prepared by. Soumaia Ahmed Al Ayyat The American University in Cairo Academic Computing Services Word 2000 prepared by Soumaia Ahmed Al Ayyat Spring 2001 Table of Contents: Opening the Word Program Creating, Opening, and Saving Documents

More information

The Fundamentals. Document Basics

The Fundamentals. Document Basics 3 The Fundamentals Opening a Program... 3 Similarities in All Programs... 3 It's On Now What?...4 Making things easier to see.. 4 Adjusting Text Size.....4 My Computer. 4 Control Panel... 5 Accessibility

More information

Step4: Now, Drag and drop the Textbox, Button and Text block from the Toolbox.

Step4: Now, Drag and drop the Textbox, Button and Text block from the Toolbox. Name of Experiment: Display the Unicode for the key-board characters. Exp No:WP4 Background: Student should have a basic knowledge of C#. Summary: After going through this experiment, the student is aware

More information

Interface. 2. Interface Adobe InDesign CS2 H O T

Interface. 2. Interface Adobe InDesign CS2 H O T 2. Interface Adobe InDesign CS2 H O T 2 Interface The Welcome Screen Interface Overview The Toolbox Toolbox Fly-Out Menus InDesign Palettes Collapsing and Grouping Palettes Moving and Resizing Docked or

More information

A Guide to Using WordPress + RAVEN5. v 1.4 Updated May 25, 2018

A Guide to Using WordPress + RAVEN5. v 1.4 Updated May 25, 2018 + v 1.4 Updated May 25, 2018 Table of Contents 1. Introduction...................................................................................3 2. Logging In.....................................................................................4

More information

PowerPoint Basics (Office 2000 PC Version)

PowerPoint Basics (Office 2000 PC Version) PowerPoint Basics (Office 2000 PC Version) Microsoft PowerPoint is software that allows you to create custom presentations incorporating text, color, graphics, and animation. PowerPoint (PP) is available

More information

Beginning PowerPoint XP for Windows

Beginning PowerPoint XP for Windows Beginning PowerPoint XP for Windows Tutorial Description This course introduces you to the PowerPoint program basics for creating a simple on-screen presentation. Intended Audience Individuals interested

More information

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW STAROFFICE 8 DRAW Graphics They say a picture is worth a thousand words. Pictures are often used along with our words for good reason. They help communicate our thoughts. They give extra information that

More information

Exercise 1: Introduction to MapInfo

Exercise 1: Introduction to MapInfo Geog 578 Exercise 1: Introduction to MapInfo Page: 1/22 Geog 578: GIS Applications Exercise 1: Introduction to MapInfo Assigned on January 25 th, 2006 Due on February 1 st, 2006 Total Points: 10 0. Convention

More information

Getting Started (1.8.7) 9/2/2009

Getting Started (1.8.7) 9/2/2009 2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have

More information

Portable Class Libraries ---

Portable Class Libraries --- Portable Class Libraries --- Overview In this lab, you ll learn about Portable Class Libraries (PCLs). PCLs enable you to create managed assemblies that work on more than one.net Framework platform. Within

More information

Impress Guide. Chapter 1 Introducing Impress

Impress Guide. Chapter 1 Introducing Impress Impress Guide Chapter 1 Introducing Impress Copyright This document is Copyright 2005 2009 by its contributors as listed in the section titled Authors. You may distribute it and/or modify it under the

More information

PowerPoint Essentials 1

PowerPoint Essentials 1 PowerPoint Essentials 1 LESSON SKILL MATRIX Skill Exam Objective Objective Number Working with an Existing Presentation Change views of a presentation. Insert text on a slide. 1.5.2 2.1.1 SOFTWARE ORIENTATION

More information

Desktop Studio: Charts

Desktop Studio: Charts Desktop Studio: Charts Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Working with Charts i Copyright 2011 Intellicus Technologies This document

More information

News in RSA-RTE CP1

News in RSA-RTE CP1 IBM Software Group News in RSA-RTE 8.5.1 CP1 Mattias Mohlin, April 2013 2013 IBM Corporation Build A C++ External Library TC can now generate the make file to use for building the library from a CDT project

More information

Word 2013 Quick Start Guide

Word 2013 Quick Start Guide Getting Started File Tab: Click to access actions like Print, Save As, and Word Options. Ribbon: Logically organize actions onto Tabs, Groups, and Buttons to facilitate finding commands. Active Document

More information

Silverlight Invaders Step 0: general overview The purpose of this tutorial is to create a small game like space invaders. The first thing we will do is set up the canvas of design some user controls (

More information

1.1: Introduction to Fusion 360

1.1: Introduction to Fusion 360 .: Introduction to Fusion 360 Fusion 360 is a cloud- based CAD/CAM tool for collaborative product development. The tools in Fusion enable exploration and iteration on product ideas and collaboration within

More information

At the shell prompt, enter idlde

At the shell prompt, enter idlde IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar

More information

LAYOUT. Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon

LAYOUT. Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon LAYOUT Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon - 2014 Loading and Compiling XAML (See Codes in your Textbook) There are three distinct coding

More information

Adobe Flash CS5. Creating a web banner. Garvin Ling Juan Santa Cruz Bruno Venegas

Adobe Flash CS5. Creating a web banner. Garvin Ling Juan Santa Cruz Bruno Venegas Adobe Flash CS5 Creating a web banner Garvin Ling Juan Santa Cruz Bruno Venegas Introduction In this tutorial, you will be guided through a step-by-step process on how to create your very own animated

More information

HOW TO USE THE CONTENT MANAGEMENT SYSTEM (CMS) TABLE OF CONTENTS

HOW TO USE THE CONTENT MANAGEMENT SYSTEM (CMS) TABLE OF CONTENTS HOW TO USE THE CONTENT MANAGEMENT SYSTEM (CMS) TABLE OF CONTENTS GETTING STARTED (LOGIN) 2 SITE MAP (ORGANIZE WEBPAGES) 2 CREATE NEW PAGE 3 REMOVE PAGE 6 SORT PAGES IN CHANNEL 7 MOVE PAGE 8 PAGE PROPERTIES

More information

For detailed instructions, click the links below. To ask questions, request features, or report problems, visit feedback.photoshop.com.

For detailed instructions, click the links below. To ask questions, request features, or report problems, visit feedback.photoshop.com. Workspace basics For detailed instructions, click the links below. To ask questions, request features, or report problems, visit feedback.photoshop.com. You create and manipulate your documents and files

More information

Session 7 MS Word. Graphics. Inserting Clipart, and Graphics Modify graphics Position graphics

Session 7 MS Word. Graphics. Inserting Clipart, and Graphics Modify graphics Position graphics Session 7 MS Word Graphics Inserting Clipart, and Graphics Modify graphics Position graphics Table of Contents Session 7 Working with Graphics... 1 The Toolbar... 1 Drawing Toolbar... 1 Picture Toolbar...

More information

Microsoft Powerpoint 2013

Microsoft Powerpoint 2013 Microsoft Powerpoint 2013 Lesson 4 Designing a Presentation 2014, John Wiley & Sons, Inc. Microsoft Official Academic Course, Microsoft Word 2013 1 Objectives 2014, John Wiley & Sons, Inc. Microsoft Official

More information

Camtasia Studio 5.0 PART I. The Basics

Camtasia Studio 5.0 PART I. The Basics Camtasia Studio 5.0 Techsmith s Camtasia Studio software is a video screenshot creation utility that makes it easy to create video tutorials of an on screen action. This handout is designed to get you

More information

2 SELECTING AND ALIGNING

2 SELECTING AND ALIGNING 2 SELECTING AND ALIGNING Lesson overview In this lesson, you ll learn how to do the following: Differentiate between the various selection tools and employ different selection techniques. Recognize Smart

More information

Document Editor Basics

Document Editor Basics Document Editor Basics When you use the Document Editor option, either from ZP Toolbox or from the Output option drop-down box, you will be taken to the Report Designer Screen. While in this window, you

More information

OX Documents Release v Feature Overview

OX Documents Release v Feature Overview OX Documents Release v7.8.4 Feature Overview 1 Objective of this Document... 3 1.1 The Purpose of this Document... 3 2 General Improvements... 4 2.1 Security First: Working with Encrypted Files (OX Guard)...

More information

Dive Into Visual C# 2008 Express

Dive Into Visual C# 2008 Express 1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging

More information

CS-Studio Display Builder

CS-Studio Display Builder CS-Studio Display Builder Tutorial presented: Spring 2017 EPICS Collaboration Meeting at KURRI, Osaka, Japan Megan Grodowitz, Kay Kasemir (kasemir@ornl.gov) Overview Display Builder replaces OPI Builder

More information

VERSION JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY

VERSION JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY VERSION 2015.1 JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY TEST STUDIO QUICK-START GUIDE CONTENTS Create your First Test.2 Standalone Web

More information

Awesome PowerPoint Tricks for Effective Presentations

Awesome PowerPoint Tricks for Effective Presentations EFFECTIVE LEARNING STARTS WITH COMPELLING CONTENT Awesome PowerPoint Tricks for Effective Presentations Instructional Design and Content Creation for Live Training and elearning info.com +1 866 789 2482

More information

Overview of the Adobe Dreamweaver CS5 workspace

Overview of the Adobe Dreamweaver CS5 workspace Adobe Dreamweaver CS5 Activity 2.1 guide Overview of the Adobe Dreamweaver CS5 workspace You can access Adobe Dreamweaver CS5 tools, commands, and features by using menus or by selecting options from one

More information

Table of Contents Welcome to Menu.Applet... 2 Why Java -based menus?... 2 Basic terminology... 2 Getting to know Menu.Applet... 4 Creating a new menu

Table of Contents Welcome to Menu.Applet... 2 Why Java -based menus?... 2 Basic terminology... 2 Getting to know Menu.Applet... 4 Creating a new menu Table of Contents Welcome to Menu.Applet... 2 Why Java -based menus?... 2 Basic terminology... 2 Getting to know Menu.Applet... 4 Creating a new menu applet... 5 Applet Properties Panel: General Tab...

More information