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
- List.cs
- XPathExpr.cs
- Image.cs
- StructuredTypeEmitter.cs
- QueryCacheManager.cs
- JoinElimination.cs
- LogSwitch.cs
- XmlKeywords.cs
- ColumnMapTranslator.cs
- WebPartDeleteVerb.cs
- TableProviderWrapper.cs
- CompositeKey.cs
- CodeMethodInvokeExpression.cs
- LinkClickEvent.cs
- SizeKeyFrameCollection.cs
- KnownBoxes.cs
- PublisherMembershipCondition.cs
- BookmarkEventArgs.cs
- DataGridRowDetailsEventArgs.cs
- ImageButton.cs
- GridViewColumnCollection.cs
- Vector3DCollectionConverter.cs
- ProcessInfo.cs
- HtmlInputImage.cs
- FixedStringLookup.cs
- ContextDataSourceView.cs
- Bidi.cs
- MetadataException.cs
- DesignerObjectListAdapter.cs
- SizeFConverter.cs
- SQLCharsStorage.cs
- Parameter.cs
- ImageFormat.cs
- Region.cs
- UnSafeCharBuffer.cs
- WindowsEditBox.cs
- FormViewCommandEventArgs.cs
- TraceRecords.cs
- OleDbStruct.cs
- EmptyStringExpandableObjectConverter.cs
- StaticExtension.cs
- ContentElementAutomationPeer.cs
- glyphs.cs
- ColorDialog.cs
- ComponentCollection.cs
- RuntimeConfig.cs
- CodePrimitiveExpression.cs
- SchemaImporterExtension.cs
- AttributeTableBuilder.cs
- DocumentApplicationJournalEntry.cs
- ConnectionPool.cs
- BitmapImage.cs
- SortedList.cs
- CornerRadius.cs
- DataSourceComponent.cs
- SetterBase.cs
- Span.cs
- SymDocumentType.cs
- CollectionViewGroupRoot.cs
- lengthconverter.cs
- Helpers.cs
- ToolStripItemRenderEventArgs.cs
- FileFormatException.cs
- ListViewInsertedEventArgs.cs
- WebSysDisplayNameAttribute.cs
- SplitterEvent.cs
- AttributeUsageAttribute.cs
- Mapping.cs
- RequestCachePolicyConverter.cs
- FormatVersion.cs
- DataGridRowHeader.cs
- SchemaMerger.cs
- AddDataControlFieldDialog.cs
- TraceData.cs
- FrameworkElement.cs
- DynamicQueryableWrapper.cs
- QuaternionRotation3D.cs
- IssuedTokenClientBehaviorsElement.cs
- indexingfiltermarshaler.cs
- HttpRequestCacheValidator.cs
- XmlHierarchyData.cs
- SerTrace.cs
- SmtpAuthenticationManager.cs
- ControlBuilder.cs
- IsolatedStorageSecurityState.cs
- DataContractAttribute.cs
- DataGridTextBoxColumn.cs
- RequiredAttributeAttribute.cs
- OutputCacheSettingsSection.cs
- SafeHandles.cs
- MulticastOption.cs
- ArraySet.cs
- CrossContextChannel.cs
- GradientBrush.cs
- ThrowHelper.cs
- ParseHttpDate.cs
- ContentTextAutomationPeer.cs
- DateTimeConverter2.cs
- RtfToXamlReader.cs
- PlainXmlDeserializer.cs