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
- IIS7UserPrincipal.cs
- MemberListBinding.cs
- ValidationErrorCollection.cs
- StrokeIntersection.cs
- Color.cs
- GcSettings.cs
- CachedFontFace.cs
- SecureEnvironment.cs
- HitTestResult.cs
- ActivityExecutionFilter.cs
- Fx.cs
- OracleInfoMessageEventArgs.cs
- FigureParaClient.cs
- OracleCommandBuilder.cs
- CqlBlock.cs
- ClientType.cs
- WmfPlaceableFileHeader.cs
- BufferedGraphicsManager.cs
- HMACSHA256.cs
- DesignerDataColumn.cs
- RemotingAttributes.cs
- EncryptedKeyHashIdentifierClause.cs
- RowsCopiedEventArgs.cs
- BaseCodePageEncoding.cs
- MethodRental.cs
- SQLStringStorage.cs
- IdentitySection.cs
- StoragePropertyMapping.cs
- Transform3DGroup.cs
- CompiledQueryCacheKey.cs
- ClassicBorderDecorator.cs
- StringValidatorAttribute.cs
- SymmetricKeyWrap.cs
- ValidationErrorEventArgs.cs
- TraceLevelStore.cs
- CompositeFontInfo.cs
- GlyphShapingProperties.cs
- ExpandButtonVisibilityConverter.cs
- ImageMetadata.cs
- NullableLongMinMaxAggregationOperator.cs
- AgileSafeNativeMemoryHandle.cs
- LocalizableAttribute.cs
- DataGridViewRowStateChangedEventArgs.cs
- Activation.cs
- InkCollectionBehavior.cs
- GenericWebPart.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- StructuralType.cs
- DataSourceCollectionBase.cs
- DataBindingCollectionEditor.cs
- PropertyMapper.cs
- WebHeaderCollection.cs
- httpapplicationstate.cs
- ActivityCollectionMarkupSerializer.cs
- BaseParaClient.cs
- WindowsGraphicsCacheManager.cs
- RectAnimationClockResource.cs
- XmlCDATASection.cs
- Mapping.cs
- ReliabilityContractAttribute.cs
- Monitor.cs
- DesignerVerb.cs
- UserPreferenceChangingEventArgs.cs
- PropertyChangedEventArgs.cs
- TransactionTable.cs
- SafeProcessHandle.cs
- MergeLocalizationDirectives.cs
- ImageMap.cs
- SocketPermission.cs
- XmlSchemaCompilationSettings.cs
- FormsAuthenticationCredentials.cs
- TextModifierScope.cs
- EntityDataSourceContextDisposingEventArgs.cs
- DataGridViewCellValueEventArgs.cs
- IsolatedStorageFileStream.cs
- BuildManager.cs
- HwndSourceParameters.cs
- KeyValuePair.cs
- SmiEventSink.cs
- TrackingServices.cs
- PersistChildrenAttribute.cs
- TextTrailingWordEllipsis.cs
- EntityCodeGenerator.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- StylusEventArgs.cs
- AnnouncementDispatcherAsyncResult.cs
- GenericWebPart.cs
- ComPlusDiagnosticTraceRecords.cs
- XmlDataProvider.cs
- CodeThrowExceptionStatement.cs
- TextSpan.cs
- PropertyInfo.cs
- StrokeCollection2.cs
- SqlClientMetaDataCollectionNames.cs
- WrappedOptions.cs
- DesigntimeLicenseContext.cs
- PaperSize.cs
- Application.cs
- XmlSchemaElement.cs
- MsmqIntegrationInputChannel.cs