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
- TextSegment.cs
- SessionStateItemCollection.cs
- SafeRegistryHandle.cs
- XmlSchemaImporter.cs
- HtmlUtf8RawTextWriter.cs
- DefaultExpression.cs
- MailDefinition.cs
- Configuration.cs
- HtmlControl.cs
- DataTemplateKey.cs
- WindowsFormsHelpers.cs
- XmlSchemas.cs
- TableCellCollection.cs
- PropertyFilterAttribute.cs
- mda.cs
- SchemaImporterExtension.cs
- ThreadPoolTaskScheduler.cs
- ViewPort3D.cs
- Documentation.cs
- StorageMappingItemLoader.cs
- EntryIndex.cs
- XamlGridLengthSerializer.cs
- ResourcesGenerator.cs
- UInt32Converter.cs
- HTTPNotFoundHandler.cs
- DateTimeOffsetAdapter.cs
- WebBrowserNavigatingEventHandler.cs
- SqlClientWrapperSmiStream.cs
- HtmlValidatorAdapter.cs
- CharacterMetricsDictionary.cs
- EncoderReplacementFallback.cs
- XpsStructure.cs
- ToolStripOverflowButton.cs
- NotifyIcon.cs
- SafeNativeMethods.cs
- Int16Storage.cs
- GridProviderWrapper.cs
- MethodCallTranslator.cs
- OpenFileDialog.cs
- WeakHashtable.cs
- TableLayoutCellPaintEventArgs.cs
- PathGeometry.cs
- FixedPageAutomationPeer.cs
- SiteMapPath.cs
- CodeBinaryOperatorExpression.cs
- ObjRef.cs
- ServiceModelReg.cs
- SortKey.cs
- BrowsableAttribute.cs
- StringToken.cs
- NullableDoubleMinMaxAggregationOperator.cs
- Token.cs
- DateTimeValueSerializerContext.cs
- SoapEnvelopeProcessingElement.cs
- Configuration.cs
- GroupItem.cs
- ObjectDisposedException.cs
- PageCodeDomTreeGenerator.cs
- EditCommandColumn.cs
- shaperfactory.cs
- ExecutedRoutedEventArgs.cs
- QilSortKey.cs
- DesignerOptions.cs
- ThrowHelper.cs
- LinkTarget.cs
- TabControlCancelEvent.cs
- ResourceReferenceKeyNotFoundException.cs
- MissingSatelliteAssemblyException.cs
- ChangePassword.cs
- XsdDateTime.cs
- ToolStripContainer.cs
- DataGridToolTip.cs
- SuppressIldasmAttribute.cs
- TemplateField.cs
- FrameworkName.cs
- XPathExpr.cs
- SmiMetaDataProperty.cs
- Duration.cs
- CollectionViewSource.cs
- DoubleAnimationBase.cs
- FixedDSBuilder.cs
- FileDialog_Vista_Interop.cs
- SessionConnectionReader.cs
- IteratorFilter.cs
- ClientRoleProvider.cs
- CollectionViewGroup.cs
- HtmlControlPersistable.cs
- HttpRuntime.cs
- Messages.cs
- SqlTriggerContext.cs
- ErrorFormatter.cs
- diagnosticsswitches.cs
- Gdiplus.cs
- BamlLocalizationDictionary.cs
- AttributeProviderAttribute.cs
- __FastResourceComparer.cs
- DetailsViewDeletedEventArgs.cs
- IPGlobalProperties.cs
- MetaForeignKeyColumn.cs
- RegexNode.cs