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
- WebHttpEndpointElement.cs
- ChangesetResponse.cs
- SynchronizedChannelCollection.cs
- EventTrigger.cs
- FrameworkContextData.cs
- HttpDictionary.cs
- SQLInt32Storage.cs
- DataSourceCacheDurationConverter.cs
- ISAPIWorkerRequest.cs
- EntityDataSourceQueryBuilder.cs
- DBDataPermission.cs
- InvalidCommandTreeException.cs
- ADMembershipProvider.cs
- Point3DAnimationUsingKeyFrames.cs
- AddInPipelineAttributes.cs
- ChainedAsyncResult.cs
- GlyphCache.cs
- BamlTreeNode.cs
- DbProviderManifest.cs
- MetaModel.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- OwnerDrawPropertyBag.cs
- DataSourceGeneratorException.cs
- InteropDesigner.xaml.cs
- ClientProxyGenerator.cs
- DecimalAnimation.cs
- DataGridViewCheckBoxColumn.cs
- PolicyManager.cs
- HttpResponseInternalWrapper.cs
- HwndSource.cs
- XpsFixedDocumentReaderWriter.cs
- TextEncodedRawTextWriter.cs
- SystemDiagnosticsSection.cs
- BoundingRectTracker.cs
- ZipIORawDataFileBlock.cs
- BinaryCommonClasses.cs
- MultiBindingExpression.cs
- DataBoundControlAdapter.cs
- HealthMonitoringSectionHelper.cs
- RsaKeyIdentifierClause.cs
- WindowsAuthenticationModule.cs
- DataGridViewRowConverter.cs
- WebPartConnection.cs
- DbExpressionRules.cs
- CompilerTypeWithParams.cs
- PolyLineSegmentFigureLogic.cs
- SchemaUtility.cs
- XPathAncestorQuery.cs
- TextFormattingConverter.cs
- DynamicMethod.cs
- XpsInterleavingPolicy.cs
- ProgressBar.cs
- IdentityValidationException.cs
- BindingsCollection.cs
- StateManagedCollection.cs
- ActivityStatusChangeEventArgs.cs
- CopyNodeSetAction.cs
- XmlMemberMapping.cs
- DrawingVisualDrawingContext.cs
- RoleService.cs
- KeyGestureValueSerializer.cs
- MsmqDecodeHelper.cs
- DrawingContext.cs
- ClientUrlResolverWrapper.cs
- ExtensionElement.cs
- AssociationTypeEmitter.cs
- ResourceReferenceExpression.cs
- TableLayout.cs
- AspNetCompatibilityRequirementsAttribute.cs
- EventLogger.cs
- ObjectDataSourceSelectingEventArgs.cs
- NetworkAddressChange.cs
- ResourceIDHelper.cs
- ChildTable.cs
- _ScatterGatherBuffers.cs
- StateValidator.cs
- EntityViewContainer.cs
- RemotingConfiguration.cs
- XmlSchemaType.cs
- mediaeventshelper.cs
- Selection.cs
- DPTypeDescriptorContext.cs
- BitmapEffectGroup.cs
- Error.cs
- BindingOperations.cs
- TreeNodeCollection.cs
- HandlerWithFactory.cs
- EffectiveValueEntry.cs
- TargetInvocationException.cs
- Camera.cs
- RawTextInputReport.cs
- Html32TextWriter.cs
- MarkupObject.cs
- ScaleTransform3D.cs
- AppearanceEditorPart.cs
- XsdCachingReader.cs
- Permission.cs
- Mutex.cs
- CodeThrowExceptionStatement.cs
- ObjectSpanRewriter.cs