Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- WebPartVerbsEventArgs.cs
- AuthenticationService.cs
- ReadOnlyAttribute.cs
- XmlSchemaType.cs
- TableItemProviderWrapper.cs
- SendParametersContent.cs
- RowsCopiedEventArgs.cs
- StylusShape.cs
- ValidationEventArgs.cs
- NavigationProperty.cs
- DataGridViewCellFormattingEventArgs.cs
- DocumentPageViewAutomationPeer.cs
- MbpInfo.cs
- TreeViewHitTestInfo.cs
- CapabilitiesUse.cs
- OpCopier.cs
- PointLightBase.cs
- TemplateKey.cs
- ErrorStyle.cs
- TextRangeEditLists.cs
- ParameterCollection.cs
- InternalBufferOverflowException.cs
- Tile.cs
- PolicyLevel.cs
- DataContractJsonSerializer.cs
- ByteStream.cs
- DataTableMapping.cs
- CodeNamespaceImport.cs
- DoubleAnimationClockResource.cs
- CompositionTarget.cs
- bidPrivateBase.cs
- BaseConfigurationRecord.cs
- HtmlInputButton.cs
- RuntimeEnvironment.cs
- ResXBuildProvider.cs
- Animatable.cs
- DBParameter.cs
- RoleGroupCollection.cs
- DataConnectionHelper.cs
- MetadataUtilsSmi.cs
- Logging.cs
- UTF7Encoding.cs
- TextBlockAutomationPeer.cs
- SoundPlayerAction.cs
- DictionarySectionHandler.cs
- EntityDataSourceChangedEventArgs.cs
- OutputScopeManager.cs
- TextSimpleMarkerProperties.cs
- HostedHttpRequestAsyncResult.cs
- ModelPerspective.cs
- DataGridViewCellConverter.cs
- KeySplineConverter.cs
- ContentPlaceHolder.cs
- SystemColors.cs
- Parameter.cs
- XmlMtomWriter.cs
- StringUtil.cs
- SerializationSectionGroup.cs
- OdbcException.cs
- SplineKeyFrames.cs
- ToolBar.cs
- HierarchicalDataSourceControl.cs
- X509Utils.cs
- SqlInternalConnectionTds.cs
- XmlSchemaSearchPattern.cs
- TextContainerHelper.cs
- CommonProperties.cs
- UIServiceHelper.cs
- AdCreatedEventArgs.cs
- NetworkInformationPermission.cs
- ContextDataSource.cs
- WorkflowServiceAttributes.cs
- TextElementAutomationPeer.cs
- WindowsFormsSynchronizationContext.cs
- ColorIndependentAnimationStorage.cs
- StyleXamlTreeBuilder.cs
- ObjectListCommandCollection.cs
- HeaderUtility.cs
- RequestUriProcessor.cs
- OleDbException.cs
- SafeCertificateStore.cs
- MaskDesignerDialog.cs
- BinaryCommonClasses.cs
- WebException.cs
- UInt16Converter.cs
- TextContainerChangedEventArgs.cs
- EntityDesignerUtils.cs
- LocalizedNameDescriptionPair.cs
- CriticalFinalizerObject.cs
- Graphics.cs
- EndpointAddressElementBase.cs
- MLangCodePageEncoding.cs
- PropertyItemInternal.cs
- MethodResolver.cs
- StandardOleMarshalObject.cs
- Trace.cs
- PeerName.cs
- WorkflowMessageEventHandler.cs
- CalendarDayButton.cs
- KeyInstance.cs