Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Base / System / Windows / DependencySource.cs / 1 / DependencySource.cs
using System; using System.Threading; namespace System.Windows { ////// Represents dependency scope of an ////// /// Expressions are responsible for propagating invalidation to /// dependents when a property changes. The property that changes is /// known as the "source". /// internal sealed class DependencySource { ////// Dependency source construction /// /// DependencyObject source /// Property source public DependencySource(DependencyObject d, DependencyProperty dp) { _d = d; _dp = dp; } ////// DependencyObject source /// public DependencyObject DependencyObject { get { return _d; } } ////// Property source /// public DependencyProperty DependencyProperty { get { return _dp; } } private DependencyObject _d; private DependencyProperty _dp; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Threading; namespace System.Windows { ////// Represents dependency scope of an ////// /// Expressions are responsible for propagating invalidation to /// dependents when a property changes. The property that changes is /// known as the "source". /// internal sealed class DependencySource { ////// Dependency source construction /// /// DependencyObject source /// Property source public DependencySource(DependencyObject d, DependencyProperty dp) { _d = d; _dp = dp; } ////// DependencyObject source /// public DependencyObject DependencyObject { get { return _d; } } ////// Property source /// public DependencyProperty DependencyProperty { get { return _dp; } } private DependencyObject _d; private DependencyProperty _dp; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemotingServices.cs
- NamespaceList.cs
- SystemKeyConverter.cs
- RelationshipEnd.cs
- Inline.cs
- TextRangeEditTables.cs
- TextPointer.cs
- SemanticResultValue.cs
- ElementHostAutomationPeer.cs
- CommonDialog.cs
- CompositeDispatchFormatter.cs
- Selector.cs
- brushes.cs
- ComboBoxRenderer.cs
- InstanceData.cs
- ObjectStateEntryDbDataRecord.cs
- GiveFeedbackEventArgs.cs
- Timeline.cs
- CompoundFileIOPermission.cs
- DocumentSequence.cs
- X500Name.cs
- Executor.cs
- SingleKeyFrameCollection.cs
- TextTreeFixupNode.cs
- SiteMapHierarchicalDataSourceView.cs
- Attribute.cs
- InkCanvasFeedbackAdorner.cs
- SqlAliaser.cs
- XmlSchemaAny.cs
- LowerCaseStringConverter.cs
- MarkupCompilePass2.cs
- GridViewUpdatedEventArgs.cs
- SapiGrammar.cs
- TdsValueSetter.cs
- GPPOINT.cs
- PointConverter.cs
- LoginDesigner.cs
- EditorServiceContext.cs
- SponsorHelper.cs
- XmlUtil.cs
- CommentEmitter.cs
- ResourceAssociationSetEnd.cs
- BulletedListDesigner.cs
- XPathParser.cs
- RawStylusInputCustomData.cs
- TokenCreationParameter.cs
- HwndStylusInputProvider.cs
- TextWriterTraceListener.cs
- ResourcesChangeInfo.cs
- SelectionProcessor.cs
- DrawingCollection.cs
- SpecularMaterial.cs
- WebBrowserHelper.cs
- TrackBar.cs
- DesignerProperties.cs
- SoapExtensionTypeElement.cs
- FilterRepeater.cs
- Stacktrace.cs
- cookiecontainer.cs
- RangeValuePatternIdentifiers.cs
- FileDialogPermission.cs
- DataServiceKeyAttribute.cs
- XmlAttributeAttribute.cs
- CodeThrowExceptionStatement.cs
- MonikerBuilder.cs
- RuleConditionDialog.cs
- VirtualizingPanel.cs
- IApplicationTrustManager.cs
- SoapReflectionImporter.cs
- XMLSchema.cs
- TemplateApplicationHelper.cs
- RegularExpressionValidator.cs
- SwitchLevelAttribute.cs
- IsolationInterop.cs
- Win32.cs
- ExclusiveNamedPipeTransportManager.cs
- FactoryGenerator.cs
- ActivityExecutorOperation.cs
- SqlRowUpdatedEvent.cs
- HTTPNotFoundHandler.cs
- DbExpressionRules.cs
- AddValidationError.cs
- SoapAttributeAttribute.cs
- FactoryId.cs
- Documentation.cs
- CustomAttributeSerializer.cs
- Int64.cs
- Lasso.cs
- TemplateGroupCollection.cs
- XmlDataSourceView.cs
- MembershipSection.cs
- TimeBoundedCache.cs
- TreeNodeStyle.cs
- FileDetails.cs
- SafeBuffer.cs
- HttpStreamXmlDictionaryReader.cs
- COM2IDispatchConverter.cs
- ZipPackagePart.cs
- RegexMatchCollection.cs
- XmlIlTypeHelper.cs