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
- DbParameterCollectionHelper.cs
- ProfilePropertySettingsCollection.cs
- TreeNodeClickEventArgs.cs
- SequentialOutput.cs
- HttpGetProtocolReflector.cs
- TextChangedEventArgs.cs
- ScriptControlManager.cs
- ISO2022Encoding.cs
- OrderedDictionary.cs
- __Filters.cs
- WebPartConnectionsEventArgs.cs
- ListViewSortEventArgs.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- wmiutil.cs
- DataColumnMapping.cs
- DeadCharTextComposition.cs
- SelectingProviderEventArgs.cs
- NameValueFileSectionHandler.cs
- EndEvent.cs
- ScriptMethodAttribute.cs
- SequentialUshortCollection.cs
- TabletDevice.cs
- MatrixTransform3D.cs
- BulletDecorator.cs
- WeakReferenceEnumerator.cs
- DrawingBrush.cs
- ListManagerBindingsCollection.cs
- __Error.cs
- ThreadExceptionDialog.cs
- CommandManager.cs
- XmlReflectionImporter.cs
- SignatureHelper.cs
- XmlSerializerFactory.cs
- ExceptionAggregator.cs
- MatchingStyle.cs
- SqlUserDefinedTypeAttribute.cs
- DynamicAttribute.cs
- SizeConverter.cs
- FileLoadException.cs
- RegisteredExpandoAttribute.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- LayoutDump.cs
- PathSegment.cs
- Executor.cs
- UdpReplyToBehavior.cs
- BitmapEffectDrawingContextWalker.cs
- VisualStyleElement.cs
- TiffBitmapEncoder.cs
- HtmlContainerControl.cs
- ZoneButton.cs
- AdornedElementPlaceholder.cs
- RouteTable.cs
- SinglePageViewer.cs
- GetPageNumberCompletedEventArgs.cs
- RelationshipFixer.cs
- BulletChrome.cs
- DBCommand.cs
- TransactionState.cs
- ServiceOperation.cs
- PrimaryKeyTypeConverter.cs
- DetailsViewDeletedEventArgs.cs
- WebSysDefaultValueAttribute.cs
- ImageList.cs
- ChannelServices.cs
- Base64Decoder.cs
- SplitterEvent.cs
- CodeDelegateCreateExpression.cs
- MemoryMappedViewStream.cs
- XmlArrayItemAttribute.cs
- MediaTimeline.cs
- DbConnectionPoolIdentity.cs
- CodeAssignStatement.cs
- RadioButton.cs
- SpStreamWrapper.cs
- XmlAnyElementAttributes.cs
- XamlParser.cs
- BreakRecordTable.cs
- xmlsaver.cs
- ElementNotEnabledException.cs
- MsmqException.cs
- EventHandlerList.cs
- WebPartCollection.cs
- PrivateFontCollection.cs
- PasswordDeriveBytes.cs
- LexicalChunk.cs
- ObjectListSelectEventArgs.cs
- UnderstoodHeaders.cs
- ObservableDictionary.cs
- LineServicesCallbacks.cs
- CaseInsensitiveComparer.cs
- RequiredFieldValidator.cs
- CodeMethodMap.cs
- DataGridViewBand.cs
- FontWeight.cs
- ClientApiGenerator.cs
- _AutoWebProxyScriptEngine.cs
- InternalsVisibleToAttribute.cs
- FileDialog_Vista_Interop.cs
- ExpressionLexer.cs
- ArrayEditor.cs