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
- ListViewItem.cs
- _ChunkParse.cs
- ActivationServices.cs
- Attributes.cs
- SafeNativeMethods.cs
- CommandLineParser.cs
- XhtmlBasicSelectionListAdapter.cs
- DbMetaDataColumnNames.cs
- ConfigUtil.cs
- ResourceExpression.cs
- HeaderUtility.cs
- ResizeGrip.cs
- UnionCodeGroup.cs
- OleDbCommand.cs
- ClusterSafeNativeMethods.cs
- KeyProperty.cs
- ApplicationSecurityInfo.cs
- StateDesigner.Layouts.cs
- WsdlBuildProvider.cs
- HTTPNotFoundHandler.cs
- LineBreak.cs
- PreservationFileReader.cs
- VisualProxy.cs
- SymbolType.cs
- Listbox.cs
- FieldDescriptor.cs
- SystemMulticastIPAddressInformation.cs
- ResourceDisplayNameAttribute.cs
- TaskFileService.cs
- ActionFrame.cs
- RemoteWebConfigurationHostServer.cs
- HttpResponseBase.cs
- Path.cs
- MdImport.cs
- AttributeEmitter.cs
- Model3D.cs
- StaticDataManager.cs
- WebConvert.cs
- EncodingNLS.cs
- TypeCollectionPropertyEditor.cs
- AutoSizeToolBoxItem.cs
- ExclusiveHandle.cs
- TextRunCacheImp.cs
- EntityDataSourceContextCreatedEventArgs.cs
- AggregatePushdown.cs
- DiscreteKeyFrames.cs
- DataGridViewBindingCompleteEventArgs.cs
- ContentHostHelper.cs
- EditorZone.cs
- Converter.cs
- BidirectionalDictionary.cs
- ShortcutKeysEditor.cs
- FilterQueryOptionExpression.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ScriptingSectionGroup.cs
- ForeignKeyConstraint.cs
- OverflowException.cs
- EmissiveMaterial.cs
- ButtonColumn.cs
- ThreadAttributes.cs
- SignatureHelper.cs
- ThreadAbortException.cs
- NumberFormatInfo.cs
- TextElement.cs
- CodeDOMUtility.cs
- SystemInfo.cs
- JavaScriptSerializer.cs
- TextEditorParagraphs.cs
- Stroke.cs
- bindurihelper.cs
- ListViewPagedDataSource.cs
- DataGridViewToolTip.cs
- Underline.cs
- GACMembershipCondition.cs
- HttpHandlerActionCollection.cs
- HandlerFactoryWrapper.cs
- GCHandleCookieTable.cs
- RegexRunnerFactory.cs
- BmpBitmapEncoder.cs
- StringFormat.cs
- PathNode.cs
- ElementAction.cs
- ToolStripDropDownMenu.cs
- AttributeCollection.cs
- ListSortDescriptionCollection.cs
- JpegBitmapEncoder.cs
- ValueHandle.cs
- ChainOfDependencies.cs
- WebPartZoneCollection.cs
- BaseParser.cs
- Oid.cs
- StaticResourceExtension.cs
- SafeRightsManagementHandle.cs
- Parameter.cs
- XmlValidatingReader.cs
- Int16.cs
- util.cs
- ServicePoint.cs
- WebEvents.cs
- PropertyPushdownHelper.cs