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
- ADMembershipProvider.cs
- MenuBase.cs
- HighlightComponent.cs
- EventManager.cs
- UniqueConstraint.cs
- RequestStatusBarUpdateEventArgs.cs
- PropertyOrder.cs
- XmlTextWriter.cs
- AspNetRouteServiceHttpHandler.cs
- ServiceEndpoint.cs
- StorageInfo.cs
- FontFamily.cs
- MultiByteCodec.cs
- TdsParserSafeHandles.cs
- Size.cs
- SHA1Cng.cs
- MatrixUtil.cs
- HttpModuleAction.cs
- Rule.cs
- RotateTransform.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- SqlTypesSchemaImporter.cs
- PieceNameHelper.cs
- SocketAddress.cs
- SafeUserTokenHandle.cs
- ToolCreatedEventArgs.cs
- SqlServices.cs
- EmbeddedObject.cs
- CodeDOMUtility.cs
- OutputCacheSettingsSection.cs
- UserMapPath.cs
- ISO2022Encoding.cs
- AdjustableArrowCap.cs
- ModifierKeysConverter.cs
- MenuAdapter.cs
- ApplicationInfo.cs
- RuntimeConfigLKG.cs
- SamlAuthenticationClaimResource.cs
- PropertyChangingEventArgs.cs
- TextRangeProviderWrapper.cs
- KeyEvent.cs
- _NTAuthentication.cs
- XmlTypeAttribute.cs
- LineServicesCallbacks.cs
- MembershipValidatePasswordEventArgs.cs
- FragmentQueryKB.cs
- OperatingSystem.cs
- JapaneseCalendar.cs
- ToggleButtonAutomationPeer.cs
- HideDisabledControlAdapter.cs
- DataGridViewRowCancelEventArgs.cs
- InternalConfigHost.cs
- DataGridTable.cs
- DataBoundLiteralControl.cs
- listitem.cs
- TickBar.cs
- InputLanguageManager.cs
- EventDescriptor.cs
- EditorAttribute.cs
- nulltextnavigator.cs
- ObjectDataSourceFilteringEventArgs.cs
- Speller.cs
- Translator.cs
- ExecutionContext.cs
- Figure.cs
- BitmapData.cs
- Color.cs
- ThreadStartException.cs
- Vector3DCollectionConverter.cs
- DataBoundControl.cs
- EdmError.cs
- HwndHost.cs
- WebConfigurationHostFileChange.cs
- ComAdminInterfaces.cs
- ShaderEffect.cs
- StringComparer.cs
- DataGridViewCheckBoxColumn.cs
- VideoDrawing.cs
- EntityClassGenerator.cs
- TraceContextRecord.cs
- ArcSegment.cs
- DecimalAnimationBase.cs
- WebPartVerb.cs
- SecurityResources.cs
- SecurityMode.cs
- ImageFormat.cs
- XmlJsonWriter.cs
- ConcurrentQueue.cs
- StoreContentChangedEventArgs.cs
- nulltextnavigator.cs
- Variant.cs
- DataPointer.cs
- CfgParser.cs
- CodeConditionStatement.cs
- ExecutionEngineException.cs
- NativeMethods.cs
- FilterRepeater.cs
- ActiveDesignSurfaceEvent.cs
- StoragePropertyMapping.cs
- LexicalChunk.cs