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
- LineServicesRun.cs
- SafeHandles.cs
- SafeCryptContextHandle.cs
- ValidationEventArgs.cs
- XmlILOptimizerVisitor.cs
- EntityProxyFactory.cs
- ConversionHelper.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ColorIndependentAnimationStorage.cs
- CodeObjectCreateExpression.cs
- RemotingAttributes.cs
- ClientRolePrincipal.cs
- SecurityPolicyVersion.cs
- InternalCache.cs
- OwnerDrawPropertyBag.cs
- ConnectionPointConverter.cs
- HtmlCommandAdapter.cs
- DataKeyCollection.cs
- PropagatorResult.cs
- HandlerBase.cs
- InsufficientMemoryException.cs
- NativeMethods.cs
- UiaCoreApi.cs
- StatusBar.cs
- ResetableIterator.cs
- GetReadStreamResult.cs
- oledbmetadatacollectionnames.cs
- OperatorExpressions.cs
- ErrorWebPart.cs
- ServerValidateEventArgs.cs
- StringTraceRecord.cs
- TemplateColumn.cs
- DesignerTransaction.cs
- SelectionProcessor.cs
- HybridDictionary.cs
- FileUtil.cs
- PropertySourceInfo.cs
- RenderData.cs
- DynamicResourceExtension.cs
- Tablet.cs
- DataGridItemEventArgs.cs
- HttpHandlerActionCollection.cs
- TextSpan.cs
- CodeCommentStatement.cs
- COM2EnumConverter.cs
- FlowLayout.cs
- MD5.cs
- ClientConfigPaths.cs
- MimeReflector.cs
- KeyConverter.cs
- ManifestSignatureInformation.cs
- Aggregates.cs
- ParallelDesigner.cs
- DataColumnCollection.cs
- TextBreakpoint.cs
- SettingsPropertyCollection.cs
- ListControlConvertEventArgs.cs
- ToolStripManager.cs
- VerticalAlignConverter.cs
- AttachedPropertyDescriptor.cs
- RemoteWebConfigurationHost.cs
- RoleServiceManager.cs
- AnnotationDocumentPaginator.cs
- HtmlForm.cs
- StateMachineHistory.cs
- GroupDescription.cs
- XmlName.cs
- RegexWriter.cs
- AuthenticationConfig.cs
- PriorityQueue.cs
- CompiledELinqQueryState.cs
- WebDescriptionAttribute.cs
- WindowsSlider.cs
- DataControlImageButton.cs
- OleDbException.cs
- WebPartUtil.cs
- SHA512Managed.cs
- StorageModelBuildProvider.cs
- PaintValueEventArgs.cs
- ValidationRule.cs
- XmlNullResolver.cs
- XmlDownloadManager.cs
- ListViewGroupConverter.cs
- SimpleFileLog.cs
- EqualityComparer.cs
- TraversalRequest.cs
- WebPartEditorOkVerb.cs
- uribuilder.cs
- TableLayoutColumnStyleCollection.cs
- Drawing.cs
- FactoryRecord.cs
- ChangePassword.cs
- DataGridViewAddColumnDialog.cs
- WebPartEventArgs.cs
- ObjectSet.cs
- IsolatedStoragePermission.cs
- ColorBlend.cs
- Nullable.cs
- DefaultValueConverter.cs
- HitTestWithPointDrawingContextWalker.cs