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
- HScrollBar.cs
- WebPartMenu.cs
- MachineKeySection.cs
- TextDecorationCollection.cs
- CapiSafeHandles.cs
- XmlJsonWriter.cs
- __Filters.cs
- PageThemeParser.cs
- DoubleConverter.cs
- XmlObjectSerializerReadContextComplex.cs
- SelectorAutomationPeer.cs
- Deserializer.cs
- MobileControlBuilder.cs
- LicenseManager.cs
- OutOfProcStateClientManager.cs
- WebConfigurationHost.cs
- SqlException.cs
- CTreeGenerator.cs
- XPathNodeHelper.cs
- AnalyzedTree.cs
- ContextBase.cs
- ListItemCollection.cs
- ValidationVisibilityAttribute.cs
- EventWaitHandleSecurity.cs
- XmlSchemaDocumentation.cs
- WmlTextViewAdapter.cs
- MetadataArtifactLoaderResource.cs
- ObjectContextServiceProvider.cs
- HttpDebugHandler.cs
- FilteredAttributeCollection.cs
- PhonemeEventArgs.cs
- PreservationFileWriter.cs
- ViewEvent.cs
- ClientSession.cs
- RoutedEvent.cs
- GenerateTemporaryTargetAssembly.cs
- InvocationExpression.cs
- ErrorInfoXmlDocument.cs
- TranslateTransform.cs
- SchemaHelper.cs
- WindowsToolbar.cs
- TabControlAutomationPeer.cs
- MultipartIdentifier.cs
- DependencyPropertyDescriptor.cs
- DataServiceConfiguration.cs
- BmpBitmapDecoder.cs
- DataGridViewRowCancelEventArgs.cs
- KeyedHashAlgorithm.cs
- PropertyGroupDescription.cs
- FontUnitConverter.cs
- PickBranch.cs
- SecurityMessageProperty.cs
- KnownColorTable.cs
- PagedDataSource.cs
- StorageEntitySetMapping.cs
- IsolatedStorageFile.cs
- DbDataRecord.cs
- CompilerHelpers.cs
- UrlPropertyAttribute.cs
- Message.cs
- UnsafeNetInfoNativeMethods.cs
- GeneralTransform3DTo2D.cs
- SafeFileHandle.cs
- DataGridState.cs
- TabletDevice.cs
- SrgsRule.cs
- ISSmlParser.cs
- ToolStripComboBox.cs
- nulltextcontainer.cs
- LoadedOrUnloadedOperation.cs
- TextCollapsingProperties.cs
- PropertyBuilder.cs
- TagNameToTypeMapper.cs
- UpnEndpointIdentityExtension.cs
- ListViewEditEventArgs.cs
- GiveFeedbackEventArgs.cs
- ConnectionsZoneAutoFormat.cs
- OracleCommand.cs
- AppDomainAttributes.cs
- DesigntimeLicenseContextSerializer.cs
- XmlEnumAttribute.cs
- URLIdentityPermission.cs
- IxmlLineInfo.cs
- StringDictionary.cs
- DecoderNLS.cs
- ToolStripContentPanel.cs
- SQLInt32.cs
- SimpleApplicationHost.cs
- Keyboard.cs
- Cursor.cs
- OleAutBinder.cs
- WsatServiceCertificate.cs
- PageThemeParser.cs
- InvalidCastException.cs
- StoreItemCollection.Loader.cs
- ComponentDispatcherThread.cs
- Walker.cs
- MethodCallConverter.cs
- ListSourceHelper.cs
- ConnectionAcceptor.cs