Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- Reference.cs
- XmlBaseWriter.cs
- Char.cs
- DataGridViewCellMouseEventArgs.cs
- Rule.cs
- JsonFormatReaderGenerator.cs
- QilPatternVisitor.cs
- ConnectionProviderAttribute.cs
- DataBoundControlHelper.cs
- InputLangChangeRequestEvent.cs
- DataAccessor.cs
- TagMapCollection.cs
- OrderPreservingPipeliningMergeHelper.cs
- Publisher.cs
- PropertyItem.cs
- Encoding.cs
- HttpModuleAction.cs
- ResourceReferenceKeyNotFoundException.cs
- FlowLayout.cs
- _RequestCacheProtocol.cs
- InputScopeAttribute.cs
- WebPartConnectionsDisconnectVerb.cs
- DispatcherHookEventArgs.cs
- QueryContinueDragEventArgs.cs
- SamlNameIdentifierClaimResource.cs
- DataMemberListEditor.cs
- DataGridViewLinkCell.cs
- HtmlTextArea.cs
- ReadOnlyHierarchicalDataSource.cs
- InputElement.cs
- TracePayload.cs
- SafeHandle.cs
- IgnoreSectionHandler.cs
- BehaviorDragDropEventArgs.cs
- GroupQuery.cs
- EmptyReadOnlyDictionaryInternal.cs
- ProjectionPath.cs
- PersonalizationStateInfoCollection.cs
- ManagementOptions.cs
- ResourceBinder.cs
- CustomPopupPlacement.cs
- ChannelEndpointElement.cs
- ObjectCacheSettings.cs
- DescendantBaseQuery.cs
- PropertyFilter.cs
- FixedSOMTextRun.cs
- DateTimeOffset.cs
- BamlLocalizationDictionary.cs
- RequiredFieldValidator.cs
- HttpCacheVaryByContentEncodings.cs
- ListCollectionView.cs
- DoubleKeyFrameCollection.cs
- LinkUtilities.cs
- ValidatedControlConverter.cs
- FormsAuthenticationCredentials.cs
- TextEvent.cs
- VersionedStream.cs
- DrawingImage.cs
- storepermissionattribute.cs
- RootBuilder.cs
- CompiledELinqQueryState.cs
- ISAPIRuntime.cs
- GiveFeedbackEventArgs.cs
- SelectionProcessor.cs
- ByteStreamMessageEncoderFactory.cs
- ParenExpr.cs
- QueryAccessibilityHelpEvent.cs
- ProtocolViolationException.cs
- RequiredFieldValidator.cs
- DependencyObjectType.cs
- QuaternionRotation3D.cs
- WebContext.cs
- Utils.cs
- EndOfStreamException.cs
- NotImplementedException.cs
- GeometryGroup.cs
- DataSetMappper.cs
- ContainerParagraph.cs
- ReaderWriterLock.cs
- ProcessHostServerConfig.cs
- XPathException.cs
- ThousandthOfEmRealPoints.cs
- MailMessageEventArgs.cs
- JulianCalendar.cs
- VectorValueSerializer.cs
- SymbolType.cs
- ProviderException.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- BitmapEffectGroup.cs
- HttpValueCollection.cs
- FontFamilyValueSerializer.cs
- AlphabetConverter.cs
- CheckBoxList.cs
- Ref.cs
- SamlAuthorizationDecisionStatement.cs
- CategoryNameCollection.cs
- AnchoredBlock.cs
- SoapIncludeAttribute.cs
- SafeUserTokenHandle.cs
- NoneExcludedImageIndexConverter.cs