Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ClusterRegistryConfigurationProvider.cs
- EntityCommand.cs
- InputLanguage.cs
- MobileControlBuilder.cs
- CodeMemberMethod.cs
- HorizontalAlignConverter.cs
- DistributedTransactionPermission.cs
- Stack.cs
- DetailsViewDeleteEventArgs.cs
- Path.cs
- NetCodeGroup.cs
- AmbientProperties.cs
- XmlSequenceWriter.cs
- BitConverter.cs
- PinnedBufferMemoryStream.cs
- Latin1Encoding.cs
- XmlName.cs
- EdmItemCollection.OcAssemblyCache.cs
- SmiXetterAccessMap.cs
- OperandQuery.cs
- InternalDuplexBindingElement.cs
- MulticastDelegate.cs
- DriveInfo.cs
- FontInfo.cs
- CompoundFileIOPermission.cs
- BufferBuilder.cs
- QueryOutputWriter.cs
- TaiwanCalendar.cs
- LinkButton.cs
- PrintController.cs
- Membership.cs
- ServiceMetadataPublishingElement.cs
- OpenFileDialog.cs
- ManagedWndProcTracker.cs
- TransformGroup.cs
- FixedTextBuilder.cs
- HttpEncoder.cs
- DataQuery.cs
- D3DImage.cs
- SemaphoreFullException.cs
- BaseProcessProtocolHandler.cs
- WarningException.cs
- InstanceStore.cs
- RoleService.cs
- DataMisalignedException.cs
- SpellCheck.cs
- CodeTypeReferenceCollection.cs
- PointAnimationBase.cs
- XamlReaderHelper.cs
- EmptyCollection.cs
- DoubleAnimationBase.cs
- QueryCreatedEventArgs.cs
- WindowsListViewGroupHelper.cs
- DataGridColumnFloatingHeader.cs
- XmlAnyAttributeAttribute.cs
- RecordConverter.cs
- EnumValidator.cs
- SqlAliaser.cs
- ObservableCollection.cs
- GroupLabel.cs
- ProcessModelInfo.cs
- LockCookie.cs
- FloaterParagraph.cs
- MulticastDelegate.cs
- XmlSchemaSimpleContent.cs
- OutputCacheSettings.cs
- SecurityDocument.cs
- InternalsVisibleToAttribute.cs
- GridProviderWrapper.cs
- GridViewColumnHeader.cs
- DropSource.cs
- TraceProvider.cs
- figurelengthconverter.cs
- SqlTrackingService.cs
- CategoryNameCollection.cs
- Attributes.cs
- IgnoreSectionHandler.cs
- GeneralTransform3DGroup.cs
- ToolStripContentPanel.cs
- IndexedEnumerable.cs
- OdbcTransaction.cs
- DataKey.cs
- WebBrowserSiteBase.cs
- PEFileEvidenceFactory.cs
- ArcSegment.cs
- PopupEventArgs.cs
- HtmlTable.cs
- PixelShader.cs
- ZipIOCentralDirectoryBlock.cs
- __Error.cs
- XmlParserContext.cs
- MailMessageEventArgs.cs
- WebPartTransformerCollection.cs
- RSAPKCS1SignatureDeformatter.cs
- Timeline.cs
- DataGridViewCellCollection.cs
- FtpRequestCacheValidator.cs
- DateTimeConverter2.cs
- DurableInstance.cs
- SpellerStatusTable.cs