Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / DrawingGroupDrawingContext.cs / 1305600 / 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 : timothyc - 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapHelper.cs
- GetImportedCardRequest.cs
- ReceiveActivity.cs
- ProbeDuplex11AsyncResult.cs
- XmlDocumentType.cs
- DataControlButton.cs
- Compilation.cs
- DataContractSerializerOperationGenerator.cs
- Pts.cs
- TextFormatterImp.cs
- SqlCacheDependencyDatabase.cs
- XmlException.cs
- SweepDirectionValidation.cs
- ParserStreamGeometryContext.cs
- PassportAuthenticationEventArgs.cs
- IDReferencePropertyAttribute.cs
- ThemeableAttribute.cs
- ApplicationContext.cs
- SapiRecoContext.cs
- ByteAnimation.cs
- SplineQuaternionKeyFrame.cs
- Console.cs
- SQLDateTime.cs
- TypedDataSourceCodeGenerator.cs
- Peer.cs
- OutputScopeManager.cs
- WebPermission.cs
- FeatureSupport.cs
- DocumentEventArgs.cs
- ImageSourceValueSerializer.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SvcMapFile.cs
- IsolatedStorageFile.cs
- LineInfo.cs
- TraceSwitch.cs
- login.cs
- MemoryStream.cs
- EventMappingSettings.cs
- MemoryRecordBuffer.cs
- RecognitionResult.cs
- TreeNodeConverter.cs
- DispatchRuntime.cs
- PeerCollaborationPermission.cs
- XmlSchemaException.cs
- TemplateApplicationHelper.cs
- CheckBoxList.cs
- ToolboxControl.cs
- PostBackTrigger.cs
- PermissionSetEnumerator.cs
- LiteralTextContainerControlBuilder.cs
- CompilerState.cs
- CollectionBase.cs
- UnmanagedBitmapWrapper.cs
- XmlWriterSettings.cs
- ParameterToken.cs
- safelink.cs
- Application.cs
- AlternateView.cs
- RoutedEventArgs.cs
- CodeGotoStatement.cs
- HotSpot.cs
- XmlSchemaFacet.cs
- XPathScanner.cs
- ReservationCollection.cs
- ConfigurationManagerHelper.cs
- XmlSchemaComplexType.cs
- MembershipPasswordException.cs
- Classification.cs
- WCFModelStrings.Designer.cs
- RootBuilder.cs
- XmlNamespaceDeclarationsAttribute.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- WebPartConnectVerb.cs
- PageCatalogPart.cs
- CriticalExceptions.cs
- PersistChildrenAttribute.cs
- OleDbEnumerator.cs
- WorkflowMarkupSerializerMapping.cs
- XmlSchemaSubstitutionGroup.cs
- InkCanvasSelectionAdorner.cs
- RestHandlerFactory.cs
- DataReaderContainer.cs
- FormViewRow.cs
- DesignSurfaceManager.cs
- Int16.cs
- Rotation3D.cs
- DataSourceXmlTextReader.cs
- SqlHelper.cs
- KerberosTicketHashIdentifierClause.cs
- TimerElapsedEvenArgs.cs
- NotSupportedException.cs
- TakeQueryOptionExpression.cs
- UserPreferenceChangedEventArgs.cs
- TextContainer.cs
- Panel.cs
- PixelFormat.cs
- SwitchElementsCollection.cs
- SmtpDigestAuthenticationModule.cs
- NameValueSectionHandler.cs
- BroadcastEventHelper.cs