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
- Screen.cs
- AdditionalEntityFunctions.cs
- _NegoStream.cs
- FrugalList.cs
- PermissionSetTriple.cs
- BooleanFunctions.cs
- IdentityValidationException.cs
- Brush.cs
- Bind.cs
- Model3DCollection.cs
- BamlResourceSerializer.cs
- ToolStripPanel.cs
- Tuple.cs
- UInt64.cs
- AccessKeyManager.cs
- NativeMethods.cs
- XmlUrlResolver.cs
- ListViewInsertedEventArgs.cs
- RelatedPropertyManager.cs
- Soap.cs
- Vector.cs
- ToolStripDropDownItemDesigner.cs
- GenericsInstances.cs
- LineVisual.cs
- ExpandCollapsePattern.cs
- SerTrace.cs
- ThicknessAnimationBase.cs
- ConfigurationManagerHelper.cs
- Container.cs
- RelatedView.cs
- DataGridViewCellLinkedList.cs
- DefaultProxySection.cs
- TextTreeText.cs
- ViewStateAttachedPropertyFeature.cs
- Cursor.cs
- LogWriteRestartAreaAsyncResult.cs
- SingleTagSectionHandler.cs
- FileDataSourceCache.cs
- ExpanderAutomationPeer.cs
- ContextDataSourceContextData.cs
- WebPartVerbCollection.cs
- TdsParserHelperClasses.cs
- DefaultObjectMappingItemCollection.cs
- DocumentApplicationJournalEntryEventArgs.cs
- PageTrueTypeFont.cs
- InvalidOperationException.cs
- SingleAnimation.cs
- XPathAncestorIterator.cs
- XmlSchemaObject.cs
- BindValidationContext.cs
- RemoteTokenFactory.cs
- TextRunProperties.cs
- UnknownWrapper.cs
- LinearQuaternionKeyFrame.cs
- PersonalizationStateInfo.cs
- StringArrayConverter.cs
- PerformanceCounterPermissionEntryCollection.cs
- DoubleUtil.cs
- WebPartMenu.cs
- TextPointer.cs
- SqlConnectionString.cs
- SqlTopReducer.cs
- VersionConverter.cs
- shaper.cs
- SystemThemeKey.cs
- Latin1Encoding.cs
- XmlDictionary.cs
- Parser.cs
- CommentEmitter.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- PenThreadWorker.cs
- GC.cs
- QuotedPrintableStream.cs
- HttpListenerContext.cs
- MenuCommandService.cs
- SystemResources.cs
- EncoderReplacementFallback.cs
- BitmapEffectCollection.cs
- FormViewInsertedEventArgs.cs
- Vector3DKeyFrameCollection.cs
- Rules.cs
- EntityTypeBase.cs
- FixUp.cs
- DispatcherHooks.cs
- ComponentCollection.cs
- XPathAncestorQuery.cs
- XsdDateTime.cs
- Exception.cs
- TableAdapterManagerMethodGenerator.cs
- RbTree.cs
- BaseValidator.cs
- AdornerHitTestResult.cs
- SimplePropertyEntry.cs
- _DomainName.cs
- CollectionViewGroupInternal.cs
- WebPartExportVerb.cs
- Rfc2898DeriveBytes.cs
- ReadOnlyHierarchicalDataSource.cs
- HyperLinkField.cs
- ToolboxBitmapAttribute.cs