Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / DrawingContextWalker.cs / 1305600 / 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 : timothyc - 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PrimitiveXmlSerializers.cs
- SiteIdentityPermission.cs
- AssemblyHash.cs
- GPStream.cs
- loginstatus.cs
- ItemAutomationPeer.cs
- LogicalExpr.cs
- XsdBuildProvider.cs
- Qualifier.cs
- Int64Storage.cs
- SafeMarshalContext.cs
- SoapIncludeAttribute.cs
- UniqueConstraint.cs
- xdrvalidator.cs
- ParameterBuilder.cs
- BitmapInitialize.cs
- PowerModeChangedEventArgs.cs
- UserControlAutomationPeer.cs
- LiteralDesigner.cs
- BaseResourcesBuildProvider.cs
- LoginViewDesigner.cs
- CurrentChangingEventManager.cs
- ButtonStandardAdapter.cs
- HtmlButton.cs
- FaultBookmark.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- DragDrop.cs
- ImageMapEventArgs.cs
- TabControl.cs
- Accessible.cs
- QilGenerator.cs
- PostBackOptions.cs
- NotifyParentPropertyAttribute.cs
- XmlSchemaObject.cs
- FileLevelControlBuilderAttribute.cs
- IpcPort.cs
- PageWrapper.cs
- mediapermission.cs
- LayoutManager.cs
- PrintingPermission.cs
- CodeObject.cs
- InvokeBinder.cs
- LoginDesigner.cs
- ComponentSerializationService.cs
- HTMLTextWriter.cs
- UrlEncodedParameterWriter.cs
- EllipticalNodeOperations.cs
- Object.cs
- CompatibleIComparer.cs
- StringResourceManager.cs
- FragmentQueryProcessor.cs
- MultiPropertyDescriptorGridEntry.cs
- ObjectTag.cs
- SQlBooleanStorage.cs
- OAVariantLib.cs
- Form.cs
- Propagator.cs
- SoapSchemaImporter.cs
- ClientTargetSection.cs
- InheritablePropertyChangeInfo.cs
- FamilyTypeface.cs
- HostingEnvironmentException.cs
- PEFileReader.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataServiceBuildProvider.cs
- LockedActivityGlyph.cs
- BitmapEffect.cs
- ScalarType.cs
- QuotedStringFormatReader.cs
- HtmlInputFile.cs
- TextUtf8RawTextWriter.cs
- SchemaLookupTable.cs
- InputScopeManager.cs
- ServiceInfo.cs
- WindowsAltTab.cs
- SqlTriggerContext.cs
- LinearKeyFrames.cs
- DataSourceListEditor.cs
- ProviderUtil.cs
- XmlExpressionDumper.cs
- LeftCellWrapper.cs
- Expression.cs
- SessionState.cs
- DefinitionBase.cs
- ResourceDictionaryCollection.cs
- BinHexEncoding.cs
- BitmapEffectrendercontext.cs
- ServiceDescription.cs
- GrammarBuilder.cs
- UInt32Converter.cs
- _SslState.cs
- URI.cs
- Events.cs
- CodeDirectoryCompiler.cs
- VolatileResourceManager.cs
- SHA256CryptoServiceProvider.cs
- MetabaseServerConfig.cs
- Binding.cs
- TrustManager.cs
- WorkflowItemsPresenter.cs