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
- PowerStatus.cs
- XmlSchemaAttributeGroup.cs
- UrlMapping.cs
- CopyOnWriteList.cs
- SecurityDocument.cs
- WindowsToolbar.cs
- EventSetterHandlerConverter.cs
- FileUtil.cs
- WebPartDisplayModeCollection.cs
- StickyNoteHelper.cs
- IInstanceTable.cs
- UnmanagedBitmapWrapper.cs
- RelationshipEntry.cs
- XmlSecureResolver.cs
- HTTPNotFoundHandler.cs
- XmlSchemaObjectCollection.cs
- XamlDesignerSerializationManager.cs
- GeometryModel3D.cs
- DataColumnCollection.cs
- XmlEntity.cs
- XAMLParseException.cs
- XmlSerializerAssemblyAttribute.cs
- RayHitTestParameters.cs
- DetailsViewDeletedEventArgs.cs
- IntAverageAggregationOperator.cs
- MetadataException.cs
- ListViewGroupConverter.cs
- AppLevelCompilationSectionCache.cs
- WorkflowOperationInvoker.cs
- CompModSwitches.cs
- CustomWebEventKey.cs
- UnknownWrapper.cs
- ScrollBar.cs
- DbInsertCommandTree.cs
- HMACSHA384.cs
- SqlCommandSet.cs
- DesignerSerializationOptionsAttribute.cs
- FixedSOMPage.cs
- TextElementEnumerator.cs
- HwndSubclass.cs
- IdentityNotMappedException.cs
- PeerApplicationLaunchInfo.cs
- RequestTimeoutManager.cs
- ValidationContext.cs
- TextTrailingWordEllipsis.cs
- VisualBrush.cs
- ChannelServices.cs
- GridItem.cs
- OracleBinary.cs
- XmlHierarchicalEnumerable.cs
- ThemeableAttribute.cs
- BrowserCapabilitiesFactory35.cs
- DoubleKeyFrameCollection.cs
- TabControlAutomationPeer.cs
- AdapterUtil.cs
- PerfService.cs
- StringValidator.cs
- SmiXetterAccessMap.cs
- WebServicesInteroperability.cs
- ColorContext.cs
- DeviceContext.cs
- EditorPartCollection.cs
- HybridDictionary.cs
- UdpDiscoveryEndpoint.cs
- EventProviderClassic.cs
- Color.cs
- ToolStripDropDownMenu.cs
- SafeLibraryHandle.cs
- TextFragmentEngine.cs
- DataBinding.cs
- TopClause.cs
- VisualStyleElement.cs
- EncodingTable.cs
- WindowsListViewItemStartMenu.cs
- WebProxyScriptElement.cs
- WindowsScroll.cs
- AstTree.cs
- DrawListViewColumnHeaderEventArgs.cs
- DataAdapter.cs
- TouchesCapturedWithinProperty.cs
- BooleanAnimationUsingKeyFrames.cs
- SpeakInfo.cs
- ProcessingInstructionAction.cs
- HighContrastHelper.cs
- Regex.cs
- DefaultShape.cs
- InputProviderSite.cs
- SafePEFileHandle.cs
- ping.cs
- ChildrenQuery.cs
- ProtocolsConfiguration.cs
- AsynchronousChannelMergeEnumerator.cs
- GridItemCollection.cs
- MsmqIntegrationElement.cs
- EventBuilder.cs
- AdornerHitTestResult.cs
- TemplateControl.cs
- InternalControlCollection.cs
- ErrorTableItemStyle.cs
- Block.cs