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
- AssertUtility.cs
- InheritanceAttribute.cs
- EncryptedPackage.cs
- PopupControlService.cs
- HttpPostedFile.cs
- ControlBuilderAttribute.cs
- CompositeScriptReference.cs
- FixUp.cs
- TypeToken.cs
- UIPropertyMetadata.cs
- DependencyPropertyValueSerializer.cs
- Cell.cs
- DispatcherExceptionFilterEventArgs.cs
- SoundPlayer.cs
- BufferedStream.cs
- Camera.cs
- PropertyToken.cs
- FileSecurity.cs
- SqlNotificationEventArgs.cs
- WebEncodingValidator.cs
- IisTraceWebEventProvider.cs
- XmlName.cs
- WebServiceData.cs
- CodeDomConfigurationHandler.cs
- DPTypeDescriptorContext.cs
- XmlSiteMapProvider.cs
- MailMessage.cs
- PinnedBufferMemoryStream.cs
- XmlReaderSettings.cs
- ExpressionDumper.cs
- _SecureChannel.cs
- ColumnReorderedEventArgs.cs
- ISAPIApplicationHost.cs
- XPathSingletonIterator.cs
- BaseUriHelper.cs
- XPathBinder.cs
- HistoryEventArgs.cs
- ZeroOpNode.cs
- DocumentPage.cs
- XmlCharacterData.cs
- KnownBoxes.cs
- VerticalAlignConverter.cs
- HostingEnvironmentSection.cs
- LinkTarget.cs
- SelectionHighlightInfo.cs
- RectangleConverter.cs
- MarkerProperties.cs
- CursorConverter.cs
- Vector3D.cs
- WebEventTraceProvider.cs
- IFlowDocumentViewer.cs
- CommandID.cs
- ProtectedConfiguration.cs
- ElementInit.cs
- XmlSchemaObjectCollection.cs
- SchemaObjectWriter.cs
- TransformerConfigurationWizardBase.cs
- ScriptingRoleServiceSection.cs
- ServiceNameElement.cs
- SHA1CryptoServiceProvider.cs
- DatePicker.cs
- EventItfInfo.cs
- ApplicationContext.cs
- FileInfo.cs
- SymbolMethod.cs
- GenerateTemporaryAssemblyTask.cs
- ListManagerBindingsCollection.cs
- ImageDrawing.cs
- SelectedGridItemChangedEvent.cs
- DesignerView.cs
- AdPostCacheSubstitution.cs
- ForwardPositionQuery.cs
- FontFamilyIdentifier.cs
- ListControl.cs
- Image.cs
- UIAgentRequest.cs
- DetailsViewCommandEventArgs.cs
- WarningException.cs
- WindowsAuthenticationModule.cs
- COM2ExtendedBrowsingHandler.cs
- OleAutBinder.cs
- BamlRecordWriter.cs
- VBIdentifierDesigner.xaml.cs
- UrlAuthorizationModule.cs
- DbConnectionHelper.cs
- DSASignatureFormatter.cs
- AsymmetricAlgorithm.cs
- ProfilePropertyMetadata.cs
- MembershipValidatePasswordEventArgs.cs
- DirectoryLocalQuery.cs
- SwitchLevelAttribute.cs
- WebScriptEnablingBehavior.cs
- MethodSignatureGenerator.cs
- SafeIUnknown.cs
- ContractListAdapter.cs
- SchemaObjectWriter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- MarkupWriter.cs
- RuleSettingsCollection.cs
- PassportIdentity.cs