Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- FixedSOMLineCollection.cs
- PropertySourceInfo.cs
- JsonReader.cs
- StylusPoint.cs
- BindingsCollection.cs
- XPathExpr.cs
- DeploymentExceptionMapper.cs
- BackgroundFormatInfo.cs
- OptimalBreakSession.cs
- HwndSource.cs
- StatusBarPanelClickEvent.cs
- BooleanFunctions.cs
- UnsafeNativeMethods.cs
- Cursor.cs
- BoundsDrawingContextWalker.cs
- MatrixTransform.cs
- ParentUndoUnit.cs
- CharStorage.cs
- QilFunction.cs
- ProjectionCamera.cs
- HttpFileCollectionBase.cs
- Parameter.cs
- TextServicesCompartmentContext.cs
- PersianCalendar.cs
- QueuePathDialog.cs
- ComponentDispatcherThread.cs
- DiagnosticsConfiguration.cs
- DirectoryNotFoundException.cs
- FixedBufferAttribute.cs
- BitmapEffectOutputConnector.cs
- CodeTypeReferenceCollection.cs
- EntityEntry.cs
- DataGridViewRowCollection.cs
- HttpChannelHelper.cs
- XmlBindingWorker.cs
- ConstructorBuilder.cs
- HwndAppCommandInputProvider.cs
- RepeaterItem.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DbConnectionInternal.cs
- UserMapPath.cs
- TextRunTypographyProperties.cs
- EntityFrameworkVersions.cs
- CompositeCollection.cs
- TextEditorSpelling.cs
- Reference.cs
- ListViewTableRow.cs
- Blend.cs
- ReceiveSecurityHeader.cs
- shaperfactory.cs
- ServicesUtilities.cs
- TransformerInfo.cs
- TableRow.cs
- RewritingPass.cs
- CqlErrorHelper.cs
- MetadataArtifactLoaderFile.cs
- OuterGlowBitmapEffect.cs
- CopyOnWriteList.cs
- DesignTimeDataBinding.cs
- RecordsAffectedEventArgs.cs
- ISAPIRuntime.cs
- DeferredSelectedIndexReference.cs
- UpdateTranslator.cs
- DependencyObjectProvider.cs
- ToolStripRendererSwitcher.cs
- SMSvcHost.cs
- GeometryDrawing.cs
- XXXOnTypeBuilderInstantiation.cs
- SystemTcpConnection.cs
- WebProxyScriptElement.cs
- counter.cs
- XmlAttributeCollection.cs
- GridItemCollection.cs
- RequestTimeoutManager.cs
- MenuItemBindingCollection.cs
- TranslateTransform3D.cs
- UserControlParser.cs
- VariableQuery.cs
- XmlImplementation.cs
- BehaviorService.cs
- LayoutTable.cs
- AssociationType.cs
- BitmapMetadata.cs
- SemaphoreSecurity.cs
- SimpleWorkerRequest.cs
- BitmapFrameDecode.cs
- XmlSchemaObjectTable.cs
- DataGridViewImageCell.cs
- XmlCharCheckingWriter.cs
- dbdatarecord.cs
- OleDbSchemaGuid.cs
- Button.cs
- UserNameSecurityTokenAuthenticator.cs
- XXXInfos.cs
- ForEachAction.cs
- PipelineDeploymentState.cs
- LinqDataSource.cs
- Delegate.cs
- SystemIcmpV6Statistics.cs
- Verify.cs