Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / DependencySource.cs / 1305600 / 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
- XmlSchemaRedefine.cs
- QueryGeneratorBase.cs
- HandlerBase.cs
- TemplateAction.cs
- HttpInputStream.cs
- BaseCodePageEncoding.cs
- ExpressionBinding.cs
- TextBox.cs
- ResXResourceSet.cs
- IncrementalHitTester.cs
- Light.cs
- PointConverter.cs
- _ConnectStream.cs
- DataBoundControlHelper.cs
- DataColumnMappingCollection.cs
- AppDomainUnloadedException.cs
- EventMappingSettingsCollection.cs
- HttpSocketManager.cs
- URI.cs
- AnimationLayer.cs
- DataGridViewRowEventArgs.cs
- BuildProvider.cs
- ParserExtension.cs
- MenuItemStyleCollectionEditor.cs
- GroupBoxAutomationPeer.cs
- TableColumnCollection.cs
- ListView.cs
- ActiveDocumentEvent.cs
- SqlConnectionFactory.cs
- Renderer.cs
- SelectionWordBreaker.cs
- FontStretchConverter.cs
- Pkcs7Recipient.cs
- ConnectionProviderAttribute.cs
- SqlUtils.cs
- SynchronousChannelMergeEnumerator.cs
- ConfigUtil.cs
- SqlCacheDependencySection.cs
- EdmProviderManifest.cs
- BitmapEffectInputData.cs
- UIntPtr.cs
- BuildManager.cs
- HtmlInputControl.cs
- LayoutEditorPart.cs
- PropertyEmitter.cs
- SqlGatherConsumedAliases.cs
- VarInfo.cs
- _UriTypeConverter.cs
- DataSvcMapFile.cs
- SafeCertificateContext.cs
- KeyConstraint.cs
- CorrelationManager.cs
- SpeechEvent.cs
- KnownTypes.cs
- SemanticBasicElement.cs
- HierarchicalDataBoundControlAdapter.cs
- ExeConfigurationFileMap.cs
- ExpandableObjectConverter.cs
- ChameleonKey.cs
- ApplicationManager.cs
- StorageInfo.cs
- SponsorHelper.cs
- BasicKeyConstraint.cs
- EditingCoordinator.cs
- ListSourceHelper.cs
- XamlStream.cs
- CodeRegionDirective.cs
- TerminatorSinks.cs
- XPathDescendantIterator.cs
- Privilege.cs
- ValidationHelper.cs
- EntityContainerEntitySet.cs
- MeasurementDCInfo.cs
- GenericWebPart.cs
- SetIterators.cs
- httpapplicationstate.cs
- AutoGeneratedFieldProperties.cs
- CodeMemberMethod.cs
- Int64Animation.cs
- X509ServiceCertificateAuthentication.cs
- EdmError.cs
- EditCommandColumn.cs
- WebPartMenu.cs
- CommandEventArgs.cs
- DecimalAnimation.cs
- SqlDataAdapter.cs
- SafeFileMappingHandle.cs
- TemplateControl.cs
- RoleService.cs
- HostingPreferredMapPath.cs
- InfoCardKeyedHashAlgorithm.cs
- FakeModelItemImpl.cs
- XmlDataProvider.cs
- MILUtilities.cs
- VerificationException.cs
- RadioButton.cs
- TargetControlTypeCache.cs
- SafeCoTaskMem.cs
- StateManager.cs
- XPathArrayIterator.cs