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
- WebPartCancelEventArgs.cs
- Rect3DConverter.cs
- LineGeometry.cs
- SchemaManager.cs
- SqlLiftWhereClauses.cs
- GestureRecognizer.cs
- DecoderExceptionFallback.cs
- EncryptedData.cs
- SQLRoleProvider.cs
- CommonProperties.cs
- ProtocolsSection.cs
- RouteItem.cs
- FormsAuthenticationUserCollection.cs
- ActivityExecutor.cs
- Mutex.cs
- ImageMap.cs
- HostingEnvironmentSection.cs
- ObjectContextServiceProvider.cs
- MachineKeyConverter.cs
- RegexFCD.cs
- Tablet.cs
- LabelEditEvent.cs
- SendMailErrorEventArgs.cs
- SchemaElementDecl.cs
- RegistrySecurity.cs
- FileNotFoundException.cs
- PointConverter.cs
- Style.cs
- MailMessageEventArgs.cs
- PauseStoryboard.cs
- WhitespaceSignificantCollectionAttribute.cs
- KoreanLunisolarCalendar.cs
- HtmlObjectListAdapter.cs
- SpecularMaterial.cs
- smtpconnection.cs
- XmlIgnoreAttribute.cs
- ActivationArguments.cs
- ClientApiGenerator.cs
- File.cs
- HttpFormatExtensions.cs
- EventQueueState.cs
- ConfigurationSchemaErrors.cs
- TextViewSelectionProcessor.cs
- CorrelationTokenTypeConvertor.cs
- Page.cs
- ApplicationFileParser.cs
- CryptoProvider.cs
- XamlStyleSerializer.cs
- SourceElementsCollection.cs
- ClientBuildManagerCallback.cs
- RawKeyboardInputReport.cs
- AnnotationResource.cs
- GradientSpreadMethodValidation.cs
- BasicHttpSecurityMode.cs
- HttpModulesSection.cs
- GeometryModel3D.cs
- MatrixTransform.cs
- Popup.cs
- AsymmetricSignatureDeformatter.cs
- PropertyChangingEventArgs.cs
- OrderedDictionary.cs
- SmiTypedGetterSetter.cs
- VerificationException.cs
- TypeNameConverter.cs
- PostBackTrigger.cs
- SqlConnectionFactory.cs
- SourceElementsCollection.cs
- DrawingGroup.cs
- XmlElement.cs
- _SecureChannel.cs
- OrderedHashRepartitionStream.cs
- BorderGapMaskConverter.cs
- Int32RectConverter.cs
- MasterPage.cs
- ReflectionPermission.cs
- FacetDescription.cs
- SqlLiftWhereClauses.cs
- DataExpression.cs
- DropDownList.cs
- MsiStyleLogWriter.cs
- PriorityChain.cs
- XpsViewerException.cs
- AttributeTableBuilder.cs
- NamedPipeHostedTransportConfiguration.cs
- NegotiationTokenProvider.cs
- XmlArrayAttribute.cs
- Zone.cs
- ItemCollection.cs
- OneToOneMappingSerializer.cs
- QueryAsyncResult.cs
- ImageInfo.cs
- BatchWriter.cs
- SamlDelegatingWriter.cs
- SizeAnimationBase.cs
- Bezier.cs
- ObjectViewListener.cs
- ProcessProtocolHandler.cs
- SQLInt16.cs
- ImageIndexConverter.cs
- ContextActivityUtils.cs