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
- CodeSubDirectory.cs
- URI.cs
- HtmlInputHidden.cs
- WebBrowserNavigatedEventHandler.cs
- InkCanvasSelectionAdorner.cs
- TraceContext.cs
- QfeChecker.cs
- TokenBasedSetEnumerator.cs
- SiteIdentityPermission.cs
- ReflectionTypeLoadException.cs
- CombinedGeometry.cs
- CustomPopupPlacement.cs
- BaseDataListComponentEditor.cs
- LookupTables.cs
- DelimitedListTraceListener.cs
- Tablet.cs
- FormatConvertedBitmap.cs
- ContentValidator.cs
- FixedNode.cs
- TrackBarRenderer.cs
- SignatureToken.cs
- MatrixTransform.cs
- ScrollBarAutomationPeer.cs
- XmlEnumAttribute.cs
- path.cs
- ComponentManagerBroker.cs
- XmlMtomWriter.cs
- QueuePathEditor.cs
- ServiceProviders.cs
- SHA512.cs
- EventLogEntry.cs
- Win32SafeHandles.cs
- SmiMetaData.cs
- ParagraphResult.cs
- DataServiceExpressionVisitor.cs
- RepeaterItemEventArgs.cs
- TypeConverter.cs
- SuppressMessageAttribute.cs
- InteropExecutor.cs
- CompiledIdentityConstraint.cs
- SystemInfo.cs
- Activity.cs
- DropSource.cs
- LineSegment.cs
- ByteViewer.cs
- ServiceHttpModule.cs
- SymbolEqualComparer.cs
- TemplatedWizardStep.cs
- SortExpressionBuilder.cs
- ProcessThread.cs
- UnicastIPAddressInformationCollection.cs
- GenericIdentity.cs
- MarshalByValueComponent.cs
- FreeFormDesigner.cs
- IsolationInterop.cs
- EditorZoneBase.cs
- AddInProcess.cs
- AbsoluteQuery.cs
- ExplicitDiscriminatorMap.cs
- TextModifierScope.cs
- XmlSchemaExporter.cs
- StringArrayConverter.cs
- UnsafeNativeMethods.cs
- BamlLocalizabilityResolver.cs
- CodeIterationStatement.cs
- PeerNameRecord.cs
- DbBuffer.cs
- AudioDeviceOut.cs
- WindowsIdentity.cs
- DbConnectionStringCommon.cs
- AlignmentXValidation.cs
- ToolStripHighContrastRenderer.cs
- TextSelection.cs
- Logging.cs
- Stylus.cs
- ValueProviderWrapper.cs
- ClrPerspective.cs
- ImageCodecInfoPrivate.cs
- DoubleCollectionValueSerializer.cs
- DataRecordObjectView.cs
- ComboBoxRenderer.cs
- DynamicDataExtensions.cs
- TransmissionStrategy.cs
- StrokeNodeOperations.cs
- CqlWriter.cs
- SignerInfo.cs
- PlainXmlDeserializer.cs
- DrawingServices.cs
- WebPartZoneCollection.cs
- StickyNoteAnnotations.cs
- ReadOnlyDataSourceView.cs
- SymbolType.cs
- UserControl.cs
- HashCodeCombiner.cs
- util.cs
- SectionXmlInfo.cs
- Soap.cs
- FontStretches.cs
- SQLSingleStorage.cs
- BitmapEffectDrawingContextWalker.cs