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
- InterleavedZipPartStream.cs
- AsmxEndpointPickerExtension.cs
- HtmlInputReset.cs
- WindowsFormsHostAutomationPeer.cs
- SQLInt16Storage.cs
- OleDbMetaDataFactory.cs
- ItemCheckedEvent.cs
- CacheDependency.cs
- DeviceFilterDictionary.cs
- LockedHandleGlyph.cs
- HotCommands.cs
- IPEndPointCollection.cs
- ValidationService.cs
- DataGridPageChangedEventArgs.cs
- StopStoryboard.cs
- SapiGrammar.cs
- WebPartExportVerb.cs
- Decimal.cs
- Authorization.cs
- ConfigurationManagerInternalFactory.cs
- InstanceDescriptor.cs
- SHA512Cng.cs
- BinHexEncoder.cs
- ComponentChangedEvent.cs
- QilReplaceVisitor.cs
- SqlServer2KCompatibilityAnnotation.cs
- ImageCodecInfoPrivate.cs
- ellipse.cs
- Action.cs
- ViewKeyConstraint.cs
- OpCodes.cs
- SvcMapFile.cs
- ApplyImportsAction.cs
- MenuCommandService.cs
- CorruptStoreException.cs
- AutoSizeToolBoxItem.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- HScrollBar.cs
- SafeFileMapViewHandle.cs
- XhtmlConformanceSection.cs
- SmtpClient.cs
- RadialGradientBrush.cs
- DatasetMethodGenerator.cs
- SessionState.cs
- WsiProfilesElement.cs
- XmlAttributes.cs
- DependsOnAttribute.cs
- GridViewUpdateEventArgs.cs
- ExceptionRoutedEventArgs.cs
- Parser.cs
- DispatcherExceptionEventArgs.cs
- CodeDirectoryCompiler.cs
- IPipelineRuntime.cs
- ObjectPersistData.cs
- __TransparentProxy.cs
- EventBuilder.cs
- IdentitySection.cs
- KeyConverter.cs
- AtomServiceDocumentSerializer.cs
- AuthenticationSection.cs
- PeerNameRecord.cs
- DistributedTransactionPermission.cs
- UnmanagedMemoryStream.cs
- Table.cs
- WindowsImpersonationContext.cs
- DragDropManager.cs
- StateItem.cs
- XmlWhitespace.cs
- httpstaticobjectscollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- SchemaMerger.cs
- MailMessage.cs
- FilterQuery.cs
- PageSetupDialog.cs
- Transform.cs
- DispatcherHooks.cs
- DefaultSettingsSection.cs
- IisTraceWebEventProvider.cs
- LongTypeConverter.cs
- brushes.cs
- UnknownBitmapEncoder.cs
- BasicAsyncResult.cs
- ToolStripSystemRenderer.cs
- OdbcException.cs
- StyleTypedPropertyAttribute.cs
- DecimalStorage.cs
- JavaScriptObjectDeserializer.cs
- OdbcDataAdapter.cs
- ClientSettingsStore.cs
- Query.cs
- DbParameterHelper.cs
- ArglessEventHandlerProxy.cs
- TemplateControlCodeDomTreeGenerator.cs
- Validator.cs
- SaveFileDialog.cs
- RootBrowserWindowAutomationPeer.cs
- StrokeCollectionDefaultValueFactory.cs
- MeasurementDCInfo.cs
- Lock.cs
- PkcsMisc.cs