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
- WebRequestModuleElementCollection.cs
- BuildResultCache.cs
- FormsAuthenticationUserCollection.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- TemplateInstanceAttribute.cs
- DbSetClause.cs
- InvokeSchedule.cs
- DataGridViewDataErrorEventArgs.cs
- DelegatedStream.cs
- ScriptRegistrationManager.cs
- TabPanel.cs
- SafeFileMapViewHandle.cs
- PeerDuplexChannelListener.cs
- RuleSettingsCollection.cs
- PathFigure.cs
- BlurEffect.cs
- SerializationObjectManager.cs
- DbParameterCollectionHelper.cs
- DataControlImageButton.cs
- HandlerFactoryCache.cs
- PropertyInformation.cs
- DataGridColumnHeader.cs
- DateBoldEvent.cs
- _ConnectionGroup.cs
- Vector3DKeyFrameCollection.cs
- App.cs
- AdapterDictionary.cs
- Rotation3DKeyFrameCollection.cs
- StateInitialization.cs
- CancellationScope.cs
- VolatileEnlistmentMultiplexing.cs
- CheckBoxList.cs
- DesignBindingPropertyDescriptor.cs
- Rijndael.cs
- BuilderInfo.cs
- HtmlInputImage.cs
- ListQueryResults.cs
- BitmapCache.cs
- XhtmlBasicLabelAdapter.cs
- InputScope.cs
- SignedPkcs7.cs
- BinaryWriter.cs
- IndexedEnumerable.cs
- ReleaseInstanceMode.cs
- NavigateEvent.cs
- WmlFormAdapter.cs
- CodeAttributeArgument.cs
- DetailsViewUpdateEventArgs.cs
- NavigatingCancelEventArgs.cs
- CalendarKeyboardHelper.cs
- PeerPresenceInfo.cs
- DocumentViewerHelper.cs
- _AcceptOverlappedAsyncResult.cs
- StyleXamlParser.cs
- UnionExpr.cs
- WorkflowDebuggerSteppingAttribute.cs
- CompensatableTransactionScopeActivityDesigner.cs
- RemotingException.cs
- OleDbDataReader.cs
- DropDownHolder.cs
- BitmapEffectGeneralTransform.cs
- DbDeleteCommandTree.cs
- TypographyProperties.cs
- SQLInt16Storage.cs
- SmiMetaData.cs
- ListViewSortEventArgs.cs
- DescendantQuery.cs
- ConfigXmlElement.cs
- EventLogPermission.cs
- InternalDispatchObject.cs
- ErrorLog.cs
- DBDataPermission.cs
- DataGridViewCellStateChangedEventArgs.cs
- ColorTranslator.cs
- FileRegion.cs
- ValidationRule.cs
- RemoteX509AsymmetricSecurityKey.cs
- TypeInitializationException.cs
- HtmlInputRadioButton.cs
- PtsCache.cs
- ScalarType.cs
- StorageFunctionMapping.cs
- SiteMapNodeItemEventArgs.cs
- FileLogRecordStream.cs
- SqlTransaction.cs
- EdmTypeAttribute.cs
- TextUtf8RawTextWriter.cs
- ReaderContextStackData.cs
- NullableFloatAverageAggregationOperator.cs
- TableItemPatternIdentifiers.cs
- SerializationInfo.cs
- AmbientEnvironment.cs
- CodeGeneratorOptions.cs
- CFGGrammar.cs
- Model3DCollection.cs
- RoleGroup.cs
- TraceAsyncResult.cs
- SymbolPair.cs
- SynchronizationContext.cs
- LayoutTableCell.cs