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
- MailMessageEventArgs.cs
- ManagedWndProcTracker.cs
- GenericsInstances.cs
- JsonObjectDataContract.cs
- TextDecoration.cs
- StructuredTypeInfo.cs
- DoubleLink.cs
- Compilation.cs
- ReservationNotFoundException.cs
- TableItemPattern.cs
- HwndHost.cs
- LoginAutoFormat.cs
- EntityReference.cs
- ProfileService.cs
- NameValueFileSectionHandler.cs
- PerfCounters.cs
- TaiwanLunisolarCalendar.cs
- MouseBinding.cs
- FixedSOMTable.cs
- NodeInfo.cs
- XpsViewerException.cs
- InplaceBitmapMetadataWriter.cs
- SoapSchemaImporter.cs
- SafeArrayRankMismatchException.cs
- EntityContainerAssociationSetEnd.cs
- SignedXml.cs
- FamilyTypefaceCollection.cs
- NameSpaceExtractor.cs
- RelationshipEndMember.cs
- NamedPermissionSet.cs
- SqlFactory.cs
- StandardCommands.cs
- DbException.cs
- Clipboard.cs
- ObjectContextServiceProvider.cs
- NonClientArea.cs
- FormsAuthenticationEventArgs.cs
- ConfigDefinitionUpdates.cs
- XPathParser.cs
- XmlWriterSettings.cs
- BCLDebug.cs
- BitmapPalette.cs
- DataServiceStreamResponse.cs
- XmlUtf8RawTextWriter.cs
- TextEditorLists.cs
- XmlJsonWriter.cs
- QuaternionValueSerializer.cs
- BufferBuilder.cs
- LocatorManager.cs
- DataTableTypeConverter.cs
- DateBoldEvent.cs
- AssemblyAttributes.cs
- NumberSubstitution.cs
- ImplicitInputBrush.cs
- VisualStyleInformation.cs
- WindowsButton.cs
- CultureInfoConverter.cs
- CollectionsUtil.cs
- ConfigurationManager.cs
- DeferredElementTreeState.cs
- XmlText.cs
- _LocalDataStoreMgr.cs
- DependencyProperty.cs
- ContainerUtilities.cs
- Signature.cs
- FileSystemWatcher.cs
- StreamUpdate.cs
- AccessorTable.cs
- WrappingXamlSchemaContext.cs
- StateRuntime.cs
- CounterCreationData.cs
- XmlAutoDetectWriter.cs
- Stack.cs
- TableColumnCollection.cs
- VScrollBar.cs
- DelayLoadType.cs
- ComponentChangingEvent.cs
- FacetDescription.cs
- ReachDocumentPageSerializer.cs
- Statements.cs
- PersonalizationStateInfo.cs
- XPathDocumentBuilder.cs
- InArgumentConverter.cs
- DeferrableContent.cs
- DateTimeFormatInfo.cs
- DecoderFallbackWithFailureFlag.cs
- DataSourceCollectionBase.cs
- MaskInputRejectedEventArgs.cs
- TreeSet.cs
- PersonalizableTypeEntry.cs
- CacheDependency.cs
- DateTimeFormatInfo.cs
- VirtualPathUtility.cs
- BaseCollection.cs
- Msec.cs
- FileVersion.cs
- MsmqBindingElementBase.cs
- InternalTransaction.cs
- BooleanStorage.cs
- Color.cs