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
- FilteredDataSetHelper.cs
- EntityContainerRelationshipSet.cs
- SamlAttribute.cs
- StreamWithDictionary.cs
- DataStreamFromComStream.cs
- DebugControllerThread.cs
- EntityObject.cs
- HtmlShimManager.cs
- ViewService.cs
- ISAPIApplicationHost.cs
- WaitForChangedResult.cs
- MasterPage.cs
- ClientSideProviderDescription.cs
- DataGridToolTip.cs
- UrlPropertyAttribute.cs
- ActionItem.cs
- WebPartTransformerAttribute.cs
- SamlAssertionKeyIdentifierClause.cs
- FontUnitConverter.cs
- _BasicClient.cs
- MarshalByRefObject.cs
- SystemInfo.cs
- EmptyEnumerable.cs
- validationstate.cs
- ActivatedMessageQueue.cs
- PairComparer.cs
- GenericTypeParameterBuilder.cs
- EqualityComparer.cs
- StyleHelper.cs
- XmlCharCheckingReader.cs
- ImageConverter.cs
- DataTableClearEvent.cs
- InternalCache.cs
- CompositeFontInfo.cs
- DataGridViewColumnEventArgs.cs
- DbParameterHelper.cs
- TreeNode.cs
- CultureInfo.cs
- BrowsableAttribute.cs
- transactioncontext.cs
- DependencyPropertyConverter.cs
- BitStack.cs
- CodeCommentStatementCollection.cs
- SAPICategories.cs
- DataBindEngine.cs
- XmlSerializerAssemblyAttribute.cs
- TableRow.cs
- ErrorProvider.cs
- SynchronizationScope.cs
- ArraySubsetEnumerator.cs
- DateTimeStorage.cs
- Misc.cs
- HttpStreams.cs
- TypedReference.cs
- D3DImage.cs
- SafeTimerHandle.cs
- MulticastIPAddressInformationCollection.cs
- TypeDependencyAttribute.cs
- Method.cs
- MasterPageParser.cs
- BitmapPalettes.cs
- TransformedBitmap.cs
- TreeWalkHelper.cs
- FlowLayoutPanel.cs
- DataListAutoFormat.cs
- XmlBinaryReader.cs
- XmlSchemaDocumentation.cs
- CodeIdentifier.cs
- HelpProvider.cs
- AttachInfo.cs
- UnknownBitmapDecoder.cs
- DummyDataSource.cs
- ButtonRenderer.cs
- FlowLayoutPanel.cs
- StateMachineHelpers.cs
- FileNotFoundException.cs
- Soap.cs
- HtmlObjectListAdapter.cs
- CheckedPointers.cs
- PointCollectionValueSerializer.cs
- CommandValueSerializer.cs
- StringStorage.cs
- regiisutil.cs
- InvalidateEvent.cs
- MultipartIdentifier.cs
- CollectionViewGroup.cs
- Converter.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- Model3D.cs
- PropVariant.cs
- ObjectDataSource.cs
- RtType.cs
- StreamInfo.cs
- ResizeGrip.cs
- InputScopeAttribute.cs
- EmptyCollection.cs
- ExtractorMetadata.cs
- PropertyCollection.cs
- SerializationUtilities.cs
- TimelineCollection.cs