Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Navigation / FragmentNavigationEventArgs.cs / 1 / FragmentNavigationEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // // // History: // 02/01/05: erichar 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: erichar 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
- SmtpDigestAuthenticationModule.cs
- Utility.cs
- ReferenceAssemblyAttribute.cs
- DSASignatureDeformatter.cs
- SudsParser.cs
- XmlNotation.cs
- DecoratedNameAttribute.cs
- SqlDataSourceFilteringEventArgs.cs
- LinqDataSourceView.cs
- EnumerableRowCollection.cs
- LinkGrep.cs
- ManipulationStartingEventArgs.cs
- ApplicationServiceHelper.cs
- BoundField.cs
- ArraySubsetEnumerator.cs
- XmlElement.cs
- UserPreferenceChangingEventArgs.cs
- RtfToXamlLexer.cs
- ListViewItemSelectionChangedEvent.cs
- DiscoveryDocument.cs
- OdbcError.cs
- XmlElementList.cs
- WinFormsUtils.cs
- Application.cs
- SoapReflectionImporter.cs
- SetIndexBinder.cs
- TextSerializer.cs
- SelectingProviderEventArgs.cs
- NTAccount.cs
- XmlJsonReader.cs
- AccessViolationException.cs
- ToolBarDesigner.cs
- EndpointDiscoveryElement.cs
- BamlBinaryReader.cs
- SchemaType.cs
- DotExpr.cs
- DependencyPropertyKey.cs
- CodeDelegateInvokeExpression.cs
- JoinGraph.cs
- ValueChangedEventManager.cs
- Monitor.cs
- AuthenticationServiceManager.cs
- UICuesEvent.cs
- DbXmlEnabledProviderManifest.cs
- Config.cs
- DrawingImage.cs
- TextServicesManager.cs
- Matrix3DStack.cs
- QuaternionValueSerializer.cs
- CompatibleComparer.cs
- ResourceContainer.cs
- EncodingInfo.cs
- SelectionHighlightInfo.cs
- UxThemeWrapper.cs
- ListViewGroupItemCollection.cs
- HtmlMeta.cs
- Application.cs
- EncoderBestFitFallback.cs
- LinkGrep.cs
- HttpPostedFile.cs
- CommonDialog.cs
- MultiTrigger.cs
- SymbolType.cs
- VScrollProperties.cs
- SynchronizedInputHelper.cs
- ObjectStateEntryDbDataRecord.cs
- odbcmetadatacolumnnames.cs
- ProfileService.cs
- SuppressIldasmAttribute.cs
- CodeNamespace.cs
- SessionStateModule.cs
- GPRECTF.cs
- CapabilitiesAssignment.cs
- ThreadStaticAttribute.cs
- RawStylusInputCustomDataList.cs
- GAC.cs
- ServiceContractListItemList.cs
- SingleObjectCollection.cs
- Operator.cs
- StyleTypedPropertyAttribute.cs
- TabItem.cs
- LZCodec.cs
- FastEncoder.cs
- SerializerProvider.cs
- ResourceReferenceExpressionConverter.cs
- HighlightComponent.cs
- HtmlInputReset.cs
- LassoHelper.cs
- LogExtentCollection.cs
- SqlCaseSimplifier.cs
- ToolboxItemCollection.cs
- DelegatingConfigHost.cs
- IntegerValidator.cs
- PresentationTraceSources.cs
- RoutingExtensionElement.cs
- ConditionalAttribute.cs
- sortedlist.cs
- WebSysDefaultValueAttribute.cs
- DataShape.cs
- Storyboard.cs