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
- MarkedHighlightComponent.cs
- HTTPNotFoundHandler.cs
- ChangeNode.cs
- OleCmdHelper.cs
- ToolStripDropDown.cs
- TableLayoutStyleCollection.cs
- Deserializer.cs
- LateBoundBitmapDecoder.cs
- CryptoHelper.cs
- assertwrapper.cs
- HtmlTextBoxAdapter.cs
- _UncName.cs
- ImpersonateTokenRef.cs
- QuaternionRotation3D.cs
- RegisteredDisposeScript.cs
- AsyncCompletedEventArgs.cs
- TargetParameterCountException.cs
- SecurityDescriptor.cs
- MouseActionValueSerializer.cs
- SEHException.cs
- dbenumerator.cs
- MeasurementDCInfo.cs
- TypeUsage.cs
- MULTI_QI.cs
- FtpWebRequest.cs
- WebConfigurationHost.cs
- XamlRtfConverter.cs
- _UncName.cs
- SqlBooleanMismatchVisitor.cs
- EmptyControlCollection.cs
- OverrideMode.cs
- DataViewSettingCollection.cs
- SpellerHighlightLayer.cs
- RowSpanVector.cs
- DbRetry.cs
- ComAdminInterfaces.cs
- ConfigXmlComment.cs
- ProcessInfo.cs
- BinaryObjectReader.cs
- EventBindingService.cs
- PathData.cs
- ProcessHostFactoryHelper.cs
- CurrentChangingEventArgs.cs
- ErrorWrapper.cs
- DirectionalLight.cs
- FrameworkElementFactory.cs
- Rectangle.cs
- OleDbInfoMessageEvent.cs
- SafeTokenHandle.cs
- CallbackValidator.cs
- WebPartCollection.cs
- HierarchicalDataBoundControl.cs
- Stream.cs
- FormatSettings.cs
- PeerInvitationResponse.cs
- GenericEnumConverter.cs
- ResourceReferenceExpression.cs
- KeyPressEvent.cs
- Tuple.cs
- OrderByBuilder.cs
- PropertyTabAttribute.cs
- WindowsRichEditRange.cs
- TextureBrush.cs
- IBuiltInEvidence.cs
- LayoutEditorPart.cs
- Size.cs
- BindingExpression.cs
- ListViewPagedDataSource.cs
- TableLayoutPanelCellPosition.cs
- CleanUpVirtualizedItemEventArgs.cs
- NativeMethods.cs
- WpfGeneratedKnownProperties.cs
- NoneExcludedImageIndexConverter.cs
- MemberHolder.cs
- FilterableAttribute.cs
- SparseMemoryStream.cs
- MessagingActivityHelper.cs
- Peer.cs
- EventData.cs
- EdmComplexTypeAttribute.cs
- MenuBindingsEditor.cs
- TextSerializer.cs
- RestHandler.cs
- TagNameToTypeMapper.cs
- CompilerCollection.cs
- FontInfo.cs
- Keyboard.cs
- ProcessActivityTreeOptions.cs
- BaseDataBoundControl.cs
- UpDownBase.cs
- PathSegment.cs
- DependencyPropertyKind.cs
- TableDesigner.cs
- Walker.cs
- DataBoundControlHelper.cs
- ReliabilityContractAttribute.cs
- HasCopySemanticsAttribute.cs
- InvalidDataContractException.cs
- SqlResolver.cs
- CodeDomSerializationProvider.cs