Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Navigation / FragmentNavigationEventArgs.cs / 1305600 / FragmentNavigationEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // // // History: // 02/01/05: [....] Created. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// FragmentNavigationEventArgs exposes the fragment being navigated to /// in an event fired from NavigationService to notify a listening client /// that a navigation to fragment is about to occur. This is used for table /// of contents navigations in fixed format documents. /// public class FragmentNavigationEventArgs : EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors internal FragmentNavigationEventArgs(string fragment, object Navigator) { _fragment = fragment; _navigator = Navigator; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The fragment part of the URI that was passed to the Navigate() API which initiated this navigation. /// The fragment may be String.Empty to indicate a scroll to the top of the page. /// public string Fragment { get { return _fragment; } } ////// If this flag is not set by the called method then NavigationService will attempt to /// find an element with name equal to the fragment and bring it into view. /// public bool Handled { get { return _handled; } set { _handled = value; } } ////// The navigator that raised this event /// public object Navigator { get { return _navigator; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private string _fragment; private bool _handled; object _navigator; #endregion Private Fields } } // 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
- ReflectionHelper.cs
- HttpFileCollection.cs
- HttpHostedTransportConfiguration.cs
- LoginView.cs
- HybridCollection.cs
- ImageEditor.cs
- UriWriter.cs
- NameValueCollection.cs
- ScrollEventArgs.cs
- PersistenceMetadataNamespace.cs
- safex509handles.cs
- DateTimeFormatInfo.cs
- XmlNavigatorStack.cs
- Token.cs
- Point3DCollectionConverter.cs
- WebBrowserNavigatedEventHandler.cs
- Image.cs
- metadatamappinghashervisitor.cs
- CodeComment.cs
- ToolStripButton.cs
- ServiceCredentialsSecurityTokenManager.cs
- HttpDebugHandler.cs
- KeyFrames.cs
- DataGridColumnCollection.cs
- PeerCollaboration.cs
- CommonDialog.cs
- UniqueConstraint.cs
- BinaryObjectInfo.cs
- OleTxTransaction.cs
- WebPartUserCapability.cs
- EndpointDiscoveryBehavior.cs
- DataGridDesigner.cs
- WebPartDescriptionCollection.cs
- MachineKeySection.cs
- Triangle.cs
- WebMessageEncodingElement.cs
- SecurityTokenProviderContainer.cs
- WebConfigurationHostFileChange.cs
- WebPartConnectionsCloseVerb.cs
- CompiledQueryCacheEntry.cs
- ClientEventManager.cs
- ColumnReorderedEventArgs.cs
- Set.cs
- WeakReferenceKey.cs
- VirtualPathUtility.cs
- MouseButton.cs
- BindingUtils.cs
- DynamicMethod.cs
- Resources.Designer.cs
- FullTrustAssembly.cs
- StylusPointPropertyId.cs
- OverrideMode.cs
- ActivityCodeGenerator.cs
- SQlBooleanStorage.cs
- Base64Decoder.cs
- StoryFragments.cs
- WmfPlaceableFileHeader.cs
- EntityDataSourceWrapper.cs
- TypeSource.cs
- MethodToken.cs
- ResourceCollectionInfo.cs
- FixedSOMLineRanges.cs
- TrackingMemoryStream.cs
- CleanUpVirtualizedItemEventArgs.cs
- DoubleLinkList.cs
- VersionPair.cs
- AutomationPatternInfo.cs
- CompositeControl.cs
- AutomationEvent.cs
- XmlEntity.cs
- SafeThreadHandle.cs
- ResizeBehavior.cs
- BitmapEffectGeneralTransform.cs
- ElementMarkupObject.cs
- JoinTreeNode.cs
- BlurEffect.cs
- InplaceBitmapMetadataWriter.cs
- PropertyNames.cs
- Rotation3D.cs
- IisTraceWebEventProvider.cs
- Stackframe.cs
- IfElseDesigner.xaml.cs
- IInstanceTable.cs
- PagedDataSource.cs
- StagingAreaInputItem.cs
- SQLSingleStorage.cs
- InkCanvas.cs
- MenuAdapter.cs
- ProxyHelper.cs
- ProviderSettings.cs
- XmlAnyElementAttributes.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DataMember.cs
- PasswordTextContainer.cs
- RMPublishingDialog.cs
- ParentUndoUnit.cs
- GlyphRun.cs
- DrawingServices.cs
- listitem.cs
- NotImplementedException.cs