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
- ObjectDataSourceView.cs
- TypeToken.cs
- TextTrailingWordEllipsis.cs
- DataControlFieldTypeEditor.cs
- WebPartsPersonalizationAuthorization.cs
- TypeUtil.cs
- Scanner.cs
- BulletChrome.cs
- LayoutEvent.cs
- TypeDescriptionProviderAttribute.cs
- TreeViewTemplateSelector.cs
- BuildProvider.cs
- DateTimeConverter.cs
- Base64Decoder.cs
- ArrayList.cs
- ComponentSerializationService.cs
- TextTreeObjectNode.cs
- TreeViewDataItemAutomationPeer.cs
- ColumnTypeConverter.cs
- Propagator.cs
- QilCloneVisitor.cs
- WebReferencesBuildProvider.cs
- LayoutInformation.cs
- LoadWorkflowAsyncResult.cs
- TrackBarDesigner.cs
- DataControlButton.cs
- QilExpression.cs
- InternalDispatchObject.cs
- BookmarkEventArgs.cs
- PieceNameHelper.cs
- PropertyDescriptorGridEntry.cs
- AsymmetricAlgorithm.cs
- EntityTemplateFactory.cs
- ComponentRenameEvent.cs
- SharedStatics.cs
- TextBoxAutomationPeer.cs
- DataServiceHost.cs
- ToolStripOverflowButton.cs
- DrawingVisualDrawingContext.cs
- TypeInitializationException.cs
- AlternateViewCollection.cs
- HtmlFormWrapper.cs
- ConnectionPointCookie.cs
- HandlerBase.cs
- SrgsToken.cs
- IxmlLineInfo.cs
- Odbc32.cs
- newinstructionaction.cs
- Deflater.cs
- DiscriminatorMap.cs
- DecimalAnimationUsingKeyFrames.cs
- ConfigXmlComment.cs
- util.cs
- QueryCacheEntry.cs
- MetadataArtifactLoaderCompositeResource.cs
- DependencySource.cs
- PropertyExpression.cs
- CodeAttributeArgumentCollection.cs
- DetailsViewPagerRow.cs
- DbParameterCollection.cs
- RegistrySecurity.cs
- AutomationAttributeInfo.cs
- LogSwitch.cs
- ConfigurationPermission.cs
- CreatingCookieEventArgs.cs
- ToolStripItemImageRenderEventArgs.cs
- PinnedBufferMemoryStream.cs
- PartialCachingAttribute.cs
- UniqueSet.cs
- DSASignatureDeformatter.cs
- PrivateFontCollection.cs
- PeerApplicationLaunchInfo.cs
- DeferredReference.cs
- PeerContact.cs
- EndpointDiscoveryBehavior.cs
- Compress.cs
- XmlExpressionDumper.cs
- WebPartMovingEventArgs.cs
- WebPartCancelEventArgs.cs
- ContextProperty.cs
- DataGridViewSortCompareEventArgs.cs
- DataGridViewTextBoxCell.cs
- TargetParameterCountException.cs
- Listbox.cs
- ControlCachePolicy.cs
- autovalidator.cs
- AnnotationHelper.cs
- WebControlAdapter.cs
- Ref.cs
- ManipulationStartedEventArgs.cs
- PackagePartCollection.cs
- FilterException.cs
- GroupQuery.cs
- MenuEventArgs.cs
- SafeSecurityHelper.cs
- ReaderOutput.cs
- DbConnectionPoolIdentity.cs
- IPAddress.cs
- ButtonColumn.cs
- InheritanceService.cs