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
- Collection.cs
- RowToFieldTransformer.cs
- HttpModuleCollection.cs
- WindowsRebar.cs
- ProviderMetadata.cs
- VariableValue.cs
- ImageUrlEditor.cs
- XmlSecureResolver.cs
- ActionFrame.cs
- ImageFormat.cs
- DBAsyncResult.cs
- DataControlFieldTypeEditor.cs
- ServiceOperationParameter.cs
- DataContractSet.cs
- DataRecord.cs
- DataGridViewLinkCell.cs
- input.cs
- AddInServer.cs
- PageThemeCodeDomTreeGenerator.cs
- SiteMapHierarchicalDataSourceView.cs
- DragDeltaEventArgs.cs
- AtomMaterializer.cs
- ObjectListItem.cs
- CompatibleComparer.cs
- CircleEase.cs
- EntityClassGenerator.cs
- RenderTargetBitmap.cs
- shaper.cs
- MetadataImporterQuotas.cs
- securitymgrsite.cs
- SynchronizationContext.cs
- WinFormsSpinner.cs
- OptimisticConcurrencyException.cs
- EntityStoreSchemaFilterEntry.cs
- DataControlExtensions.cs
- SystemWebSectionGroup.cs
- ActivityBindForm.Designer.cs
- TablePattern.cs
- ProvidePropertyAttribute.cs
- LookupBindingPropertiesAttribute.cs
- RelationalExpressions.cs
- PrintController.cs
- InputLangChangeRequestEvent.cs
- AnnouncementEventArgs.cs
- CustomWebEventKey.cs
- COM2PictureConverter.cs
- DictionaryManager.cs
- HGlobalSafeHandle.cs
- FontFamilyIdentifier.cs
- ListViewInsertedEventArgs.cs
- DocumentGridPage.cs
- WebPartPersonalization.cs
- DataGridViewCellValidatingEventArgs.cs
- SQLMoneyStorage.cs
- ClientRuntimeConfig.cs
- DataColumnMapping.cs
- ActivityValidator.cs
- DesignerCapabilities.cs
- DiagnosticTraceSource.cs
- XmlSchemaSequence.cs
- WhereaboutsReader.cs
- ACL.cs
- _AutoWebProxyScriptHelper.cs
- Root.cs
- WizardStepBase.cs
- GridProviderWrapper.cs
- ResourceCodeDomSerializer.cs
- SessionParameter.cs
- Int32.cs
- RectangleF.cs
- XmlDataSourceView.cs
- ConfigXmlWhitespace.cs
- BulletedList.cs
- PersistChildrenAttribute.cs
- AddInServer.cs
- ControlBindingsCollection.cs
- StatusInfoItem.cs
- LabelExpression.cs
- PointConverter.cs
- StyleTypedPropertyAttribute.cs
- MetadataArtifactLoaderCompositeFile.cs
- TextTreeUndo.cs
- PageContent.cs
- EncryptedData.cs
- WebZone.cs
- DetailsViewActionList.cs
- PropertyTabAttribute.cs
- HttpModuleActionCollection.cs
- XmlException.cs
- TextSpanModifier.cs
- MembershipSection.cs
- IdentityReference.cs
- StylusPointPropertyInfoDefaults.cs
- LoadMessageLogger.cs
- FixedSOMPage.cs
- EncodingNLS.cs
- ObjectSet.cs
- TakeQueryOptionExpression.cs
- DriveNotFoundException.cs
- FormView.cs