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
- ObjectContextServiceProvider.cs
- GradientStopCollection.cs
- SiteMapPathDesigner.cs
- XmlWhitespace.cs
- XmlCharType.cs
- SynchronizationContext.cs
- LayoutManager.cs
- TextWriterEngine.cs
- FlagsAttribute.cs
- AppDomainGrammarProxy.cs
- ObjectDataSourceFilteringEventArgs.cs
- FixedFlowMap.cs
- TrackingExtract.cs
- TextTrailingCharacterEllipsis.cs
- VoiceChangeEventArgs.cs
- ImageAnimator.cs
- SchemaImporterExtensionsSection.cs
- ServiceOperation.cs
- WindowsToolbarItemAsMenuItem.cs
- PeerCustomResolverBindingElement.cs
- GlyphRunDrawing.cs
- ToolTipAutomationPeer.cs
- IQueryable.cs
- AutomationElement.cs
- TextDecorationCollectionConverter.cs
- Panel.cs
- PerformanceCounterCategory.cs
- PointIndependentAnimationStorage.cs
- DocumentGrid.cs
- FileInfo.cs
- ConfigurationValidatorBase.cs
- ObjectDataSourceChooseTypePanel.cs
- WebPartDeleteVerb.cs
- OutOfMemoryException.cs
- DbParameterCollectionHelper.cs
- GetRecipientRequest.cs
- TextFindEngine.cs
- WebSysDescriptionAttribute.cs
- ProcessHostServerConfig.cs
- contentDescriptor.cs
- SQLUtility.cs
- WebRequestModuleElementCollection.cs
- Highlights.cs
- Point3DCollectionConverter.cs
- BindUriHelper.cs
- HwndSourceKeyboardInputSite.cs
- BitStack.cs
- AttributeEmitter.cs
- WebScriptMetadataMessageEncoderFactory.cs
- CustomValidator.cs
- StsCommunicationException.cs
- safemediahandle.cs
- Function.cs
- DbConnectionPoolIdentity.cs
- Assert.cs
- ReceiveSecurityHeader.cs
- safelink.cs
- StateDesigner.TransitionInfo.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- ResourceDescriptionAttribute.cs
- CollectionChangeEventArgs.cs
- WebPartExportVerb.cs
- Html32TextWriter.cs
- CodeGotoStatement.cs
- TextEditorParagraphs.cs
- CorrelationScope.cs
- DescendantOverDescendantQuery.cs
- CultureInfo.cs
- HybridDictionary.cs
- Substitution.cs
- UInt32.cs
- SubqueryTrackingVisitor.cs
- WinFormsSpinner.cs
- RecognizerBase.cs
- ObjectStateFormatter.cs
- RuleRefElement.cs
- SocketPermission.cs
- SpoolingTask.cs
- Mapping.cs
- WebPartTransformerCollection.cs
- ColorContext.cs
- DesignerAutoFormatCollection.cs
- DecimalAnimationUsingKeyFrames.cs
- ControlBuilderAttribute.cs
- CompoundFileIOPermission.cs
- CommonProperties.cs
- TaskHelper.cs
- TextOptionsInternal.cs
- DataControlCommands.cs
- ErrorWebPart.cs
- Vector3DCollectionValueSerializer.cs
- RuleSettings.cs
- ViewStateException.cs
- PropertyGrid.cs
- OrderablePartitioner.cs
- QueryStatement.cs
- SmtpAuthenticationManager.cs
- TextChangedEventArgs.cs
- DbProviderManifest.cs
- NoClickablePointException.cs