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: The Red Wolf and the white markings. Red Wolf Getting the gang together. Habitat Diet Habitat The Red and Grey Wolves are matched in how they survive in packs. The Red Wolf is nocturnal however the Grey Wolf isn't nocturnal. The Red Wolf lives in hollow trees, stream banks, and sand knolls and the Grey Wolf lives in tunnels, caves, and natural shelters. The Grey Wolf weighs seventy pounds though one hundred ten pounds, but the Red Wolf weighs sixty one pounds. The Red Wolves have a lifespan of seven years, but on the other hand the Grey Wolves have a lifespan of thirteen though fifteen years. The Red and Grey wolves have a similarity of twenty-six inches, but the Grey Wolf can reach up to thirty-two inches. The two awesome creatures are the same in the gestation period of nine weeks total The Red Wolf and Grey Wolves have in common the predator of humans The Red and Grey Wolves are both carnivores The Red Wolf eats up to three pounds while the Grey Wolf eats up to thirty pounds Both of the two beast's eat deer, but the Red Wolf eats white-tailed deer Diet Physical Traits Work Cited Red and Grey Wolves By Sam Kifowit Red wolf Strouting: http://www.flickr.com/photos/trackthepack/7747781632/ Grey wolf possing: http://en.wikipedia.org/wiki/Subspecies_of_Canis_lupus Grey Wolf Habitat: http://en.wikipedia.org/wiki/Wolf_reintroduction Red wolf Habitat: http://commons.wikimedia.org/wiki/File:Red_wolf_howl_(9129960062).jpg Grey Wolf Diet: http://en.wikipedia.org/wiki/Gray_wolf Red wolf Diet: http://commons.wikimedia.org/wiki/File:White-tailed_deer_at_Marymoor_Park.jpg The dark wolf: google document The down Red wolf: google document Grey Wolf howling: google document Red Wolf at home: google document Red wolf walk. Physical Traits The Red wolf's mael of a white-tailed deer. Home sweet Home Grey Wolf run at home. The Grey wolf is gray? Lets go team The Grey wolf's big feast on a bison. Other colors of the grey wolf
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: Objectives Here are photos of members cleaning the roads. -We embarked on the challenge of cleansing the roadways of Orangeburg County through Operation Clean Sweep. -It was a Great Success! THE END! Educating Others on Going Green Sam Arjay Frank -Seek a new alternative energy source that eliminates hazardous fuel emissions. -Promote recycling within, but not limited to, the Orangeburg community. -Cleanse the roadways of garbage. -Protest for environment awareness in Washington D.C. -Educate others about the benefits of going green. Alternative Energy -Traveled the world seeking an answer to the energy crisis, even going to the White House to ask the president. -Unfortunately, the resources that we were provided did not yield a renewable energy source :( Group Members Red, Grey, and Green -Members peacefully protested for environmental reform in Washington D.C. -So far, none of our demands have been met. -Patron Andrew Walter demonstrates the materials that should go within recycling bins -Members Sam Mani and Frank McConnell are educating middle school student Hieu Ngo how to clean up nicely. - Lilli Nettles, Zoe Kitrell, and Sam Mani recycle during their study hall. -Arjay Clarett demonstrates how to eat green. Markese Zoe The Search for a Cleaner Environment Cleansing the Roadways Lilli Recycling Visit to Washington D.C.
Description: Add some color to your quarterly business review with this vibrant business presentation template. The bold visuals in this business template will make your next QBR a memorable one.
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: 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: 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