Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AuthenticationService.cs
- CompositeCollectionView.cs
- XmlSchemaFacet.cs
- OracleString.cs
- ADMembershipUser.cs
- CultureInfoConverter.cs
- XmlValidatingReaderImpl.cs
- ImageDrawing.cs
- DictionarySectionHandler.cs
- SiteMapNodeCollection.cs
- TransformerTypeCollection.cs
- TextServicesProperty.cs
- StringHandle.cs
- SerializationEventsCache.cs
- DataException.cs
- Calendar.cs
- FormattedText.cs
- TypeConvertions.cs
- PartialArray.cs
- InputReport.cs
- TextReturnReader.cs
- BamlStream.cs
- ClientApiGenerator.cs
- PixelFormats.cs
- SettingsPropertyValue.cs
- LayoutEvent.cs
- StandardToolWindows.cs
- AttachedPropertyBrowsableAttribute.cs
- HttpListenerRequest.cs
- FileNotFoundException.cs
- Executor.cs
- IPEndPointCollection.cs
- XmlCharType.cs
- COM2TypeInfoProcessor.cs
- DateBoldEvent.cs
- Helper.cs
- SchemaImporterExtensionElement.cs
- DiscardableAttribute.cs
- WizardForm.cs
- TimersDescriptionAttribute.cs
- TextSelectionHelper.cs
- XPathMultyIterator.cs
- UnknownMessageReceivedEventArgs.cs
- RequiredFieldValidator.cs
- DataGridViewRowPrePaintEventArgs.cs
- ParallelTimeline.cs
- XmlWhitespace.cs
- CompilerTypeWithParams.cs
- GlyphRunDrawing.cs
- HitTestWithPointDrawingContextWalker.cs
- VisualSerializer.cs
- DeclarationUpdate.cs
- XsdBuildProvider.cs
- SqlWebEventProvider.cs
- DataGridViewColumnEventArgs.cs
- DoubleAnimationBase.cs
- CalendarDataBindingHandler.cs
- ChildTable.cs
- CopyEncoder.cs
- TableLayoutCellPaintEventArgs.cs
- FormViewDeleteEventArgs.cs
- XmlSignatureManifest.cs
- FileAuthorizationModule.cs
- HotSpotCollectionEditor.cs
- FormViewRow.cs
- TextView.cs
- IList.cs
- JsonSerializer.cs
- GlobalProxySelection.cs
- ManagementQuery.cs
- securitycriticaldata.cs
- EventLog.cs
- Itemizer.cs
- basevalidator.cs
- SystemDropShadowChrome.cs
- MarkupCompilePass1.cs
- SqlProviderManifest.cs
- InputQueueChannelAcceptor.cs
- HMACRIPEMD160.cs
- HMACSHA256.cs
- InputBuffer.cs
- ExternalCalls.cs
- WmlPageAdapter.cs
- JavaScriptObjectDeserializer.cs
- XmlTextReader.cs
- XPathBinder.cs
- StaticFileHandler.cs
- DetailsViewDeleteEventArgs.cs
- DataPagerCommandEventArgs.cs
- ProfileSettings.cs
- XmlBinaryReader.cs
- GregorianCalendar.cs
- BinaryCommonClasses.cs
- ActivityMetadata.cs
- OdbcConnectionString.cs
- Mutex.cs
- DependencyObjectPropertyDescriptor.cs
- CancellationToken.cs
- DataGridViewCheckBoxCell.cs
- AccessText.cs