Code:
/ 4.0 / 4.0 / 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.
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
- TabItem.cs
- TemplateParser.cs
- EntityContainerRelationshipSet.cs
- GridSplitter.cs
- DBSqlParser.cs
- PropertyDescriptorGridEntry.cs
- EventLog.cs
- TypedTableBase.cs
- DynamicResourceExtension.cs
- ManagementObjectSearcher.cs
- ErrorWrapper.cs
- ClosureBinding.cs
- NavigationExpr.cs
- IsolatedStorageException.cs
- PartialCachingAttribute.cs
- SecurityManager.cs
- NamespaceDisplay.xaml.cs
- SoapHeaders.cs
- TempFiles.cs
- SoapElementAttribute.cs
- TextPatternIdentifiers.cs
- MouseWheelEventArgs.cs
- HttpCookie.cs
- KeyFrames.cs
- ControlFilterExpression.cs
- ToolBarButtonClickEvent.cs
- DatatypeImplementation.cs
- ProxyHelper.cs
- WebPartZone.cs
- ProxyGenerator.cs
- DataPagerFieldItem.cs
- PersianCalendar.cs
- ComponentResourceKeyConverter.cs
- TypeConverterAttribute.cs
- ILGenerator.cs
- PropertyEmitter.cs
- CodeObject.cs
- precedingsibling.cs
- BlurBitmapEffect.cs
- LinqDataSourceDisposeEventArgs.cs
- XmlReflectionMember.cs
- HtmlControlDesigner.cs
- TcpAppDomainProtocolHandler.cs
- CollectionChangedEventManager.cs
- LogManagementAsyncResult.cs
- ProfileInfo.cs
- RegexWorker.cs
- EventRoute.cs
- NonParentingControl.cs
- ContextBase.cs
- PropertyCollection.cs
- WebFormsRootDesigner.cs
- Instrumentation.cs
- ProgressBarHighlightConverter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SingleConverter.cs
- Transform.cs
- SourceSwitch.cs
- ServiceMemoryGates.cs
- AmbientEnvironment.cs
- SoapDocumentMethodAttribute.cs
- PropertyConverter.cs
- ArrangedElement.cs
- DrawingDrawingContext.cs
- TrustLevel.cs
- PresentationSource.cs
- ScriptingSectionGroup.cs
- DoubleAnimationBase.cs
- WebPartEditorApplyVerb.cs
- KeyNotFoundException.cs
- TimeStampChecker.cs
- ThaiBuddhistCalendar.cs
- ArrangedElementCollection.cs
- FunctionQuery.cs
- CompilerWrapper.cs
- SQLChars.cs
- TagNameToTypeMapper.cs
- MethodExpr.cs
- DataServiceQuery.cs
- WebPartCancelEventArgs.cs
- MetricEntry.cs
- DuplicateWaitObjectException.cs
- DecimalConverter.cs
- Clock.cs
- TabItemAutomationPeer.cs
- FamilyMap.cs
- FileChangesMonitor.cs
- OnOperation.cs
- ThicknessAnimationBase.cs
- Annotation.cs
- EdmTypeAttribute.cs
- VirtualizingPanel.cs
- BookmarkEventArgs.cs
- SiteIdentityPermission.cs
- TraceSource.cs
- WmlTextBoxAdapter.cs
- SmtpCommands.cs
- XamlPointCollectionSerializer.cs
- FontFamilyValueSerializer.cs
- LowerCaseStringConverter.cs