Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DataGridHeadersVisibilityToVisibilityConverter.cs
- CustomErrorCollection.cs
- VirtualizingPanel.cs
- DataGridViewComboBoxCell.cs
- UmAlQuraCalendar.cs
- TypedRowHandler.cs
- CultureSpecificStringDictionary.cs
- RegexWorker.cs
- OutputBuffer.cs
- SourceFilter.cs
- PrintPreviewGraphics.cs
- ConstraintCollection.cs
- PreProcessInputEventArgs.cs
- HtmlDocument.cs
- externdll.cs
- UnrecognizedPolicyAssertionElement.cs
- SqlDataSourceEnumerator.cs
- entityreference_tresulttype.cs
- AdRotator.cs
- PenContext.cs
- AnnouncementEndpointElement.cs
- CompilerHelpers.cs
- TextParagraphCache.cs
- ThreadAbortException.cs
- Clause.cs
- IODescriptionAttribute.cs
- RegisteredExpandoAttribute.cs
- MsmqIntegrationProcessProtocolHandler.cs
- Utilities.cs
- DockingAttribute.cs
- CodePageUtils.cs
- ToolStripScrollButton.cs
- DataServiceConfiguration.cs
- SqlVisitor.cs
- DesignTimeParseData.cs
- DecoderFallback.cs
- NullableIntSumAggregationOperator.cs
- CodeAttributeDeclarationCollection.cs
- ListViewItemEventArgs.cs
- WebPart.cs
- XmlSchemaGroupRef.cs
- CheckedListBox.cs
- TransportContext.cs
- Comparer.cs
- _ProxyChain.cs
- sqlstateclientmanager.cs
- ToolTipAutomationPeer.cs
- IndependentlyAnimatedPropertyMetadata.cs
- InfoCardX509Validator.cs
- InputLanguageManager.cs
- DataSetMappper.cs
- MutexSecurity.cs
- UpdateRecord.cs
- controlskin.cs
- TextBoxAutoCompleteSourceConverter.cs
- UInt16Storage.cs
- ControlPropertyNameConverter.cs
- Button.cs
- CheckBoxRenderer.cs
- SqlCacheDependency.cs
- XslAstAnalyzer.cs
- SimpleModelProvider.cs
- ListViewPagedDataSource.cs
- BitmapImage.cs
- DataGridViewControlCollection.cs
- control.ime.cs
- PageSettings.cs
- NamedPipeConnectionPool.cs
- FunctionQuery.cs
- BuilderPropertyEntry.cs
- FileNotFoundException.cs
- BaseCollection.cs
- OleDbMetaDataFactory.cs
- GridViewRow.cs
- OptimalTextSource.cs
- TextEditorMouse.cs
- CallContext.cs
- CookieProtection.cs
- XmlSchemaImporter.cs
- ExternalException.cs
- ArgIterator.cs
- DesignerDeviceConfig.cs
- SspiNegotiationTokenProvider.cs
- ImageConverter.cs
- CodeDomComponentSerializationService.cs
- IRCollection.cs
- LambdaCompiler.Lambda.cs
- EffectiveValueEntry.cs
- ControlAdapter.cs
- GifBitmapDecoder.cs
- TemplateXamlTreeBuilder.cs
- WeakEventTable.cs
- SqlCaseSimplifier.cs
- AttributeProviderAttribute.cs
- DeploymentSection.cs
- ToggleButtonAutomationPeer.cs
- BulletedList.cs
- InvalidDocumentContentsException.cs
- NetSectionGroup.cs
- DataGridClipboardHelper.cs