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
- DataViewManager.cs
- ManagementQuery.cs
- DataGridRow.cs
- ExpandSegment.cs
- WindowsIPAddress.cs
- FixedDocumentSequencePaginator.cs
- ListViewInsertionMark.cs
- StylusPointPropertyUnit.cs
- XPathScanner.cs
- SmiGettersStream.cs
- LeaseManager.cs
- BuildDependencySet.cs
- ExceptionUtil.cs
- TimeStampChecker.cs
- DBNull.cs
- InfoCardService.cs
- CoTaskMemHandle.cs
- XXXInfos.cs
- control.ime.cs
- HttpListenerResponse.cs
- UnauthorizedWebPart.cs
- PageStatePersister.cs
- ReflectionUtil.cs
- Label.cs
- BamlTreeMap.cs
- DataTableClearEvent.cs
- ArraySegment.cs
- Int16AnimationBase.cs
- XamlTemplateSerializer.cs
- DashStyle.cs
- DataGridItemAttachedStorage.cs
- DataGridDetailsPresenterAutomationPeer.cs
- Misc.cs
- OutputCacheModule.cs
- URL.cs
- DataGridItemEventArgs.cs
- SQLInt32Storage.cs
- SiteMapNodeItem.cs
- UnsafeCollabNativeMethods.cs
- ISCIIEncoding.cs
- AnnotationComponentManager.cs
- Base64Stream.cs
- XmlWrappingReader.cs
- TimeEnumHelper.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- SkewTransform.cs
- SelectionListDesigner.cs
- ObservableCollection.cs
- DataGridViewDataConnection.cs
- DrawingGroup.cs
- dtdvalidator.cs
- ellipse.cs
- StreamGeometryContext.cs
- FileSystemWatcher.cs
- ManualResetEvent.cs
- SiteMapHierarchicalDataSourceView.cs
- SinglePageViewer.cs
- ActionItem.cs
- PrintDialog.cs
- RadialGradientBrush.cs
- QilInvokeEarlyBound.cs
- GPRECT.cs
- WindowHelperService.cs
- PerfCounterSection.cs
- RectValueSerializer.cs
- CodeTypeMemberCollection.cs
- SimpleTypeResolver.cs
- ProviderBase.cs
- GACMembershipCondition.cs
- Rules.cs
- CollectionMarkupSerializer.cs
- SafeNativeMethods.cs
- PeoplePickerWrapper.cs
- GridViewDeleteEventArgs.cs
- CredentialCache.cs
- Token.cs
- Geometry3D.cs
- XmlQualifiedName.cs
- TextMetrics.cs
- UIAgentAsyncBeginRequest.cs
- CheckBoxAutomationPeer.cs
- SqlAliasesReferenced.cs
- DrawingServices.cs
- DynamicQueryStringParameter.cs
- DigestComparer.cs
- CounterSetInstance.cs
- Rect.cs
- SiteMapDataSourceView.cs
- WindowManager.cs
- ResourceDisplayNameAttribute.cs
- FieldTemplateUserControl.cs
- Span.cs
- StringWriter.cs
- XmlAttributeAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- WebResponse.cs
- ThicknessKeyFrameCollection.cs
- DesignerDataTableBase.cs
- safex509handles.cs
- Errors.cs