Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / RequestBringIntoViewEventArgs.cs / 1305600 / 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
- XPathConvert.cs
- PreviewPrintController.cs
- SafeNativeMethods.cs
- DecryptedHeader.cs
- TextBoxBase.cs
- DbConnectionFactory.cs
- DataGridCaption.cs
- Rotation3DAnimationUsingKeyFrames.cs
- RawMouseInputReport.cs
- ContextStaticAttribute.cs
- PerfCounterSection.cs
- CalendarDateRangeChangingEventArgs.cs
- RowParagraph.cs
- EntityDataSourceState.cs
- LayoutManager.cs
- AuthenticateEventArgs.cs
- Form.cs
- XPathMessageFilterTable.cs
- SqlResolver.cs
- BypassElementCollection.cs
- MSAAWinEventWrap.cs
- DataStreams.cs
- ConfigUtil.cs
- OleCmdHelper.cs
- FlowDocumentPaginator.cs
- SingleAnimationBase.cs
- KnownTypesHelper.cs
- IdnElement.cs
- XmlSchemaChoice.cs
- Model3DCollection.cs
- SystemEvents.cs
- Converter.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ConnectorRouter.cs
- AvtEvent.cs
- InvokeMemberBinder.cs
- DataControlLinkButton.cs
- DynamicObject.cs
- XPathDocument.cs
- IntSecurity.cs
- RectAnimationClockResource.cs
- ButtonStandardAdapter.cs
- LocationUpdates.cs
- ContentTextAutomationPeer.cs
- StringArrayConverter.cs
- EntityKey.cs
- ACL.cs
- ControlCollection.cs
- Group.cs
- DataGridViewColumnDesigner.cs
- BitmapMetadataEnumerator.cs
- DoubleAnimationUsingKeyFrames.cs
- AncestorChangedEventArgs.cs
- PageTheme.cs
- Operand.cs
- DescendantOverDescendantQuery.cs
- AdRotator.cs
- TextServicesDisplayAttribute.cs
- OptimalTextSource.cs
- ElementAtQueryOperator.cs
- HebrewCalendar.cs
- DataRecordObjectView.cs
- CacheMode.cs
- HtmlEmptyTagControlBuilder.cs
- ResourceProviderFactory.cs
- VerificationAttribute.cs
- SplayTreeNode.cs
- TableCell.cs
- RectAnimationBase.cs
- CqlLexerHelpers.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HtmlSelect.cs
- FindCriteriaApril2005.cs
- HttpRawResponse.cs
- Accessible.cs
- BindableTemplateBuilder.cs
- RequestDescription.cs
- ProfileService.cs
- HttpApplicationStateWrapper.cs
- EventWaitHandle.cs
- MailAddress.cs
- ConfigurationValues.cs
- XPathNodeIterator.cs
- ManagementObjectSearcher.cs
- Typography.cs
- MessageEventSubscriptionService.cs
- TextViewSelectionProcessor.cs
- MatchAllMessageFilter.cs
- XmlNavigatorFilter.cs
- TextParagraphView.cs
- EntityDataSourceChangedEventArgs.cs
- DesignerTransaction.cs
- LinkedResourceCollection.cs
- XmlTextEncoder.cs
- SystemResourceKey.cs
- OdbcConnectionFactory.cs
- ToolStripInSituService.cs
- JsonDeserializer.cs
- ClientScriptManager.cs
- ProviderSettingsCollection.cs