Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ErrorStyle.cs
- CmsInterop.cs
- ConfigurationElement.cs
- ConcurrencyBehavior.cs
- DictionarySectionHandler.cs
- SQLBinary.cs
- SoapEnvelopeProcessingElement.cs
- WebRequestModuleElement.cs
- ContentType.cs
- WebPartMenu.cs
- ToolStripTextBox.cs
- AspNetSynchronizationContext.cs
- ProtectedProviderSettings.cs
- PresentationTraceSources.cs
- DataTablePropertyDescriptor.cs
- Expr.cs
- SafeBuffer.cs
- ProcessHost.cs
- Glyph.cs
- TextBoxAutoCompleteSourceConverter.cs
- Command.cs
- RequestQueryParser.cs
- GridPattern.cs
- SelectedGridItemChangedEvent.cs
- PersonalizationProviderCollection.cs
- GraphicsContainer.cs
- ProtocolsConfiguration.cs
- BindableTemplateBuilder.cs
- ThicknessAnimationBase.cs
- ProviderSettings.cs
- DataViewManagerListItemTypeDescriptor.cs
- AttachedPropertyBrowsableAttribute.cs
- SystemWebExtensionsSectionGroup.cs
- GenericWebPart.cs
- SelectionRangeConverter.cs
- UmAlQuraCalendar.cs
- TreeViewDesigner.cs
- DataGridState.cs
- VariableDesigner.xaml.cs
- ImageMap.cs
- PngBitmapEncoder.cs
- CodeAttributeDeclarationCollection.cs
- DataGridColumnCollection.cs
- SemaphoreFullException.cs
- VariableDesigner.xaml.cs
- PerfCounterSection.cs
- FontEmbeddingManager.cs
- DataGridState.cs
- BatchWriter.cs
- EmptyQuery.cs
- EventLogSession.cs
- TypeSystemProvider.cs
- JpegBitmapDecoder.cs
- XmlException.cs
- DataGridViewButtonCell.cs
- SqlException.cs
- CompressStream.cs
- InvalidAsynchronousStateException.cs
- DocumentGridPage.cs
- ReadContentAsBinaryHelper.cs
- OdbcEnvironmentHandle.cs
- Item.cs
- ObjectToModelValueConverter.cs
- XmlTextEncoder.cs
- RenderingBiasValidation.cs
- ExpressionBinding.cs
- TypeBuilderInstantiation.cs
- ADConnectionHelper.cs
- TextRangeAdaptor.cs
- ExtensionElement.cs
- Accessible.cs
- ReadOnlyDataSource.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DynamicUpdateCommand.cs
- ReachFixedPageSerializer.cs
- InputProcessorProfiles.cs
- CharEntityEncoderFallback.cs
- TemplateEditingFrame.cs
- Pair.cs
- ToolBarButtonClickEvent.cs
- Metadata.cs
- HitTestParameters.cs
- DataKeyPropertyAttribute.cs
- MenuItemCollection.cs
- ChooseAction.cs
- XmlSerializerNamespaces.cs
- XmlDocumentViewSchema.cs
- ThreadStaticAttribute.cs
- PresentationAppDomainManager.cs
- GC.cs
- ServiceNameElement.cs
- WebPartConnectionsConnectVerb.cs
- TranslateTransform3D.cs
- CategoryGridEntry.cs
- PeerCollaborationPermission.cs
- XmlTextReader.cs
- DictionaryItemsCollection.cs
- DiscoveryDocumentSerializer.cs
- SqlParameterizer.cs
- DurableInstanceContextProvider.cs