Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / DrawingContextWalker.cs / 1 / DrawingContextWalker.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: Contains base class for DrawingContext iterators // // History: // // 2004/04/02 : [....] - Created it. // 2005/06/20 : [....] - Moved to codegen // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Windows.Threading; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Imaging; using System.Windows.Media.Media3D; using MS.Internal; namespace System.Windows.Media { ////// DrawingContextWalker : The base class for DrawingContext iterators. /// This is *not* thread safe /// internal abstract partial class DrawingContextWalker : DrawingContext { ////// Constructor for DrawingContextWalker /// protected DrawingContextWalker() { // Nothing to do here } ////// DrawingContextWalker implementations are never opened, so they shouldn't be closed. /// public override sealed void Close() { Debug.Assert(false); } #region Protected methods ////// DrawingContextWalker implementations are never opened, so they shouldn't be disposed. /// protected override void DisposeCore() { Debug.Assert(false); } ////// StopWalking - If this called, the current walk will stop. /// protected void StopWalking() { _stopWalking = true; } #endregion Protected methods #region Internal properties ////// ShouldStopWalking Property - internal clients can consult this property to determine /// whether or not the implementer of this DrawingContextWalker has called StopWalking. /// This can also be set by internal callers. /// internal bool ShouldStopWalking { get { return _stopWalking; } set { _stopWalking = value; } } #endregion Internal properties #region Private Members private bool _stopWalking; #endregion Private Members } } // 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
- CompressionTransform.cs
- CompareInfo.cs
- TypeUsage.cs
- TargetControlTypeCache.cs
- KeySpline.cs
- XmlImplementation.cs
- XmlEntityReference.cs
- PseudoWebRequest.cs
- View.cs
- Row.cs
- X509WindowsSecurityToken.cs
- SafeIUnknown.cs
- SafeNativeMethods.cs
- DataBoundControlAdapter.cs
- SpeakCompletedEventArgs.cs
- References.cs
- ResourcePermissionBase.cs
- AbsoluteQuery.cs
- SingleAnimationBase.cs
- WorkflowTimerService.cs
- AutoGeneratedFieldProperties.cs
- SecureStringHasher.cs
- SystemResourceHost.cs
- SqlAliasesReferenced.cs
- MetadataStore.cs
- ProcessingInstructionAction.cs
- DecimalConstantAttribute.cs
- FileSystemEventArgs.cs
- SystemInfo.cs
- EntitySet.cs
- AlgoModule.cs
- ComAdminWrapper.cs
- SvcMapFileSerializer.cs
- GAC.cs
- AspNetSynchronizationContext.cs
- WebPartDesigner.cs
- PocoEntityKeyStrategy.cs
- DefaultPropertyAttribute.cs
- CompositeControl.cs
- IItemProperties.cs
- DecoderFallback.cs
- SymmetricKeyWrap.cs
- RemotingException.cs
- HierarchicalDataBoundControlAdapter.cs
- Stacktrace.cs
- XamlToRtfWriter.cs
- CheckBoxField.cs
- TextDecorationCollection.cs
- AsyncResult.cs
- CredentialCache.cs
- ResourcePermissionBaseEntry.cs
- HashRepartitionStream.cs
- ColumnResizeAdorner.cs
- TdsParserHelperClasses.cs
- UrlParameterReader.cs
- RowVisual.cs
- TaskFileService.cs
- GridViewSelectEventArgs.cs
- XamlInt32CollectionSerializer.cs
- TextSearch.cs
- MultipleViewProviderWrapper.cs
- HyperLinkColumn.cs
- ContentFileHelper.cs
- DataRecordObjectView.cs
- CatalogPartChrome.cs
- Menu.cs
- ListDictionaryInternal.cs
- GridItemPatternIdentifiers.cs
- XmlFormatWriterGenerator.cs
- DoubleStorage.cs
- SchemaNamespaceManager.cs
- OutputCacheSettingsSection.cs
- ClientSession.cs
- Configuration.cs
- PhoneCall.cs
- OleDbRowUpdatingEvent.cs
- SQLUtility.cs
- EntitySetBaseCollection.cs
- XmlDomTextWriter.cs
- FlowLayoutSettings.cs
- Drawing.cs
- Item.cs
- CalendarAutoFormat.cs
- XhtmlTextWriter.cs
- WebBrowser.cs
- TargetControlTypeCache.cs
- ProviderConnectionPoint.cs
- XmlSerializerVersionAttribute.cs
- DateTimeValueSerializer.cs
- BitmapEffectGeneralTransform.cs
- LongValidatorAttribute.cs
- HitTestWithGeometryDrawingContextWalker.cs
- InvokeProviderWrapper.cs
- PointLightBase.cs
- EnumerableCollectionView.cs
- XmlDownloadManager.cs
- WinFormsComponentEditor.cs
- CompareValidator.cs
- COM2ColorConverter.cs
- ContentPlaceHolderDesigner.cs