Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / RequestBringIntoViewEventArgs.cs / 1 / RequestBringIntoViewEventArgs.cs
using System; namespace System.Windows { ////// The BringIntoViewEventArgs class is used by BringIntoViewEventHandler. /// public class RequestBringIntoViewEventArgs : RoutedEventArgs { ///Initializes a new instance of the BringIntoViewEventArgs class. internal RequestBringIntoViewEventArgs(DependencyObject target, Rect targetRect) { _target = target; _rcTarget = targetRect; } ////// The object to make visible. /// public DependencyObject TargetObject { get { return _target; } } ////// The rectangular region in the object's coordinate space which should be made visible. /// public Rect TargetRect { get { return _rcTarget; } } ////// The mechanism used to call the type-specific handler on the /// target. /// /// /// The generic handler to call in a type-specific way. /// /// /// The target to call the handler on. /// ///protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { RequestBringIntoViewEventHandler handler = (RequestBringIntoViewEventHandler)genericHandler; handler(genericTarget, this); } private DependencyObject _target; // The object to Bring Into View private Rect _rcTarget; // Rectange in the object's coordinate space to bring into view. } } // 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
- TextTrailingWordEllipsis.cs
- BrushConverter.cs
- CustomSignedXml.cs
- UserValidatedEventArgs.cs
- KeyTimeConverter.cs
- EventLogEntryCollection.cs
- OleDbStruct.cs
- complextypematerializer.cs
- EncryptedPackage.cs
- TreeIterator.cs
- NavigationWindow.cs
- COMException.cs
- jithelpers.cs
- SQLBoolean.cs
- StreamSecurityUpgradeProvider.cs
- BitmapEffectCollection.cs
- CaseCqlBlock.cs
- ServiceOperationListItem.cs
- ServicesUtilities.cs
- BitmapData.cs
- LayoutTableCell.cs
- HttpCachePolicyWrapper.cs
- TemplateKey.cs
- Enlistment.cs
- Vector3DAnimationBase.cs
- OutputCacheSection.cs
- WindowsScrollBar.cs
- AnimatedTypeHelpers.cs
- PropertyPath.cs
- AlphaSortedEnumConverter.cs
- TcpClientSocketManager.cs
- TreeNodeBindingDepthConverter.cs
- CharacterHit.cs
- HtmlDocument.cs
- SwitchElementsCollection.cs
- SessionEndedEventArgs.cs
- EntityDataSourceContainerNameConverter.cs
- WebPartConnectionsConfigureVerb.cs
- MsmqHostedTransportManager.cs
- DataViewListener.cs
- ReadOnlyHierarchicalDataSource.cs
- DispatcherTimer.cs
- SelectionProviderWrapper.cs
- CategoryGridEntry.cs
- CompilationLock.cs
- Cursors.cs
- Rect3D.cs
- ComPlusDiagnosticTraceRecords.cs
- GenericIdentity.cs
- ArraySubsetEnumerator.cs
- HttpProtocolImporter.cs
- GroupItemAutomationPeer.cs
- PageContentCollection.cs
- HttpListenerContext.cs
- CaseStatementSlot.cs
- ModelProperty.cs
- MappingMetadataHelper.cs
- WebPartUserCapability.cs
- OutputCacheProfile.cs
- ProcessHost.cs
- IMembershipProvider.cs
- CalendarTable.cs
- UIElement3DAutomationPeer.cs
- CodeGotoStatement.cs
- Point3DKeyFrameCollection.cs
- XmlAttributeCache.cs
- SingleStorage.cs
- Console.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- XPathAncestorIterator.cs
- ImageButton.cs
- HtmlInputButton.cs
- UrlMappingsModule.cs
- Guid.cs
- Choices.cs
- RTLAwareMessageBox.cs
- ThreadStartException.cs
- PolicyStatement.cs
- XmlHierarchyData.cs
- DefaultAsyncDataDispatcher.cs
- TagPrefixCollection.cs
- ISFClipboardData.cs
- ExpressionLexer.cs
- EventLogPermissionAttribute.cs
- TreeView.cs
- InstallerTypeAttribute.cs
- JsonByteArrayDataContract.cs
- Freezable.cs
- OutputWindow.cs
- ItemsPresenter.cs
- MessageQueuePermission.cs
- ImageKeyConverter.cs
- VariableElement.cs
- SmtpClient.cs
- UdpDiscoveryEndpointProvider.cs
- HijriCalendar.cs
- TableCell.cs
- Utility.cs
- QueryParameter.cs
- SystemShuttingDownException.cs