Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / DrawingGroupDrawingContext.cs / 1 / DrawingGroupDrawingContext.cs
//---------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // Description: DrawingGroupDrawingContext populates a DrawingGroup // from Draw commands that are called on it. // // History: // // 2004/11/19 : [....] - Created it. // //--------------------------------------------------------------------------- using System.Diagnostics; namespace System.Windows.Media { internal class DrawingGroupDrawingContext : DrawingDrawingContext { ////// DrawingGroupDrawingContext populates a DrawingGroup from the Draw /// commands that are called on it. /// /// DrawingGroup this context populates internal DrawingGroupDrawingContext(DrawingGroup drawingGroup) { Debug.Assert(null != drawingGroup); _drawingGroup = drawingGroup; } ////// Called by the base class during Close/Dispose when the content created by /// the DrawingDrawingContext needs to be committed. /// /// /// Collection containing the Drawing elements created with this /// DrawingContext. /// ////// This will only be called once (at most) per instance. /// protected override void CloseCore(DrawingCollection rootDrawingGroupChildren) { Debug.Assert(null != _drawingGroup); _drawingGroup.Close(rootDrawingGroupChildren); } private DrawingGroup _drawingGroup; } } // 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
- ProjectionPlanCompiler.cs
- ProviderIncompatibleException.cs
- ConfigurationCollectionAttribute.cs
- X509SecurityTokenAuthenticator.cs
- CodeRegionDirective.cs
- UInt32Storage.cs
- UniqueIdentifierService.cs
- WebPartCatalogCloseVerb.cs
- DispatcherExceptionFilterEventArgs.cs
- SqlCrossApplyToCrossJoin.cs
- QueryOptionExpression.cs
- ConditionCollection.cs
- TreeNodeCollectionEditorDialog.cs
- NodeLabelEditEvent.cs
- ProcessModelSection.cs
- DataTableReaderListener.cs
- ObjectDataSourceEventArgs.cs
- ScriptReferenceEventArgs.cs
- OleDbReferenceCollection.cs
- DialogWindow.cs
- ReliableInputConnection.cs
- FilterElement.cs
- DelayedRegex.cs
- Odbc32.cs
- AddInSegmentDirectoryNotFoundException.cs
- ReadContentAsBinaryHelper.cs
- AssemblyAttributesGoHere.cs
- ClosableStream.cs
- HitTestResult.cs
- HostingEnvironmentException.cs
- ToolStripRenderer.cs
- IOException.cs
- HyperLinkStyle.cs
- ExchangeUtilities.cs
- Substitution.cs
- RequiredFieldValidator.cs
- TrackingMemoryStream.cs
- PreviewPrintController.cs
- Expressions.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Slider.cs
- DateTimeFormatInfoScanner.cs
- ContextInformation.cs
- ContentControl.cs
- XmlAttributeCollection.cs
- RequestCacheValidator.cs
- SoapSchemaMember.cs
- XamlInt32CollectionSerializer.cs
- FtpRequestCacheValidator.cs
- AggregateException.cs
- EditorAttribute.cs
- WindowInteropHelper.cs
- SizeValueSerializer.cs
- LocalizedNameDescriptionPair.cs
- PropertyMappingExceptionEventArgs.cs
- ProfileProvider.cs
- SchemaHelper.cs
- SiteMapNodeItem.cs
- RecognizedWordUnit.cs
- SelectionItemProviderWrapper.cs
- HMACSHA1.cs
- SQLBinary.cs
- PrintPageEvent.cs
- ForeignKeyConstraint.cs
- MultitargetUtil.cs
- MetadataPropertyCollection.cs
- RewritingProcessor.cs
- TypeDescriptionProvider.cs
- ManagementClass.cs
- NetDispatcherFaultException.cs
- NonParentingControl.cs
- DataGridViewRowHeaderCell.cs
- CollectionEditorDialog.cs
- PasswordRecovery.cs
- X500Name.cs
- SqlDataAdapter.cs
- MethodExpr.cs
- FixedSOMGroup.cs
- WebPartTransformerCollection.cs
- MultiPartWriter.cs
- ChtmlSelectionListAdapter.cs
- Baml2006SchemaContext.cs
- SchemaCollectionCompiler.cs
- StatusBarItem.cs
- JsonFormatWriterGenerator.cs
- PageContent.cs
- UniqueSet.cs
- XPathNodeInfoAtom.cs
- DependencyPropertyKey.cs
- TextDecorations.cs
- StateRuntime.cs
- BlobPersonalizationState.cs
- LinqDataSourceSelectEventArgs.cs
- ConfigurationProperty.cs
- InfiniteTimeSpanConverter.cs
- BaseTemplateParser.cs
- COAUTHIDENTITY.cs
- TextProperties.cs
- EventListenerClientSide.cs
- SystemFonts.cs