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
- RelationshipSet.cs
- ExponentialEase.cs
- SHA1.cs
- XmlNodeList.cs
- SharedRuntimeState.cs
- HtmlInputText.cs
- AutoCompleteStringCollection.cs
- RegionInfo.cs
- Convert.cs
- Pair.cs
- DataGrid.cs
- EmptyStringExpandableObjectConverter.cs
- InvalidEnumArgumentException.cs
- WindowCollection.cs
- ListDictionaryInternal.cs
- InvalidOleVariantTypeException.cs
- Configuration.cs
- DescendantQuery.cs
- Table.cs
- PostBackOptions.cs
- XmlWrappingWriter.cs
- ImageBrush.cs
- Image.cs
- LogicalExpr.cs
- JulianCalendar.cs
- ExpressionNormalizer.cs
- DatasetMethodGenerator.cs
- MessageTransmitTraceRecord.cs
- IInstanceTable.cs
- WebBrowserContainer.cs
- QueryExpression.cs
- KnownTypes.cs
- XmlSchemaObject.cs
- SelectionItemPattern.cs
- FormViewDeleteEventArgs.cs
- RotateTransform3D.cs
- XmlException.cs
- TransactionFlowBindingElement.cs
- DbConnectionStringCommon.cs
- DictionarySectionHandler.cs
- DefaultAsyncDataDispatcher.cs
- MemberRelationshipService.cs
- CaseInsensitiveComparer.cs
- SecurityUtils.cs
- RoutingSection.cs
- DeclarativeCatalogPart.cs
- RangeContentEnumerator.cs
- HttpWriter.cs
- ForwardPositionQuery.cs
- XmlWhitespace.cs
- ExecutionContext.cs
- StrongNameIdentityPermission.cs
- ZoomPercentageConverter.cs
- LexicalChunk.cs
- ReadWriteObjectLock.cs
- PersonalizationDictionary.cs
- OpenTypeMethods.cs
- MaskInputRejectedEventArgs.cs
- NetCodeGroup.cs
- WinEventHandler.cs
- ManagedIStream.cs
- SqlXmlStorage.cs
- EmptyImpersonationContext.cs
- XpsS0ValidatingLoader.cs
- XmlDataSourceNodeDescriptor.cs
- ValuePattern.cs
- LogConverter.cs
- HttpBrowserCapabilitiesWrapper.cs
- PolyBezierSegmentFigureLogic.cs
- UpdateCommand.cs
- DataTableReaderListener.cs
- FixedSOMTable.cs
- ExpandCollapsePattern.cs
- StateInitialization.cs
- InfiniteTimeSpanConverter.cs
- DataGridViewCellParsingEventArgs.cs
- AssociationType.cs
- WindowsTooltip.cs
- SafeCertificateStore.cs
- DataGridViewComboBoxColumn.cs
- BitmapImage.cs
- storepermissionattribute.cs
- DataListDesigner.cs
- ResourceDictionaryCollection.cs
- HttpRawResponse.cs
- CodeMethodInvokeExpression.cs
- FilteredDataSetHelper.cs
- XmlWrappingWriter.cs
- AlternateView.cs
- WebException.cs
- BoundConstants.cs
- Visual3D.cs
- DisplayNameAttribute.cs
- AttachedAnnotationChangedEventArgs.cs
- FrameworkElement.cs
- StoragePropertyMapping.cs
- documentsequencetextcontainer.cs
- DefaultShape.cs
- DiagnosticsConfiguration.cs
- List.cs