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
- IsolatedStorageFileStream.cs
- StylusPointProperties.cs
- BasicHttpMessageSecurity.cs
- DataGridViewCheckBoxCell.cs
- InvokeWebServiceDesigner.cs
- PageSetupDialog.cs
- AdornerDecorator.cs
- ValidationPropertyAttribute.cs
- StoreItemCollection.Loader.cs
- GeneralTransform3DTo2DTo3D.cs
- LostFocusEventManager.cs
- CurrencyManager.cs
- WindowsGraphics.cs
- Events.cs
- DistinctQueryOperator.cs
- ServiceProviders.cs
- ParenthesizePropertyNameAttribute.cs
- TextBoxView.cs
- BufferedWebEventProvider.cs
- CodeThrowExceptionStatement.cs
- AlphabeticalEnumConverter.cs
- PopupControlService.cs
- ProvideValueServiceProvider.cs
- TextViewElement.cs
- NavigationFailedEventArgs.cs
- HtmlEncodedRawTextWriter.cs
- SimpleTypesSurrogate.cs
- KeyNotFoundException.cs
- Bezier.cs
- __TransparentProxy.cs
- X509CertificateCollection.cs
- InstanceKeyView.cs
- ThemeableAttribute.cs
- GPStream.cs
- RSAPKCS1KeyExchangeFormatter.cs
- securitycriticaldata.cs
- _NestedSingleAsyncResult.cs
- UserMapPath.cs
- CodeDirectiveCollection.cs
- DocumentSchemaValidator.cs
- DeobfuscatingStream.cs
- UserNamePasswordValidator.cs
- Inflater.cs
- EnvironmentPermission.cs
- NamespaceEmitter.cs
- RadioButtonRenderer.cs
- AnnotationResourceCollection.cs
- ManagementEventWatcher.cs
- HeaderCollection.cs
- OleDbParameter.cs
- Restrictions.cs
- ActiveXHost.cs
- InvokeHandlers.cs
- FloatSumAggregationOperator.cs
- ResXDataNode.cs
- QilSortKey.cs
- TextContainerChangedEventArgs.cs
- AlphaSortedEnumConverter.cs
- CurrencyManager.cs
- UserPreferenceChangingEventArgs.cs
- NonClientArea.cs
- FormViewDeletedEventArgs.cs
- CultureTable.cs
- OleDbConnectionInternal.cs
- PolyQuadraticBezierSegment.cs
- ValidationSummary.cs
- AuthenticationException.cs
- Internal.cs
- VoiceSynthesis.cs
- BaseCollection.cs
- FieldBuilder.cs
- WebPartCatalogAddVerb.cs
- ServicePoint.cs
- BitmapMetadataEnumerator.cs
- RequestCacheEntry.cs
- TCPListener.cs
- CompositeFontParser.cs
- SiteMapNode.cs
- DBSchemaRow.cs
- DateTimeAutomationPeer.cs
- SqlCacheDependencySection.cs
- CollectionView.cs
- BinaryUtilClasses.cs
- wgx_render.cs
- MaskedTextBox.cs
- ConstructorNeedsTagAttribute.cs
- BevelBitmapEffect.cs
- EmulateRecognizeCompletedEventArgs.cs
- EntityDataSourceStatementEditorForm.cs
- METAHEADER.cs
- RealizedColumnsBlock.cs
- SqlDataSourceFilteringEventArgs.cs
- PreloadedPackages.cs
- ValidatorCollection.cs
- UIElementAutomationPeer.cs
- PathFigureCollectionValueSerializer.cs
- XmlSerializerAssemblyAttribute.cs
- GridViewPageEventArgs.cs
- DelegatingConfigHost.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs