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
- UrlPropertyAttribute.cs
- QueryableFilterRepeater.cs
- FullTextBreakpoint.cs
- DependsOnAttribute.cs
- TextAnchor.cs
- AssemblyCollection.cs
- mediaeventshelper.cs
- SequenceDesigner.cs
- FrameDimension.cs
- CodeMemberMethod.cs
- CustomAttributeSerializer.cs
- DocumentOrderQuery.cs
- ValueType.cs
- WebInvokeAttribute.cs
- ApplicationGesture.cs
- InternalConfigHost.cs
- RadialGradientBrush.cs
- ValidationError.cs
- Quaternion.cs
- FormsAuthenticationEventArgs.cs
- ExpressionEditor.cs
- NativeMethods.cs
- CodeGeneratorOptions.cs
- Deflater.cs
- SendActivityValidator.cs
- FormViewDesigner.cs
- WebPartVerbsEventArgs.cs
- LeaseManager.cs
- AssemblyNameProxy.cs
- ModelPerspective.cs
- ViewKeyConstraint.cs
- LockCookie.cs
- QilFunction.cs
- FileDataSourceCache.cs
- IpcClientChannel.cs
- StickyNote.cs
- ObjectListGeneralPage.cs
- InputDevice.cs
- PassportAuthenticationModule.cs
- ToolStripDropDownClosingEventArgs.cs
- ActiveDocumentEvent.cs
- MouseActionValueSerializer.cs
- TreeViewAutomationPeer.cs
- TraceHwndHost.cs
- TypeLoadException.cs
- TreeNodeBindingCollection.cs
- TextMarkerSource.cs
- EtwTrace.cs
- XNodeNavigator.cs
- DependencyObjectType.cs
- WebSysDefaultValueAttribute.cs
- RtfNavigator.cs
- WebServiceHandlerFactory.cs
- StringUtil.cs
- sqlstateclientmanager.cs
- FunctionDetailsReader.cs
- AnchoredBlock.cs
- DiagnosticTraceSource.cs
- DecoratedNameAttribute.cs
- ThreadStaticAttribute.cs
- BinarySerializer.cs
- InputMethodStateTypeInfo.cs
- WebSysDescriptionAttribute.cs
- AccessText.cs
- TreeBuilderBamlTranslator.cs
- CodeTypeReference.cs
- TextureBrush.cs
- cookiecontainer.cs
- SrgsRulesCollection.cs
- XmlDocument.cs
- DriveNotFoundException.cs
- GridSplitterAutomationPeer.cs
- SafeArrayTypeMismatchException.cs
- TextServicesCompartment.cs
- InkCanvasFeedbackAdorner.cs
- AtomServiceDocumentSerializer.cs
- UserControl.cs
- HMACMD5.cs
- ArraySortHelper.cs
- DockPattern.cs
- RemotingHelper.cs
- DateTimeValueSerializerContext.cs
- SoapMessage.cs
- ResourceReferenceKeyNotFoundException.cs
- Assert.cs
- EmptyEnumerable.cs
- StringFreezingAttribute.cs
- SecureConversationDriver.cs
- ButtonChrome.cs
- BaseResourcesBuildProvider.cs
- WebBrowser.cs
- ITreeGenerator.cs
- AmbientLight.cs
- DataSet.cs
- IntPtr.cs
- KeyPressEvent.cs
- CurrentTimeZone.cs
- VirtualPath.cs
- Message.cs
- ScaleTransform3D.cs