Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / PathFigureCollection.cs / 1 / 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
- CssTextWriter.cs
- ColorTranslator.cs
- DataGridAddNewRow.cs
- HashCodeCombiner.cs
- WorkflowApplication.cs
- OracleBinary.cs
- JsonQNameDataContract.cs
- DesignerEventService.cs
- ZipIOExtraField.cs
- DiffuseMaterial.cs
- AutoGeneratedField.cs
- SQLByteStorage.cs
- SettingsBase.cs
- XmlDataDocument.cs
- EntityClassGenerator.cs
- BinaryObjectWriter.cs
- WindowsTreeView.cs
- ReferenceEqualityComparer.cs
- securestring.cs
- RoleManagerModule.cs
- ProxyOperationRuntime.cs
- PlatformNotSupportedException.cs
- DataGridViewColumnEventArgs.cs
- Function.cs
- SqlGenericUtil.cs
- XPathPatternBuilder.cs
- ErrorItem.cs
- DataGridViewDataConnection.cs
- SplitterEvent.cs
- XmlnsDictionary.cs
- SmiEventSink.cs
- ValuePattern.cs
- DriveInfo.cs
- LoadRetryAsyncResult.cs
- Int64Converter.cs
- EdmTypeAttribute.cs
- ExplicitDiscriminatorMap.cs
- SqlConnectionHelper.cs
- QilLiteral.cs
- Guid.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- GestureRecognitionResult.cs
- SecureConversationDriver.cs
- ResourceExpressionBuilder.cs
- ListBoxChrome.cs
- FormattedText.cs
- MappingItemCollection.cs
- IntranetCredentialPolicy.cs
- XmlTextAttribute.cs
- MiniLockedBorderGlyph.cs
- DiagnosticTrace.cs
- hresults.cs
- HorizontalAlignConverter.cs
- XmlSchemaAttributeGroupRef.cs
- _NegotiateClient.cs
- TokenBasedSetEnumerator.cs
- ClientRolePrincipal.cs
- BooleanFacetDescriptionElement.cs
- _SslState.cs
- BindableAttribute.cs
- ElementHostAutomationPeer.cs
- BufferedWebEventProvider.cs
- Activator.cs
- SecUtil.cs
- SqlXmlStorage.cs
- Debug.cs
- OdbcPermission.cs
- parserscommon.cs
- XmlUtil.cs
- AsymmetricCryptoHandle.cs
- TCPClient.cs
- TransportContext.cs
- Point3DCollectionValueSerializer.cs
- ConfigurationPropertyAttribute.cs
- InitializingNewItemEventArgs.cs
- TreeChangeInfo.cs
- AnnotationComponentManager.cs
- ListViewItem.cs
- PropertyDescriptorCollection.cs
- DbParameterHelper.cs
- EntityConnection.cs
- WinEventHandler.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- CryptoKeySecurity.cs
- ParserStack.cs
- SiteMapSection.cs
- DictionaryEntry.cs
- CssStyleCollection.cs
- SelectionEditor.cs
- XmlComment.cs
- Random.cs
- CheckBoxAutomationPeer.cs
- XmlSchemaFacet.cs
- SkewTransform.cs
- HttpRawResponse.cs
- ReliableSessionBindingElement.cs
- URLBuilder.cs
- AnnotationStore.cs
- Route.cs
- XmlSchemaCompilationSettings.cs