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
- XmlBinaryWriter.cs
- TemplateManager.cs
- ExclusiveCanonicalizationTransform.cs
- UTF32Encoding.cs
- XmlWriterTraceListener.cs
- NetNamedPipeBinding.cs
- ContextProperty.cs
- XMLUtil.cs
- NavigationPropertyEmitter.cs
- FontStretchConverter.cs
- BoundsDrawingContextWalker.cs
- VersionedStreamOwner.cs
- TokenBasedSetEnumerator.cs
- FileEnumerator.cs
- RSAPKCS1KeyExchangeFormatter.cs
- AccessDataSource.cs
- StartUpEventArgs.cs
- KeyboardDevice.cs
- GenericIdentity.cs
- RequestSecurityToken.cs
- _LocalDataStoreMgr.cs
- SolidColorBrush.cs
- EmptyReadOnlyDictionaryInternal.cs
- ShapeTypeface.cs
- WebSysDescriptionAttribute.cs
- ThreadPoolTaskScheduler.cs
- LogRestartAreaEnumerator.cs
- ConfigurationConverterBase.cs
- HtmlElement.cs
- TextBoxDesigner.cs
- EntityAdapter.cs
- StrokeNode.cs
- StateElementCollection.cs
- StructuredType.cs
- DbReferenceCollection.cs
- ApplicationInterop.cs
- EntitySetBase.cs
- X509Certificate.cs
- Msec.cs
- InfiniteIntConverter.cs
- TextEditorParagraphs.cs
- Double.cs
- ResourcePart.cs
- WebPermission.cs
- Symbol.cs
- FragmentNavigationEventArgs.cs
- WebPartTransformer.cs
- ZoneButton.cs
- SystemTcpConnection.cs
- BaseAppDomainProtocolHandler.cs
- BaseDataBoundControl.cs
- PDBReader.cs
- SqlAggregateChecker.cs
- ExtensionFile.cs
- DummyDataSource.cs
- Atom10FormatterFactory.cs
- SafeWaitHandle.cs
- WsdlInspector.cs
- PlanCompilerUtil.cs
- ETagAttribute.cs
- CompletedAsyncResult.cs
- DrawingGroup.cs
- UserNameSecurityToken.cs
- EditorResources.cs
- EllipticalNodeOperations.cs
- NotCondition.cs
- wgx_render.cs
- EnvironmentPermission.cs
- X509ChainElement.cs
- HyperLink.cs
- CompilerGlobalScopeAttribute.cs
- DCSafeHandle.cs
- FillBehavior.cs
- WebEventCodes.cs
- KeyboardEventArgs.cs
- sqlser.cs
- _SSPISessionCache.cs
- PropertyEmitterBase.cs
- ConsoleKeyInfo.cs
- MSHTMLHost.cs
- JsonReaderWriterFactory.cs
- FilterQuery.cs
- DataSourceGroupCollection.cs
- LostFocusEventManager.cs
- DataGridViewColumnStateChangedEventArgs.cs
- CodeArgumentReferenceExpression.cs
- HashAlgorithm.cs
- PageClientProxyGenerator.cs
- Nodes.cs
- QilTypeChecker.cs
- ObjectListItemCollection.cs
- SmiRequestExecutor.cs
- FixedDocumentPaginator.cs
- _NegoState.cs
- StringReader.cs
- ProxyHelper.cs
- PeerTransportBindingElement.cs
- CngUIPolicy.cs
- AbandonedMutexException.cs
- UrlPath.cs