Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / AncestorChangedEventArgs.cs / 1 / AncestorChangedEventArgs.cs
using System;
namespace System.Windows.Media
{
internal class AncestorChangedEventArgs
{
public AncestorChangedEventArgs(DependencyObject subRoot, DependencyObject oldParent)
{
_subRoot = subRoot;
_oldParent = oldParent;
}
public DependencyObject Ancestor
{
get { return _subRoot; }
}
public DependencyObject OldParent
{
get { return _oldParent; }
}
private DependencyObject _subRoot; // direct child of the changed link.
private DependencyObject _oldParent; // If link is cut; otherwise null.
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
namespace System.Windows.Media
{
internal class AncestorChangedEventArgs
{
public AncestorChangedEventArgs(DependencyObject subRoot, DependencyObject oldParent)
{
_subRoot = subRoot;
_oldParent = oldParent;
}
public DependencyObject Ancestor
{
get { return _subRoot; }
}
public DependencyObject OldParent
{
get { return _oldParent; }
}
private DependencyObject _subRoot; // direct child of the changed link.
private DependencyObject _oldParent; // If link is cut; otherwise null.
}
}
// 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
- PrintDialog.cs
- ConnectionPoint.cs
- panel.cs
- GeneralTransform2DTo3D.cs
- AssemblyBuilderData.cs
- UnsafeNativeMethods.cs
- TagPrefixCollection.cs
- HtmlForm.cs
- LogExtentCollection.cs
- TypeConstant.cs
- AuthenticationManager.cs
- ScrollItemPatternIdentifiers.cs
- UTF32Encoding.cs
- RealizedColumnsBlock.cs
- LookupBindingPropertiesAttribute.cs
- QueryableDataSource.cs
- IntegerValidator.cs
- Control.cs
- BamlRecordWriter.cs
- ConnectivityStatus.cs
- FixedSOMLineRanges.cs
- RoutedEvent.cs
- ToolStripPanelRow.cs
- XmlSchemaRedefine.cs
- DataBoundControlHelper.cs
- BindingManagerDataErrorEventArgs.cs
- EncryptedKey.cs
- ParameterBinding.cs
- BlobPersonalizationState.cs
- WindowsFormsHostAutomationPeer.cs
- WebRequestModuleElement.cs
- elementinformation.cs
- ReadOnlyHierarchicalDataSource.cs
- XsdDuration.cs
- AgileSafeNativeMemoryHandle.cs
- SqlMethodCallConverter.cs
- SamlSecurityToken.cs
- DSASignatureFormatter.cs
- RankException.cs
- ItemContainerPattern.cs
- GeneralTransformGroup.cs
- LogAppendAsyncResult.cs
- CheckBox.cs
- DataBindingExpressionBuilder.cs
- BitmapPalette.cs
- StylusButtonCollection.cs
- HttpConfigurationSystem.cs
- RichTextBoxConstants.cs
- ScriptServiceAttribute.cs
- TransportationConfigurationTypeInstallComponent.cs
- ConcatQueryOperator.cs
- Viewport2DVisual3D.cs
- WindowPattern.cs
- ClientUtils.cs
- VectorValueSerializer.cs
- MgmtConfigurationRecord.cs
- CacheSection.cs
- TableDetailsRow.cs
- Line.cs
- StorageMappingFragment.cs
- Propagator.ExtentPlaceholderCreator.cs
- PocoPropertyAccessorStrategy.cs
- ObjectResult.cs
- DPAPIProtectedConfigurationProvider.cs
- SizeChangedEventArgs.cs
- CollectionBase.cs
- __TransparentProxy.cs
- SqlMultiplexer.cs
- Stylesheet.cs
- WindowsTokenRoleProvider.cs
- PageAction.cs
- WindowsStatusBar.cs
- WorkflowServiceAttributes.cs
- SecurityPolicySection.cs
- ReservationNotFoundException.cs
- indexingfiltermarshaler.cs
- UIElement.cs
- SiteMapProvider.cs
- Monitor.cs
- ImportCatalogPart.cs
- SQLRoleProvider.cs
- TypeElementCollection.cs
- DrawingContext.cs
- HttpListener.cs
- FirstMatchCodeGroup.cs
- ValidationErrorCollection.cs
- NavigationEventArgs.cs
- CompressedStack.cs
- Serializer.cs
- AutomationAttributeInfo.cs
- TextDpi.cs
- MyContact.cs
- StorageScalarPropertyMapping.cs
- PlanCompiler.cs
- GenericUI.cs
- ThicknessAnimation.cs
- EdgeModeValidation.cs
- MsmqAppDomainProtocolHandler.cs
- XmlEncoding.cs
- SqlDataSourceCache.cs