Dependency Property Mahender Senior Software Engineer United Health Group.

Slides:



Advertisements
Similar presentations
Object Oriented Programming
Advertisements

Final and Abstract Classes
Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
Printing Feature in SL4 Mahender Senior Software Engineer United Health Group.
XML 6.7 XForms 6. Motivation HTML forms deliver the interactive WWW Forms are what make electronic transactions possible HTML forms are long overdue for.
2007 Adobe Systems Incorporated. All Rights Reserved. 1 Glenda Vigoreaux Adobe Certified Instructor roundpeg, Inc. Component Development.
An Introduction To Silverlight Gergely Orosz
Object-Oriented PHP (1)
Mahender Sarangam Having close to 5 years of experience. Working as a Senior Software Engineer in United Health Group. Good Knowledge on C#, ASP.NET,
Encapsulation, Inheritance & Interfaces CSE 115 Spring 2006 February 27, March 1 & 3, 2006.
0-1 Team # Status Report (1 of 4) Client Contact –Point 1 –Point 2 Team Meetings –Point 1 –Point 2 Team Organization –Point 1 –Point 2 Team #: Team Name.
Chapter 71 Inheritance Chapter 7. 2 Reminders Project 4 was due last night Project 5 released: due Oct 10:30 pm Project 2 regrades due by midnight.
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
SSRS Integration with SharePoint JACOB CHANG. Jacob Chang MCSE Degree in biology and computer engineering Started as an application developer Worked with.
UNIT-V The MVC architecture and Struts Framework.
ADVANCED MICROSOFT ACTIVE DIRECTORY CONCEPTS
OOP Languages: Java vs C++
What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 (Day 2) Sayed Ali (MCTS, MCITP, MCT, MCSA, MCSE ) Senior SharePoint.
UFCEUS-20-2 : Web Programming Lecture 5 : Object Oriented PHP (1)
Chapter 12: Adding Functionality to Your Classes.
READING, WRITING, BINDING, VALIDATING AND VISUALISING YOUR DATA Business value with Silverlight.
Chapter 4 Objects and Classes.
Building a UI with Zen Pat McGibbon –Sales Engineer.
Eric Vogel Software Developer A.J. Boggs & Company.
Lecture Set 11 Creating and Using Classes Part B – Class Features – Constructors, Methods, Fields, Properties, Shared Data.
OOP IN PHP `Object Oriented Programming in any language is the use of objects to represent functional parts of an application and real life entities. For.
COMP An Introduction to Computer Programming : University of the West Indies COMP6015 An Introduction to Computer Programming Lecture 07.
A Flexible Access Control Model for Web Services Elisa Bertino CERIAS and CS Department, Purdue University Joint work with Anna C. Squicciarini – University.
Module 12 Attached Properties and Behaviors in WPF.
Spring/2002 Distributed Software Engineering C:\unocourses\4350\slides\DefiningThreads 1 RMI.
Object-Oriented Database Processing
Discover, Master, Influence1 Windows Presentation Foundation David Burela Senior Developer, Readify.
June 15, 2009GITB Open Meeting, Brussels1 GITB Alternative Architectures and Business Models CEN/ISSS eBIF Global eBusiness Interoperability Test Bed Methodologies.
Classes. Constructor A constructor is a special method whose purpose is to construct and initialize objects. Constructor name must be the same as the.
6 ListViewGridViewFlipView.
C++ Inheritance Data Structures & OO Development I 1 Computer Science Dept Va Tech June 2007 © McQuain Generalization versus Abstraction Abstraction:simplify.
Introduction to Object-Oriented Programming Lesson 2.
1 Unified Modeling Language, Version 2.0 Chapter 2.
Arizona SharePoint Professionals Group Thomas Baer Senior Consultant, Statêra
CSC 2720 Building Web Applications FLEX – Data Binding.
MICROSOFT PROJECT 2010 Robert Olivieri Senior Instructor MicroAssist.
A Quick Look at the EPICS IDE Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 13, 2006 Argonne National Laboratory, Argonne, IL.
Java Programming, Second Edition Chapter Twelve Advanced Inheritance Concepts.
Inheritance and Polymorphism. Superclass and Subclass Inheritance defines a relationship between objects that share characteristics. It is a mechanism.
Virtual techdays INDIA │ November 2010 Building Visual Studio LightSwitch Application Kunal Chowdhury │ Software Engineer, Silverlight MVP.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
MVVM Pattern Mahender Senior Software Engineer United Health Group.
Exploring Networked Data and Data Stores Lesson 3.
Introducing, the JFrame Gives us a work area beside System.out.println.
Data Binding, Binding Properties Doncho Minkov Telerik School Academy Technical Trainer
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Chapter 5: Enhancing Classes
Important New Concepts In WPF
Systems Analysis and Design With UML 2
Java Beans Sagun Dhakhwa.
Distribution and components
Chapter 3: Using Methods, Classes, and Objects
Managed Extensibility Framework
SharePoint Site Admin Training
Design and Implementation
Routed Events Mahender Senior Software Engineer United Health Group.
Jim Fawcett CSE775 – Distributed Objects Spring 2011
Object Oriented Practices
Classes and Objects.
DEV312 基于WPF的数据绑定.
Final and Abstract Classes
Validation Errors Mahender Senior Software Engineer
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Creating and Using Classes
Presentation transcript:

Dependency Property Mahender Senior Software Engineer United Health Group

Having 5 years of experience on.NET Technologies. Working as a Senior Software Engineer in United Health Group(UHG India Information Service Ltd.). Worked with Big Firms like Deloitte Consulting & Wipro Technology. Got Technical Acquaintance on Technologies like C#, ASP.NET,AJAX, LINQ, Silverlight, WPF,WCF,SQL Server, Team Foundation Server(TFS) and SharePoint Technology. MCTS Certified in Web Technologies.

A Dependency Property is a static method that changes the value of a instanced object property. public static readonly DependencyProperty IsSpinningProperty = DependencyProperty.Register( "IsSpinning", typeof(Boolean), typeof(Page4), null ); public bool IsSpinning { get { return (bool)GetValue(IsSpinningProperty); } set { SetValue(IsSpinningProperty, value); } } A property of an element that depends on a number of property-providers outside the element is called a "dependency property"

Any class inherits from System.Windows.DependencyObject can be extended with dependency properties. Support higher level features such as property value change notification, property validation, property coercion, property metadata and default property value inheritance. Dependency Property is like any other property but can hold a default value, with built in mechanism for property value validation and automatic notification for changes in property value ( for anyone listening to property value - especially UI) and any binding in Silverlight is to binded to a Dependency Property

The purpose of dependency properties is to provide a way to compute the value of a property based on the value of other inputs. These other inputs might include external properties such as user preference, just-in- time property determination mechanisms such as data binding and animations/storyboards, multiple-use templates such as resources and styles, or values known through parent-child relationships with other elements in the object tree. In addition, a dependency property can be implemented to provide callbacks that can propagate changes to other properties.

A property changed callback method is invoked,the property changed callback should also be a static/Shared method/function, which take two parameters – DependencyObject and DependencyPropertyChangedEventArgs. The DependencyPropertyChangedEventArgs, holds three properties – NewValue – OldValue – Property

We should implement your property as a dependency property whenever you want the property to support one or more of the following Silverlight property system capabilities: You want the property to be settable in a style. You want the property to be a property target that supports data binding. For more information about data binding dependency properties. You want the property to support an animated value, using the Silverlight animation system. You want the Silverlight property system to report when the previous value of the property has been changed by actions taken by the property system itself, the environment, or the user, or by reading and using styles. Your property can specify a callback method that will be invoked each time the property system determines that your property value was definitively changed