Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / DependencySource.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlElementCollection.cs
- InternalConfigSettingsFactory.cs
- ReadOnlyObservableCollection.cs
- SrgsItemList.cs
- TextEvent.cs
- MarkedHighlightComponent.cs
- XmlLoader.cs
- BreakSafeBase.cs
- SqlCacheDependency.cs
- WorkflowControlEndpoint.cs
- SymbolPair.cs
- SoapHttpTransportImporter.cs
- XamlTypeMapper.cs
- TextElementEnumerator.cs
- ProfileBuildProvider.cs
- XmlSchemaElement.cs
- SqlClientFactory.cs
- ErrorWrapper.cs
- InstanceOwnerQueryResult.cs
- TTSEvent.cs
- EntityTemplateUserControl.cs
- BinaryConverter.cs
- TextTreeNode.cs
- InvokeCompletedEventArgs.cs
- SQLBinary.cs
- MemberInitExpression.cs
- CommandTreeTypeHelper.cs
- HttpClientCertificate.cs
- CodeTypeParameter.cs
- ConnectionStringsExpressionBuilder.cs
- DSACryptoServiceProvider.cs
- DynamicQueryableWrapper.cs
- DataGridTemplateColumn.cs
- WorkItem.cs
- DetailsView.cs
- infer.cs
- RadialGradientBrush.cs
- FontStyles.cs
- Solver.cs
- XmlHierarchicalEnumerable.cs
- XmlExpressionDumper.cs
- DesignerVerb.cs
- DataObject.cs
- NullableDoubleSumAggregationOperator.cs
- OrCondition.cs
- DbExpressionVisitor.cs
- SoapReflectionImporter.cs
- DatatypeImplementation.cs
- FileLevelControlBuilderAttribute.cs
- BindingContext.cs
- Bitmap.cs
- DataError.cs
- HebrewNumber.cs
- DataSetUtil.cs
- ContextMenu.cs
- Point3DCollection.cs
- AvTrace.cs
- PassportAuthenticationModule.cs
- AnnotationMap.cs
- __TransparentProxy.cs
- Point3DCollection.cs
- SqlUserDefinedTypeAttribute.cs
- Filter.cs
- ProfileService.cs
- HtmlTable.cs
- Rectangle.cs
- Maps.cs
- StateBag.cs
- EmbossBitmapEffect.cs
- UntrustedRecipientException.cs
- CipherData.cs
- FolderBrowserDialog.cs
- GridSplitterAutomationPeer.cs
- DataGridViewSortCompareEventArgs.cs
- FormCollection.cs
- Emitter.cs
- ParamArrayAttribute.cs
- InheritedPropertyDescriptor.cs
- SqlDataSourceCommandEventArgs.cs
- HtmlTitle.cs
- SamlAttributeStatement.cs
- CharStorage.cs
- SqlNotificationEventArgs.cs
- TypeValidationEventArgs.cs
- Inline.cs
- RuntimeConfigLKG.cs
- DbProviderServices.cs
- TextEditorThreadLocalStore.cs
- CheckBoxField.cs
- PriorityBindingExpression.cs
- SchemaSetCompiler.cs
- ExtensionDataObject.cs
- MultiPropertyDescriptorGridEntry.cs
- ConcatQueryOperator.cs
- SqlCommandSet.cs
- Camera.cs
- updatecommandorderer.cs
- ProcessProtocolHandler.cs
- GrowingArray.cs
- ProcessActivityTreeOptions.cs