Transcript: WPF Templating Styles Property Triggers Data Triggers Event Triggers Templates Refactoring It is better practice to store templates and other large resources as seperate resource dictionaries. As an example, we would store our custom Listbox in a resource dictionary called CustomListBox.xaml and import it in our App when we want to instantiate that custom control. Control Templates Apply a set of property values to an element Change the appearance of any style-related (read: asthetic) property Used when you need to have a common set of property values on multiple elements Default Style element is FrameworkElement. Specify TargetType to style other elements IsMouseOver = true Visual tree takes the hierarchical tree and expands its elements into all visual components. Control templates are XAML "recipe" for a control. We can copy the contents of a control template and modify it to "reskin" a core WPF control. Templates vs. Styles Although you can find the templates for WPF core controls in MSDN documentation, easiest way is to use Expression Blend. - Add a control - Right Click on control -> Edit Template Templates used for hierarchical data such as TreeViewItem and MenuItem A chunk of XAML markup that defines how a bound data object should be displayed. Visual Tree Hierarchical Data Templates Styles EventTriggers are hooked up to routed events and generally spark an animation related action on the element to which the style applies. Used to bind to properties of the control to which you are applying the template. Useful when the property is not specific to the aspects you are customizing. Event Triggers Item Panel Templates Templates used to override how objects are layed out in a Panel (or any class derived from Panel). DataTriggers work much like PropertyTriggers but operate on any object property instead of just WPF dependency Property. Property Triggers Logical Tree vs. Visual Tree Styles are used to adjust properties of an element. Templates can replace the entire visual tree of an element. Ex. Use template to replace the background of a button with an ellipse or path object. Data Triggers Styles can be inherited from other styles. Simply use the property "BasedOn" in the Style element. Data Templates Logical tree is a representative tree that describes the heirarchical composition of a WPF application. Style Inheritance IsMouseOver = false Define a list of setters that are activated when specific condition is met. Template Bindings Triggers Logical Tree
Transcript: Templates A house style is a set of rules. These rules format a document. Examples - Font style and size Text should be right, left or justified. How text should be presented. What is a house style? Templates is a tool for ensuring that all documents or pages have a standard layout, look and feel. Changes made to the templates automatically update any pages or documents which are based on the templates. how does a template be used to create a constant housestyle By Vj + David Templates make consistant house style. Templates provide a document with a standard pre-set layout or format
Transcript: Example of a Jeopardy Template By: Laken Feeser and Rachel Chapman When creating without a template... http://www.edtechnetwork.com/powerpoint.html https://www.thebalance.com/free-family-feud-powerpoint-templates-1358184 Example of a Deal or No Deal Template PowerPoint Game Templates There are free templates for games such as jeopardy, wheel of fortune, and cash cab that can be downloaded online. However, some templates may cost more money depending on the complexity of the game. Classroom Games that Make Test Review and Memorization Fun! (n.d.). Retrieved February 17, 2017, from http://people.uncw.edu/ertzbergerj/msgames.htm Fisher, S. (n.d.). Customize a PowerPoint Game for Your Class with These Free Templates. Retrieved February 17, 2017, from https://www.thebalance.com/free-powerpoint-games-for-teachers-1358169 1. Users will begin with a lot of slides all with the same basic graphic design. 2. The, decide and create a series of questions that are to be asked during the game. 3. By hyper linking certain answers to different slides, the game jumps from slide to slide while playing the game. 4. This kind of setup is normally seen as a simple quiz show game. Example of a Wheel of Fortune Template https://www.teacherspayteachers.com/Product/Wheel-of-Riches-PowerPoint-Template-Plays-Just-Like-Wheel-of-Fortune-383606 Games can be made in order to make a fun and easy way to learn. Popular game templates include: Family Feud Millionaire Jeopardy and other quiz shows. http://www.free-power-point-templates.com/deal-powerpoint-template/ Quick video on template "Millionaire" PowerPoint Games Some games are easier to make compared to others If users are unsure whether or not downloading certain templates is safe, you can actually make your own game by just simply using PowerPoint. add logo here References Example of a Family Feud Template PowerPoint Games are a great way to introduce new concepts and ideas You can create a fun, competitive atmosphere with the use of different templates You can change and rearrange information to correlate with the topic or idea being discussed. Great with students, workers, family, etc. For example: With games like Jeopardy and Family Feud, players can pick practically any answers. The person who is running the game will have to have all of the answers in order to determine if players are correct or not. However, with a game like Who Wants to be a Millionaire, the players only have a choice between answers, A, B, C, or D. Therefore, when the player decides their answer, the person running the game clicks it, and the game will tell them whether they are right or wrong.
Transcript: Templates The key to generic programs a simple code! Output? Answer Namespaces Namespace is a feature added in C++ and not present in C. A namespace is a declarative region that provides a scope to the identifiers (names of the types, function, variables etc) inside it. Multiple namespace blocks with the same name are allowed. Templates Templates Templates are powerful features of C++ which allows you to write generic programs. In simple terms, you can create a single function or a class to work with different data types using templates. Advantages: Readability Flexibility Re-usability Function Template FUnction Templates A single function template can work with different data types at once but, a single normal function can only work with one set of data types. Normally, if you need to perform identical operations on two or more types of data, you use function overloading. However, a better approach would be to use function templates because you can perform the same task writing less and maintainable code. Example Sometimes, you need a class implementation that is same for all classes, only the data types used are different. Normally, you would need to create a different class for each data type OR create different member variables and functions within a single class. This will unnecessarily bloat your code base and will be hard to maintain, as a change is one class/function should be performed on all classes/functions. Class Template Class Templates Example virtual functions virtual functions Virtual functions ensure that the correct function is called for an object, regardless of the type of reference (or pointer) used for function call. They are mainly used to achieve Run-time polymorphism. The prototype of virtual functions should be same in base as well as derived class. They are always defined in base class and overridden in derived class. It is not mandatory for derived class to override Example Pass by reference Pass-by-reference means to pass the reference of an argument in the calling function to the corresponding formal parameter of the called function. The called function can modify the value of the argument by using its reference passed in. Does not copy the arguments. The formal parameter is an alias for the argument. References cannot be NULL.
Transcript: Social learning network for teachers & students Create assignments, files & notices Discussion forum for class groups Retrieve homework Penzu Furl Shanna Wood 10/5/12 Web 2.0 Tools Multiple technology tools increase ability to learn Providing students with technology that they would not normally have Positive effect of student learning Student engagement & hands on with technology Encourage creativity Audio broadcast converted to MP3 or other playback device Listener can choose what they listen to and download Can be used for class presentations, lecture & literacy Anyone, Anytime, Anywhere Web 2.0 is a term coined in 1999 to describe web sites that use technology beyond the static pages of earlier web sites Blogs Emerging Technologies Reflection Edmodo Ways that Penzu can be implemented into the classroom:Warm-Up Activities Daily journaling Writing Essay's Introduction Penzu is a simple service written on rails, that allows you to write and save private notes or posts with images, print the entry, or share it by email or submit as assignment Podcasts Enhance learning, creativity & collaboration Easier to share global wide Web 2.0 tools are today's tomorrow Possibilities & future are endless Social bookmarking site that enables students and teachers to share their favorite sites with each other. This can be helpful for research, projects or sharing tutorial sites, with peers. Teachers can also use this site to share ideas on lesson plans or fun ways to teach while keeping students engaged in learning. Daily post Personal reflections Only owner can make changes Class discussion forum
Transcript: Row cells in a table that are arranged horizontally. Templates Template is a reuseable pattern that you can use to lay out elemts on a web page. Title Graphic, also called a page header is an image that appears at the top every page on a web site. Table an item consiting of colums and rows that is used to organize a web page's content. Logo is a symbol used to represent a business or an organization. Column cells in a table that are arrange vertically.
Transcript: Whats a Template? A template is a reusable pattern that you can use to lay out elements on a webpage. A logo is a symbol used to represent a buisness or an organization A tItle GRAPHIC IS AN IMAGE THAT APPEARS AT THE TOP OF EVERY PAGE ON A WEBSITE a tABLE CONSISTS OF vERTICAL COLUMNS AND hORIZONTAL ROWS, EACH INDIVIDUAL SQUARE WITHIN A CELL IS CALLED A CELL. a nAVIGATION BUTTON IS A BUTTON THAT USERS CLICK TO LOCATE ADDITIONAL INFORMATION AND TO NAVIGATE TO OTHER WEBPAGES A HOVER BUTTON IS A NAVIGATION BUTTON THAT CHANGES APPEARANCE WHEN TOUCHED OR CLICKED BY A MOUSE POINTER INTERACTIVE BUTTON IS A BUTTON THAT LETS USERS KNOW A ACTION HAS TAKEN PLACE A RELATED GROUP OF HORIZONTALLY OR VERTICALLY ALIGNED LINKS IS CALLED A LINK BAR fOOTERS USUALLY CONTAIN COPYRIGHT INFORMATION, DATES, CONTACT INFO, AND TEXT LINKS tHAT WAS ALL YOU NEED TO KNOW ON PAGES 171-182! bY JAGGER THOM
Description: Storytelling is at the heart of great service. Use this stunning, customizable business presentation template to highlight employees who do exceptional work or position your customers as the heroes of your business.
Description: Catch the eye and engage the imagination with this cool-looking Prezi proposal template. The bold, bright design and highly dynamic theme all but guarantee success for your next sales or marketing proposal. All Prezi presentation templates are easily customized.
Description: The sky’s the limit. Boost your new sales initiative into orbit with an engaging and compelling SKO presentation. This template features a effective sales kickoff theme that makes it easy to be engaging. Like all Prezi SKO templates, it’s fully customizable with your own information.
Now you can make any subject more engaging and memorable