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
- DataGridCell.cs
- EditorBrowsableAttribute.cs
- CharConverter.cs
- WebServiceTypeData.cs
- XmlWellformedWriter.cs
- SqlDataSourceView.cs
- InvalidDataContractException.cs
- QueryCursorEventArgs.cs
- UserMapPath.cs
- XmlQualifiedNameTest.cs
- _SslState.cs
- InvokeFunc.cs
- DropShadowEffect.cs
- MatrixIndependentAnimationStorage.cs
- PerfCounters.cs
- ApplicationServiceHelper.cs
- MeasurementDCInfo.cs
- NegotiateStream.cs
- TraceData.cs
- XPathDocumentIterator.cs
- MailAddress.cs
- CompositionTarget.cs
- FixedDSBuilder.cs
- FilterQueryOptionExpression.cs
- ToolStripActionList.cs
- Profiler.cs
- StringToken.cs
- SQlBooleanStorage.cs
- RbTree.cs
- DataGridHeaderBorder.cs
- JournalEntryStack.cs
- MessageBuilder.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- unitconverter.cs
- TemplateKeyConverter.cs
- DbDataRecord.cs
- DecimalStorage.cs
- hresults.cs
- MouseGesture.cs
- _NestedSingleAsyncResult.cs
- XmlHelper.cs
- DynamicUpdateCommand.cs
- Version.cs
- DocobjHost.cs
- AlternationConverter.cs
- FixedSOMGroup.cs
- HyperLinkStyle.cs
- ComboBox.cs
- GridSplitter.cs
- TranslateTransform3D.cs
- CodeBlockBuilder.cs
- CompiledELinqQueryState.cs
- SMSvcHost.cs
- CodeTypeConstructor.cs
- TypedTableBaseExtensions.cs
- __FastResourceComparer.cs
- AnnotationObservableCollection.cs
- SyndicationSerializer.cs
- XmlNodeReader.cs
- precedingquery.cs
- BaseCodePageEncoding.cs
- UnsafeMethods.cs
- ViewPort3D.cs
- DataBindingCollectionEditor.cs
- TypeLoadException.cs
- StyleHelper.cs
- DataSourceUtil.cs
- RoleGroupCollection.cs
- Border.cs
- Vector3dCollection.cs
- FixedPageProcessor.cs
- PersonalizationState.cs
- TemplatePagerField.cs
- DynamicPropertyHolder.cs
- SafeTimerHandle.cs
- GroupItemAutomationPeer.cs
- NCryptSafeHandles.cs
- GCHandleCookieTable.cs
- SynchronizedRandom.cs
- MissingSatelliteAssemblyException.cs
- Byte.cs
- ExpressionList.cs
- WorkflowHostingResponseContext.cs
- Int64AnimationBase.cs
- WebPartVerbsEventArgs.cs
- HttpResponseHeader.cs
- HitTestParameters3D.cs
- ButtonAutomationPeer.cs
- PageEventArgs.cs
- FileAuthorizationModule.cs
- Rotation3DAnimation.cs
- LayoutTableCell.cs
- MembershipSection.cs
- Overlapped.cs
- Overlapped.cs
- CompatibleComparer.cs
- Mappings.cs
- OutKeywords.cs
- TextAutomationPeer.cs
- MimePart.cs