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
- PersonalizableTypeEntry.cs
- DrawingContextWalker.cs
- Matrix3DConverter.cs
- GraphicsContainer.cs
- VirtualizingStackPanel.cs
- DllHostedComPlusServiceHost.cs
- DiscoveryDocumentSerializer.cs
- Object.cs
- DrawingImage.cs
- XPathCompileException.cs
- mil_commands.cs
- InheritablePropertyChangeInfo.cs
- MobileUITypeEditor.cs
- XmlAttributeAttribute.cs
- AutomationPeer.cs
- ClientScriptItem.cs
- RolePrincipal.cs
- KnownAssembliesSet.cs
- AsyncWaitHandle.cs
- NegatedCellConstant.cs
- ClientRuntimeConfig.cs
- SQLDecimal.cs
- SpeechDetectedEventArgs.cs
- Rule.cs
- FeatureSupport.cs
- SamlEvidence.cs
- ComponentChangedEvent.cs
- ToolStripSeparator.cs
- ItemList.cs
- LayoutSettings.cs
- FlowDocumentFormatter.cs
- DateTimeParse.cs
- Content.cs
- UnaryOperationBinder.cs
- CheckBoxStandardAdapter.cs
- LineBreak.cs
- OleDbStruct.cs
- WebPartConnectionsCancelEventArgs.cs
- RSAOAEPKeyExchangeFormatter.cs
- XamlFrame.cs
- DataGridViewDataConnection.cs
- InheritanceService.cs
- ResizeGrip.cs
- SqlNotificationRequest.cs
- XmlBufferReader.cs
- XmlCustomFormatter.cs
- _TransmitFileOverlappedAsyncResult.cs
- MappingModelBuildProvider.cs
- TogglePatternIdentifiers.cs
- ModelEditingScope.cs
- EnumType.cs
- XmlQueryContext.cs
- MulticastIPAddressInformationCollection.cs
- EntityDataSourceValidationException.cs
- IPCCacheManager.cs
- HtmlWindow.cs
- WebColorConverter.cs
- TableLayoutPanelCellPosition.cs
- DataKey.cs
- WindowsAuthenticationEventArgs.cs
- ApplicationHost.cs
- PnrpPermission.cs
- ContainerUtilities.cs
- DataObjectAttribute.cs
- Variable.cs
- SmiSettersStream.cs
- CommonGetThemePartSize.cs
- WSDualHttpSecurity.cs
- IndentedWriter.cs
- StaticTextPointer.cs
- TraceSection.cs
- SmiXetterAccessMap.cs
- GeneratedCodeAttribute.cs
- SynchronousReceiveElement.cs
- TextFormatterContext.cs
- SqlError.cs
- ObsoleteAttribute.cs
- FormCollection.cs
- Section.cs
- BlobPersonalizationState.cs
- CreateUserWizardStep.cs
- ControlBindingsCollection.cs
- TraceData.cs
- StorageInfo.cs
- RegexMatch.cs
- ApplicationFileParser.cs
- CellPartitioner.cs
- QuaternionAnimationUsingKeyFrames.cs
- FileDetails.cs
- ReadWriteSpinLock.cs
- MasterPage.cs
- SqlWebEventProvider.cs
- SectionVisual.cs
- PermissionToken.cs
- SqlClientWrapperSmiStream.cs
- DebugManager.cs
- XmlIlGenerator.cs
- Atom10FormatterFactory.cs
- PeerApplication.cs
- MetadataCacheItem.cs