Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- AdornedElementPlaceholder.cs
- PenThreadPool.cs
- ClientSideQueueItem.cs
- TitleStyle.cs
- CollectionsUtil.cs
- UndirectedGraph.cs
- LongPath.cs
- SqlLiftWhereClauses.cs
- RuleInfoComparer.cs
- ProtocolViolationException.cs
- _ChunkParse.cs
- SystemResourceHost.cs
- RecognizedWordUnit.cs
- XmlParser.cs
- FamilyTypeface.cs
- GlyphsSerializer.cs
- SourceLineInfo.cs
- RightsManagementPermission.cs
- IPipelineRuntime.cs
- ServiceChannelManager.cs
- TabItemAutomationPeer.cs
- PerformanceCounterCategory.cs
- WebRequestModuleElementCollection.cs
- NameValueConfigurationElement.cs
- DiffuseMaterial.cs
- TypeProvider.cs
- ToolStripSeparatorRenderEventArgs.cs
- ColorConverter.cs
- AttachedPropertyInfo.cs
- SchemaElementDecl.cs
- XmlSchemaDocumentation.cs
- ExitEventArgs.cs
- LambdaCompiler.Lambda.cs
- SkewTransform.cs
- RangeValidator.cs
- SqlLiftWhereClauses.cs
- QueryConverter.cs
- HtmlHead.cs
- PenCursorManager.cs
- SelectionPatternIdentifiers.cs
- WebPartUtil.cs
- TransformPatternIdentifiers.cs
- GetWinFXPath.cs
- InvokeFunc.cs
- TextRenderer.cs
- ConstructorBuilder.cs
- GlobalizationAssembly.cs
- OracleConnection.cs
- ChannelSinkStacks.cs
- SequenceNumber.cs
- ValueTypeFixupInfo.cs
- MetabaseServerConfig.cs
- ConfigurationElementProperty.cs
- InputScopeAttribute.cs
- RoutingSection.cs
- InfiniteTimeSpanConverter.cs
- Comparer.cs
- _LocalDataStore.cs
- XmlNodeChangedEventArgs.cs
- TraversalRequest.cs
- TdsParserSafeHandles.cs
- InertiaRotationBehavior.cs
- SpecularMaterial.cs
- LineServicesRun.cs
- MetadataPropertyAttribute.cs
- GridViewColumnCollection.cs
- ScopelessEnumAttribute.cs
- TargetControlTypeAttribute.cs
- LeftCellWrapper.cs
- ComUdtElement.cs
- sortedlist.cs
- APCustomTypeDescriptor.cs
- Expressions.cs
- HMAC.cs
- DiagnosticStrings.cs
- WindowsFormsHelpers.cs
- PrintPageEvent.cs
- DefaultAssemblyResolver.cs
- QilName.cs
- SerialPinChanges.cs
- AssemblyUtil.cs
- SvcMapFileSerializer.cs
- XamlReaderConstants.cs
- Button.cs
- DesignerActionVerbList.cs
- FormsAuthenticationConfiguration.cs
- OpacityConverter.cs
- ObjectDataSourceDisposingEventArgs.cs
- RouteUrlExpressionBuilder.cs
- linebase.cs
- InvalidOleVariantTypeException.cs
- XmlTypeMapping.cs
- EntityDataSourceWrapper.cs
- StyleTypedPropertyAttribute.cs
- BitmapEffectGeneralTransform.cs
- AssemblyResourceLoader.cs
- DescriptionCreator.cs
- ActiveXContainer.cs
- UiaCoreTypesApi.cs
- DesignerAutoFormatCollection.cs