Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / PathFigureCollection.cs / 1305600 / PathFigureCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.ComponentModel.Design.Serialization; using System.Text; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; namespace System.Windows.Media { ////// The class definition for PathFigureCollection /// public sealed partial class PathFigureCollection : Animatable, IList, IList{ /// /// Can serialze "this" to a string. This returns true iff all of the PathFigures in the collection /// return true from their CanSerializeToString methods. /// internal bool CanSerializeToString() { bool canSerializeToString = true; for (int i=0; (i<_collection.Count) && canSerializeToString; i++) { canSerializeToString &= _collection[i].CanSerializeToString(); } return canSerializeToString; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using MS.Internal; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.ComponentModel.Design.Serialization; using System.Text; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; namespace System.Windows.Media { ////// The class definition for PathFigureCollection /// public sealed partial class PathFigureCollection : Animatable, IList, IList{ /// /// Can serialze "this" to a string. This returns true iff all of the PathFigures in the collection /// return true from their CanSerializeToString methods. /// internal bool CanSerializeToString() { bool canSerializeToString = true; for (int i=0; (i<_collection.Count) && canSerializeToString; i++) { canSerializeToString &= _collection[i].CanSerializeToString(); } return canSerializeToString; } } } // 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
- PersonalizationProviderCollection.cs
- Win32PrintDialog.cs
- LinkButton.cs
- ProcessProtocolHandler.cs
- ContourSegment.cs
- ScaleTransform3D.cs
- Wildcard.cs
- CultureInfoConverter.cs
- DeferredBinaryDeserializerExtension.cs
- AccessibilityHelperForXpWin2k3.cs
- ObfuscationAttribute.cs
- MetaChildrenColumn.cs
- ScrollItemPattern.cs
- InvokeBase.cs
- GZipDecoder.cs
- DataGridViewButtonCell.cs
- DateTimeParse.cs
- WindowsIPAddress.cs
- DesignerMetadata.cs
- ContractInstanceProvider.cs
- DetailsViewRow.cs
- ColorPalette.cs
- DomainUpDown.cs
- EventManager.cs
- RelationshipNavigation.cs
- ReferentialConstraintRoleElement.cs
- Authorization.cs
- LinqDataSourceContextData.cs
- CodeObject.cs
- DBConcurrencyException.cs
- GlyphElement.cs
- WsdlParser.cs
- ScriptRegistrationManager.cs
- TreeViewDesigner.cs
- UniqueID.cs
- ThicknessConverter.cs
- autovalidator.cs
- HtmlMeta.cs
- InvalidOleVariantTypeException.cs
- ComponentSerializationService.cs
- AccessibilityHelperForXpWin2k3.cs
- PtsPage.cs
- Transform.cs
- Vector3DValueSerializer.cs
- BitmapEffectCollection.cs
- TableHeaderCell.cs
- DataRelationCollection.cs
- LocalBuilder.cs
- PageAsyncTaskManager.cs
- WebPartHeaderCloseVerb.cs
- SourceFilter.cs
- SqlFacetAttribute.cs
- ReferencedCollectionType.cs
- VisualStateManager.cs
- DependencyObjectValidator.cs
- _FixedSizeReader.cs
- DeviceContext.cs
- XhtmlMobileTextWriter.cs
- QilIterator.cs
- NullableConverter.cs
- Trace.cs
- SaveFileDialog.cs
- DelegatingConfigHost.cs
- DocumentViewerHelper.cs
- DataFieldConverter.cs
- RadioButtonList.cs
- COM2ExtendedTypeConverter.cs
- MetricEntry.cs
- VBIdentifierNameEditor.cs
- AnnotationAdorner.cs
- ServiceOperation.cs
- StringExpressionSet.cs
- BulletedList.cs
- SQLGuidStorage.cs
- InvalidStoreProtectionKeyException.cs
- OleDbCommandBuilder.cs
- CodeLinePragma.cs
- HttpPostClientProtocol.cs
- HtmlDocument.cs
- AssociationSetMetadata.cs
- XmlILAnnotation.cs
- DataGridViewButtonColumn.cs
- TextTreeRootNode.cs
- SchemaReference.cs
- GridViewRow.cs
- BinaryUtilClasses.cs
- SimpleHandlerFactory.cs
- base64Transforms.cs
- CopyOnWriteList.cs
- DocumentDesigner.cs
- WebPartDisplayModeEventArgs.cs
- BackStopAuthenticationModule.cs
- FileUtil.cs
- DataSourceControl.cs
- Single.cs
- ConnectionPoint.cs
- VSDExceptions.cs
- Sql8ConformanceChecker.cs
- Selector.cs
- MenuCommands.cs