Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Navigation / FragmentNavigationEventArgs.cs / 1 / 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
- LiteralLink.cs
- WebServiceClientProxyGenerator.cs
- FileSystemInfo.cs
- GrammarBuilderRuleRef.cs
- IsolatedStorageFile.cs
- ZoneIdentityPermission.cs
- DataServiceExpressionVisitor.cs
- RetrieveVirtualItemEventArgs.cs
- XamlTreeBuilder.cs
- EventWaitHandleSecurity.cs
- basevalidator.cs
- HistoryEventArgs.cs
- SchemaTypeEmitter.cs
- Vector3D.cs
- FileRegion.cs
- ServiceHttpModule.cs
- ScalarType.cs
- EmptyEnumerator.cs
- ByteViewer.cs
- NumberFormatInfo.cs
- ListSourceHelper.cs
- InputReportEventArgs.cs
- RawStylusInputReport.cs
- TextServicesManager.cs
- ActivityDefaults.cs
- TouchesOverProperty.cs
- AvtEvent.cs
- ClientOptions.cs
- DelegatingHeader.cs
- XmlnsCache.cs
- WebColorConverter.cs
- OutputWindow.cs
- GlobalProxySelection.cs
- FileDialogCustomPlace.cs
- LabelAutomationPeer.cs
- MessageQueueAccessControlEntry.cs
- Selector.cs
- CacheAxisQuery.cs
- LinearGradientBrush.cs
- QilStrConcat.cs
- SecurityListenerSettingsLifetimeManager.cs
- ParsedRoute.cs
- AsymmetricSignatureDeformatter.cs
- DocumentSchemaValidator.cs
- SourceElementsCollection.cs
- DigitalSignature.cs
- TrackBarRenderer.cs
- SafeCertificateStore.cs
- DPTypeDescriptorContext.cs
- ThreadExceptionDialog.cs
- ConfigurationSection.cs
- EntityDataSourceValidationException.cs
- AmbientProperties.cs
- ReceiveCompletedEventArgs.cs
- securestring.cs
- RSAProtectedConfigurationProvider.cs
- ResXFileRef.cs
- NaturalLanguageHyphenator.cs
- SelectionUIService.cs
- UnlockInstanceAsyncResult.cs
- SqlUserDefinedAggregateAttribute.cs
- SqlErrorCollection.cs
- ExceptionTrace.cs
- ExceptionNotification.cs
- ThrowHelper.cs
- DeclarativeCatalogPart.cs
- ContentIterators.cs
- TextViewBase.cs
- SystemIPv4InterfaceProperties.cs
- NativeCompoundFileAPIs.cs
- ReadOnlyDataSource.cs
- OdbcConnection.cs
- InvalidCommandTreeException.cs
- ProxyHelper.cs
- PathSegment.cs
- HitTestParameters.cs
- ThicknessKeyFrameCollection.cs
- MruCache.cs
- ListViewItemEventArgs.cs
- ListSortDescription.cs
- PrePostDescendentsWalker.cs
- TraceSwitch.cs
- NameObjectCollectionBase.cs
- DesignerActionList.cs
- ToolStripPanelDesigner.cs
- Size3D.cs
- ColumnResizeAdorner.cs
- Padding.cs
- SingleTagSectionHandler.cs
- IteratorFilter.cs
- UIPermission.cs
- DynamicVirtualDiscoSearcher.cs
- MarkupObject.cs
- SizeFConverter.cs
- TextTreeText.cs
- GPRECT.cs
- AlternateViewCollection.cs
- RequestCache.cs
- DefaultBinder.cs
- SmtpNegotiateAuthenticationModule.cs