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
- MessageEncoder.cs
- TypeDescriptionProviderAttribute.cs
- CommonRemoteMemoryBlock.cs
- Transform3D.cs
- GuidTagList.cs
- SHA384.cs
- _LoggingObject.cs
- PixelShader.cs
- NetMsmqSecurityElement.cs
- SimpleWorkerRequest.cs
- CodeIndexerExpression.cs
- TypeFieldSchema.cs
- NotFiniteNumberException.cs
- SizeAnimation.cs
- XmlObjectSerializerReadContextComplex.cs
- RelationshipEndMember.cs
- WindowsTab.cs
- InputLanguageEventArgs.cs
- ExtractedStateEntry.cs
- StylusPointProperty.cs
- SendMailErrorEventArgs.cs
- PrimaryKeyTypeConverter.cs
- HybridDictionary.cs
- XmlSerializerSection.cs
- IntAverageAggregationOperator.cs
- TraceContextEventArgs.cs
- CodeComment.cs
- BindingsCollection.cs
- RuleProcessor.cs
- OdbcCommand.cs
- TransactionsSectionGroup.cs
- RecordManager.cs
- WeakRefEnumerator.cs
- IDQuery.cs
- SchemeSettingElement.cs
- BorderSidesEditor.cs
- FastEncoderWindow.cs
- RandomNumberGenerator.cs
- LocationInfo.cs
- PackWebRequestFactory.cs
- ObjectToken.cs
- Zone.cs
- TextTreePropertyUndoUnit.cs
- MonikerHelper.cs
- MessageFilterException.cs
- FullTrustAssembliesSection.cs
- RelationshipWrapper.cs
- DbDataAdapter.cs
- XmlNodeList.cs
- DiscoveryMessageSequence11.cs
- ErrorInfoXmlDocument.cs
- RecognizedAudio.cs
- BaseAsyncResult.cs
- XPathPatternBuilder.cs
- ListControl.cs
- Button.cs
- xsdvalidator.cs
- PseudoWebRequest.cs
- ResourceExpression.cs
- BitmapEffectCollection.cs
- GridViewEditEventArgs.cs
- BitmapImage.cs
- DesignerSerializerAttribute.cs
- KeyValuePairs.cs
- ExpressionEditorAttribute.cs
- MailWebEventProvider.cs
- RemotingAttributes.cs
- SafeFreeMibTable.cs
- MetadataException.cs
- WebZone.cs
- State.cs
- NotSupportedException.cs
- ListViewTableCell.cs
- ClonableStack.cs
- EdmFunction.cs
- BaseTemplateBuildProvider.cs
- TransactionBridge.cs
- Item.cs
- ObjectDataSourceDesigner.cs
- EngineSite.cs
- CaseInsensitiveComparer.cs
- ManagedWndProcTracker.cs
- ValidationUtility.cs
- Parallel.cs
- TextDecorationUnitValidation.cs
- PtsContext.cs
- BaseCAMarshaler.cs
- BaseDataList.cs
- SmtpAuthenticationManager.cs
- IIS7WorkerRequest.cs
- IgnoreFileBuildProvider.cs
- RowBinding.cs
- Pair.cs
- CloudCollection.cs
- RelationshipWrapper.cs
- KnowledgeBase.cs
- FieldDescriptor.cs
- Page.cs
- MarshalDirectiveException.cs
- DoubleLinkListEnumerator.cs