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
- GraphicsContext.cs
- XmlRawWriter.cs
- ImageMetadata.cs
- GeneralTransform3DGroup.cs
- DiscoveryClientDocuments.cs
- StrokeNode.cs
- LeftCellWrapper.cs
- CompilationUnit.cs
- FlowDocumentReaderAutomationPeer.cs
- CodeTypeMember.cs
- clipboard.cs
- StaticContext.cs
- PanningMessageFilter.cs
- SqlStream.cs
- DataGridViewRowHeaderCell.cs
- BuildProviderAppliesToAttribute.cs
- XmlDataImplementation.cs
- CultureInfoConverter.cs
- SecUtil.cs
- InputReport.cs
- ToolStripItemCollection.cs
- SqlEnums.cs
- URLString.cs
- AppDomainUnloadedException.cs
- TerminatorSinks.cs
- Regex.cs
- LockCookie.cs
- ProfileService.cs
- RoutedCommand.cs
- Pointer.cs
- StringKeyFrameCollection.cs
- TouchPoint.cs
- DataGridViewButtonCell.cs
- SqlMetaData.cs
- ISAPIWorkerRequest.cs
- KeyNotFoundException.cs
- BidOverLoads.cs
- SchemaReference.cs
- ButtonChrome.cs
- CaretElement.cs
- PropertyKey.cs
- CheckBox.cs
- DataGridViewRowPostPaintEventArgs.cs
- TCPListener.cs
- WebBrowserBase.cs
- WebAdminConfigurationHelper.cs
- JavaScriptSerializer.cs
- SafeReversePInvokeHandle.cs
- FunctionParameter.cs
- WebHttpBehavior.cs
- ProfileService.cs
- ScrollBarAutomationPeer.cs
- CursorInteropHelper.cs
- SecurityTraceRecordHelper.cs
- SmtpTransport.cs
- XmlChoiceIdentifierAttribute.cs
- DelegateOutArgument.cs
- TrustManagerPromptUI.cs
- ManifestResourceInfo.cs
- SspiWrapper.cs
- RedistVersionInfo.cs
- ScriptReference.cs
- AnimatedTypeHelpers.cs
- EventLogPermissionEntry.cs
- DataGridColumnsPage.cs
- EventData.cs
- TransactionsSectionGroup.cs
- FunctionCommandText.cs
- TypedTableBaseExtensions.cs
- LocalizableResourceBuilder.cs
- EnumBuilder.cs
- CheckBoxFlatAdapter.cs
- DynamicPropertyHolder.cs
- Comparer.cs
- ErrorFormatter.cs
- TcpSocketManager.cs
- IIS7UserPrincipal.cs
- FunctionDescription.cs
- AppDomainAttributes.cs
- SQLCharsStorage.cs
- EditCommandColumn.cs
- IntegerValidatorAttribute.cs
- MemberDescriptor.cs
- EventLogTraceListener.cs
- HostedController.cs
- SvcFileManager.cs
- ThreadInterruptedException.cs
- CodeConstructor.cs
- HostingEnvironmentException.cs
- Size3D.cs
- LeaseManager.cs
- FullTextLine.cs
- EntityClientCacheKey.cs
- EasingKeyFrames.cs
- HttpRequestCacheValidator.cs
- DataViewListener.cs
- SmiSettersStream.cs
- DrawingBrush.cs
- RewritingSimplifier.cs
- NonSerializedAttribute.cs