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
- Ref.cs
- SpecularMaterial.cs
- ReflectPropertyDescriptor.cs
- nulltextnavigator.cs
- WmpBitmapEncoder.cs
- ServiceDescriptionImporter.cs
- CollectionViewGroupInternal.cs
- oledbmetadatacollectionnames.cs
- GenericArgumentsUpdater.cs
- TextLineBreak.cs
- AuthenticationModulesSection.cs
- externdll.cs
- ADMembershipProvider.cs
- HtmlMeta.cs
- Themes.cs
- ReadOnlyActivityGlyph.cs
- WebPartConnectionCollection.cs
- WinInet.cs
- Section.cs
- FieldBuilder.cs
- FormsAuthenticationUserCollection.cs
- XmlQuerySequence.cs
- ClientConfigPaths.cs
- TableCellAutomationPeer.cs
- VBIdentifierDesigner.xaml.cs
- DataSourceCache.cs
- TypeBuilder.cs
- ImageFormatConverter.cs
- SpeakProgressEventArgs.cs
- SettingsPropertyWrongTypeException.cs
- SHA384CryptoServiceProvider.cs
- DataStreams.cs
- CacheChildrenQuery.cs
- FilterableAttribute.cs
- LinqDataSource.cs
- ClaimSet.cs
- COM2PropertyPageUITypeConverter.cs
- SkewTransform.cs
- RequestCache.cs
- LinkGrep.cs
- RightsManagementEncryptedStream.cs
- AxisAngleRotation3D.cs
- MarkupCompilePass2.cs
- LambdaCompiler.Binary.cs
- DrawingState.cs
- ACL.cs
- ListChangedEventArgs.cs
- FixedSOMPage.cs
- Int32Animation.cs
- Selector.cs
- DynamicResourceExtensionConverter.cs
- Events.cs
- BamlReader.cs
- CapabilitiesRule.cs
- GeometryDrawing.cs
- ConfigurationElementProperty.cs
- InputElement.cs
- RefreshPropertiesAttribute.cs
- ConfigurationFileMap.cs
- _NegoStream.cs
- ExtensibleClassFactory.cs
- _Semaphore.cs
- DbMetaDataCollectionNames.cs
- FloaterParaClient.cs
- AssemblyInfo.cs
- ResourcesChangeInfo.cs
- RemotingConfigParser.cs
- CopyOnWriteList.cs
- ExtendedProperty.cs
- ServiceInfoCollection.cs
- DataControlCommands.cs
- TrackingMemoryStreamFactory.cs
- ColumnClickEvent.cs
- URLMembershipCondition.cs
- ScrollProviderWrapper.cs
- HttpRuntime.cs
- UniqueConstraint.cs
- WebPartEditorApplyVerb.cs
- ReliableSessionElement.cs
- WebPartConnectVerb.cs
- PtsContext.cs
- Html32TextWriter.cs
- SqlStatistics.cs
- DbException.cs
- HtmlContainerControl.cs
- updateconfighost.cs
- SymbolMethod.cs
- ConnectionsZone.cs
- RectIndependentAnimationStorage.cs
- ApplicationHost.cs
- SoapInteropTypes.cs
- InputElement.cs
- TypedElement.cs
- AccessKeyManager.cs
- AssemblySettingAttributes.cs
- SQLInt64.cs
- ReferenceEqualityComparer.cs
- XmlResolver.cs
- SafeTimerHandle.cs
- NavigateEvent.cs