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
- CellQuery.cs
- SqlOuterApplyReducer.cs
- WhitespaceSignificantCollectionAttribute.cs
- TranslateTransform.cs
- ElementProxy.cs
- XpsFilter.cs
- shaperfactoryquerycachekey.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- HorizontalAlignConverter.cs
- Wow64ConfigurationLoader.cs
- ItemCollectionEditor.cs
- WebBrowserUriTypeConverter.cs
- complextypematerializer.cs
- DbConnectionPoolCounters.cs
- TypedReference.cs
- ISFClipboardData.cs
- FixedSOMTable.cs
- CodeIdentifiers.cs
- WebScriptMetadataMessage.cs
- DataViewListener.cs
- VariableQuery.cs
- Lock.cs
- MediaContext.cs
- EmptyElement.cs
- Decimal.cs
- NumberSubstitution.cs
- DbException.cs
- SchemaTableColumn.cs
- Geometry3D.cs
- ValidationResult.cs
- DocumentOrderQuery.cs
- ExpressionBinding.cs
- DataGridViewButtonColumn.cs
- LineUtil.cs
- DataStreamFromComStream.cs
- ExpressionHelper.cs
- ElementProxy.cs
- JsonEnumDataContract.cs
- CasesDictionary.cs
- RankException.cs
- ReliabilityContractAttribute.cs
- ResourceCollectionInfo.cs
- IndexOutOfRangeException.cs
- XsltFunctions.cs
- TrustManagerPromptUI.cs
- ValueTable.cs
- CodeExpressionStatement.cs
- ContentElementAutomationPeer.cs
- NullRuntimeConfig.cs
- FormatSettings.cs
- ArgumentException.cs
- EdmToObjectNamespaceMap.cs
- DesignColumn.cs
- Matrix.cs
- CaseInsensitiveComparer.cs
- LinqDataSourceValidationException.cs
- SystemResources.cs
- ThrowOnMultipleAssignment.cs
- Solver.cs
- DataServiceClientException.cs
- ObjectStateEntryDbDataRecord.cs
- ListViewDesigner.cs
- PreviewPageInfo.cs
- ReflectEventDescriptor.cs
- PatternMatcher.cs
- MatrixKeyFrameCollection.cs
- ArraySet.cs
- CommandLibraryHelper.cs
- DispatcherProcessingDisabled.cs
- XPathExpr.cs
- LicenseManager.cs
- DataRowView.cs
- RelatedPropertyManager.cs
- MLangCodePageEncoding.cs
- TemplateBindingExtensionConverter.cs
- XmlMemberMapping.cs
- ServiceDescription.cs
- PersonalizableAttribute.cs
- SoapIncludeAttribute.cs
- TransformValueSerializer.cs
- ExeContext.cs
- GcHandle.cs
- TransformCryptoHandle.cs
- WhiteSpaceTrimStringConverter.cs
- ConcurrentStack.cs
- LockedAssemblyCache.cs
- ValidationService.cs
- PerfCounters.cs
- _UriTypeConverter.cs
- BodyGlyph.cs
- TokenBasedSet.cs
- OrderedDictionary.cs
- XmlAnyAttributeAttribute.cs
- Monitor.cs
- RegexMatch.cs
- ConfigXmlElement.cs
- WebPartCatalogCloseVerb.cs
- HandlerWithFactory.cs
- StatusBar.cs
- SourceElementsCollection.cs