Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- mactripleDES.cs
- DayRenderEvent.cs
- HtmlImage.cs
- Behavior.cs
- MetadataArtifactLoader.cs
- CommandConverter.cs
- CacheAxisQuery.cs
- InvalidAsynchronousStateException.cs
- _DisconnectOverlappedAsyncResult.cs
- TrackingProfile.cs
- Condition.cs
- ConfigXmlText.cs
- HeaderedItemsControl.cs
- ForceCopyBuildProvider.cs
- DbInsertCommandTree.cs
- Floater.cs
- PathNode.cs
- DbCommandTree.cs
- AppDomainProtocolHandler.cs
- KeyValueConfigurationElement.cs
- DesignerActionMethodItem.cs
- SessionStateSection.cs
- keycontainerpermission.cs
- Metafile.cs
- SchemaCollectionCompiler.cs
- EntityDataSourceSelectedEventArgs.cs
- WebPartDescription.cs
- StoragePropertyMapping.cs
- SchemaCollectionCompiler.cs
- DataGridTextBoxColumn.cs
- Int16AnimationUsingKeyFrames.cs
- ScrollEventArgs.cs
- InlineObject.cs
- CodeVariableReferenceExpression.cs
- SubMenuStyleCollectionEditor.cs
- VisualStyleElement.cs
- FixedSOMTableCell.cs
- GridViewSortEventArgs.cs
- ExcludePathInfo.cs
- AdornedElementPlaceholder.cs
- FontResourceCache.cs
- ISO2022Encoding.cs
- CacheMode.cs
- HttpCacheParams.cs
- DataGridView.cs
- RowType.cs
- ImageDrawing.cs
- FontCacheLogic.cs
- EncryptedPackageFilter.cs
- SmtpLoginAuthenticationModule.cs
- FileSystemEventArgs.cs
- XmlLanguageConverter.cs
- TraceRecord.cs
- ColumnPropertiesGroup.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- BaseTemplateParser.cs
- BufferedGraphics.cs
- StylusEventArgs.cs
- RankException.cs
- RemoveFromCollection.cs
- ResourcesChangeInfo.cs
- JsonCollectionDataContract.cs
- FirstMatchCodeGroup.cs
- StartFileNameEditor.cs
- UserPreferenceChangingEventArgs.cs
- XmlBinaryReaderSession.cs
- BuildProvidersCompiler.cs
- Ops.cs
- SignatureDescription.cs
- FixedSOMFixedBlock.cs
- DefaultBindingPropertyAttribute.cs
- ImageAutomationPeer.cs
- FlowLayoutPanel.cs
- FixedFindEngine.cs
- GridSplitter.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- ExpressionPrinter.cs
- HttpResponse.cs
- CompleteWizardStep.cs
- WindowProviderWrapper.cs
- SqlClientWrapperSmiStream.cs
- XmlRawWriter.cs
- Clause.cs
- ParameterCollectionEditor.cs
- TdsRecordBufferSetter.cs
- StringPropertyBuilder.cs
- SecurityException.cs
- NameValueCollection.cs
- NotifyInputEventArgs.cs
- HtmlWindowCollection.cs
- ConfigsHelper.cs
- CredentialCache.cs
- FileDialog_Vista.cs
- translator.cs
- TypeExtensions.cs
- CrossContextChannel.cs
- BasicExpressionVisitor.cs
- _LocalDataStoreMgr.cs
- DataSourceSelectArguments.cs
- MaskedTextBoxDesignerActionList.cs