Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ResourceCategoryAttribute.cs
- XPathChildIterator.cs
- DictionaryManager.cs
- panel.cs
- DrawingServices.cs
- ScrollItemProviderWrapper.cs
- StatusBarAutomationPeer.cs
- JulianCalendar.cs
- SvcMapFileSerializer.cs
- HttpServerVarsCollection.cs
- ResourceManagerWrapper.cs
- ForceCopyBuildProvider.cs
- _RequestCacheProtocol.cs
- OleDbError.cs
- CodeTypeReference.cs
- DataSvcMapFileSerializer.cs
- X509CertificateCollection.cs
- EntityDataSourceUtil.cs
- IInstanceContextProvider.cs
- FilteredAttributeCollection.cs
- CollectionViewSource.cs
- Byte.cs
- NavigationFailedEventArgs.cs
- Sorting.cs
- SqlDataSourceEnumerator.cs
- AddressHeader.cs
- DesignerSerializerAttribute.cs
- ElementsClipboardData.cs
- DesignerUtils.cs
- Compiler.cs
- Random.cs
- UInt16Storage.cs
- PointAnimationBase.cs
- CollectionEditVerbManager.cs
- EntitySetBaseCollection.cs
- StreamHelper.cs
- RangeBaseAutomationPeer.cs
- TimeoutException.cs
- DesignerActionListCollection.cs
- StylusPointDescription.cs
- ParserStack.cs
- MouseBinding.cs
- XsdBuildProvider.cs
- PeerNameResolver.cs
- WeakReadOnlyCollection.cs
- OneWayChannelFactory.cs
- xsdvalidator.cs
- ReplacementText.cs
- CompiledQueryCacheKey.cs
- Transactions.cs
- TextTrailingWordEllipsis.cs
- DataGridViewComboBoxColumn.cs
- ResetableIterator.cs
- SQLRoleProvider.cs
- TemplateBuilder.cs
- SystemNetHelpers.cs
- MediaElementAutomationPeer.cs
- OleDbRowUpdatedEvent.cs
- DbReferenceCollection.cs
- CollectionChangedEventManager.cs
- SymmetricAlgorithm.cs
- ScriptResourceInfo.cs
- ToolStripPanelCell.cs
- RequestUriProcessor.cs
- Label.cs
- TableItemPattern.cs
- Section.cs
- Slider.cs
- XPathEmptyIterator.cs
- DisplayToken.cs
- InfoCardRSACryptoProvider.cs
- WebPartVerbCollection.cs
- Parser.cs
- TimeZone.cs
- AppDomainFactory.cs
- IndexedGlyphRun.cs
- _LocalDataStore.cs
- SerializerProvider.cs
- Page.cs
- GACIdentityPermission.cs
- GraphicsPathIterator.cs
- KeyInterop.cs
- DispatcherObject.cs
- ProcessHostFactoryHelper.cs
- WindowsAuthenticationModule.cs
- _SSPIWrapper.cs
- SystemIcons.cs
- SqlClientWrapperSmiStream.cs
- Constraint.cs
- CannotUnloadAppDomainException.cs
- SoapInteropTypes.cs
- WindowsSolidBrush.cs
- Empty.cs
- CollectionChangeEventArgs.cs
- ItemCollectionEditor.cs
- XPathArrayIterator.cs
- SafeFileMappingHandle.cs
- PerformanceCounterManager.cs
- XamlFilter.cs
- Ipv6Element.cs