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
- MethodCallTranslator.cs
- CommentAction.cs
- CursorInteropHelper.cs
- DeclarativeCatalogPart.cs
- FileSecurity.cs
- DaylightTime.cs
- securitycriticaldata.cs
- ApplicationFileParser.cs
- RadioButton.cs
- mactripleDES.cs
- SetterBase.cs
- RtfToXamlLexer.cs
- InputReport.cs
- StringKeyFrameCollection.cs
- QilValidationVisitor.cs
- SystemIPGlobalStatistics.cs
- PageStatePersister.cs
- CompilerGeneratedAttribute.cs
- ImageAnimator.cs
- TcpChannelListener.cs
- AmbientLight.cs
- ToolBarButtonDesigner.cs
- XmlCountingReader.cs
- CodeParameterDeclarationExpressionCollection.cs
- DynamicArgumentDialog.cs
- HttpFileCollection.cs
- TextEffectCollection.cs
- ProfileInfo.cs
- CultureTable.cs
- IntAverageAggregationOperator.cs
- SelectManyQueryOperator.cs
- XamlStyleSerializer.cs
- Expression.cs
- SchemaObjectWriter.cs
- BuildProvider.cs
- SchemaImporterExtensionElementCollection.cs
- Size.cs
- DataRelationCollection.cs
- ReadOnlyKeyedCollection.cs
- RepeaterItem.cs
- CallSite.cs
- UTF8Encoding.cs
- RectangleF.cs
- Configuration.cs
- ResourceLoader.cs
- RadioButtonStandardAdapter.cs
- XmlNullResolver.cs
- Visitor.cs
- DataRowView.cs
- basenumberconverter.cs
- InstanceNormalEvent.cs
- cryptoapiTransform.cs
- InstallerTypeAttribute.cs
- RestClientProxyHandler.cs
- ThreadStateException.cs
- RichTextBox.cs
- X509SecurityToken.cs
- InteropAutomationProvider.cs
- ByteAnimationBase.cs
- SecurityDocument.cs
- XmlTextReaderImpl.cs
- HebrewCalendar.cs
- NodeInfo.cs
- PersonalizablePropertyEntry.cs
- XmlElementList.cs
- LinkClickEvent.cs
- ProjectionCamera.cs
- CaseStatementProjectedSlot.cs
- SctClaimDictionary.cs
- AppearanceEditorPart.cs
- XmlSchemaFacet.cs
- BamlBinaryWriter.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ConditionalAttribute.cs
- DateTimeFormatInfoScanner.cs
- Mapping.cs
- ParameterBuilder.cs
- _ConnectionGroup.cs
- GrammarBuilderDictation.cs
- GrabHandleGlyph.cs
- PeerInputChannel.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- WebZoneDesigner.cs
- AmbientEnvironment.cs
- MachineKeyConverter.cs
- DeploymentSectionCache.cs
- TextLineResult.cs
- AudioSignalProblemOccurredEventArgs.cs
- TypeElementCollection.cs
- Point3DAnimationBase.cs
- ToolstripProfessionalRenderer.cs
- ArglessEventHandlerProxy.cs
- ReaderOutput.cs
- RegularExpressionValidator.cs
- TextOnlyOutput.cs
- commandenforcer.cs
- TextInfo.cs
- WindowsStatic.cs
- Wildcard.cs
- TextOnlyOutput.cs