Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / DrawingVisualDrawingContext.cs / 1 / DrawingVisualDrawingContext.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: VisualDrawingContext.cs // // History: // [....]: 04/19/2003 // Created it based on the DrawingVisualDrawingContext used in the AvPhat branch. // [....]: 07/02/2003 // Renamed to RetainedDrawingContext, which derives from DrawingContext // [....]: 07/16/2003 // Renamed again to DrawingVisualDrawingContext, which derives from RenderDataDrawingContext // //----------------------------------------------------------------------------- using System; using System.Security.Permissions; using System.Windows; using System.Windows.Threading; using System.Windows.Media.Animation; using System.Windows.Media; using System.Windows.Media.Composition; using System.Diagnostics; using MS.Internal; namespace System.Windows.Media { ////// VisualDrawingContext - the DrawingContext for Visuals that can create it. /// internal class VisualDrawingContext : RenderDataDrawingContext { #region Constructors ////// Creates a drawing context for a DrawingVisual. /// The Visual must not be null. /// /// The Visual that created the DrawingContext, which must not be null. internal VisualDrawingContext( Visual ownerVisual ) { Debug.Assert(null != ownerVisual); _ownerVisual = ownerVisual; } #endregion Constructors #region Protected Methods ////// CloseCore - Implemented be derivees to Close the context. /// This will only be called once (if ever) per instance. /// /// The render data produced by this RenderDataDrawingContext. protected override void CloseCore(RenderData renderData) { Debug.Assert(null != _ownerVisual); _ownerVisual.RenderClose(renderData); #if DEBUG _ownerVisual = null; #endif } #endregion Protected Methods #region Private Fields private Visual _ownerVisual; #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
- Evaluator.cs
- LockedBorderGlyph.cs
- EntityModelBuildProvider.cs
- SizeConverter.cs
- InfoCardHelper.cs
- InlineCollection.cs
- RowCache.cs
- EdmComplexTypeAttribute.cs
- DataServiceProcessingPipelineEventArgs.cs
- NextPreviousPagerField.cs
- WSHttpBindingBaseElement.cs
- CodeParameterDeclarationExpression.cs
- NotConverter.cs
- DataGridItemEventArgs.cs
- DownloadProgressEventArgs.cs
- FormViewPagerRow.cs
- TreeBuilderBamlTranslator.cs
- DoubleUtil.cs
- ApplyTemplatesAction.cs
- JsonQueryStringConverter.cs
- Tuple.cs
- BaseTemplateBuildProvider.cs
- DataGridViewUtilities.cs
- DllNotFoundException.cs
- SqlLiftIndependentRowExpressions.cs
- Propagator.JoinPropagator.cs
- TableLayoutSettings.cs
- EncryptedType.cs
- PrintController.cs
- XmlHierarchyData.cs
- SourceFileInfo.cs
- ColorTransform.cs
- DataObject.cs
- TextEditorCopyPaste.cs
- NetworkInterface.cs
- PtsHelper.cs
- MetafileHeader.cs
- TableRowCollection.cs
- ContextMenuService.cs
- AppearanceEditorPart.cs
- RtfFormatStack.cs
- CompositeFontParser.cs
- Point3DAnimation.cs
- TemplateManager.cs
- LinqDataSourceInsertEventArgs.cs
- CapabilitiesRule.cs
- BuildProvider.cs
- FixedSOMLineRanges.cs
- filewebresponse.cs
- NamespaceList.cs
- ListenerConstants.cs
- RenamedEventArgs.cs
- DriveInfo.cs
- AppDomainManager.cs
- DesignerValidationSummaryAdapter.cs
- RequestSecurityTokenResponse.cs
- SecurityDocument.cs
- DefaultBindingPropertyAttribute.cs
- ArrayConverter.cs
- AllMembershipCondition.cs
- XmlHierarchicalDataSourceView.cs
- Transform3D.cs
- Int32.cs
- NullableLongSumAggregationOperator.cs
- SamlConditions.cs
- AccessedThroughPropertyAttribute.cs
- DelegateTypeInfo.cs
- XmlSerializerOperationBehavior.cs
- PageClientProxyGenerator.cs
- HTMLTagNameToTypeMapper.cs
- ConstNode.cs
- NavigationWindowAutomationPeer.cs
- ColorTranslator.cs
- BuildManagerHost.cs
- UserControl.cs
- GridViewCommandEventArgs.cs
- Update.cs
- DbConnectionInternal.cs
- MobileContainerDesigner.cs
- HttpCapabilitiesEvaluator.cs
- DetailsViewRowCollection.cs
- ToolStripStatusLabel.cs
- SetIterators.cs
- WithStatement.cs
- HttpCookiesSection.cs
- TextEditorTyping.cs
- ListControlDataBindingHandler.cs
- RadioButtonPopupAdapter.cs
- Color.cs
- Encoding.cs
- ResXResourceWriter.cs
- xml.cs
- CombinedHttpChannel.cs
- ReturnValue.cs
- TracingConnectionInitiator.cs
- BinaryMessageEncoder.cs
- pingexception.cs
- PKCS1MaskGenerationMethod.cs
- BridgeDataRecord.cs
- DataFormats.cs