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
- BasicExpressionVisitor.cs
- HttpCacheVary.cs
- KeyValuePair.cs
- DataKey.cs
- X509CertificateClaimSet.cs
- PointConverter.cs
- CounterCreationDataCollection.cs
- GACMembershipCondition.cs
- DataGridRelationshipRow.cs
- EpmSyndicationContentDeSerializer.cs
- BadImageFormatException.cs
- SplashScreenNativeMethods.cs
- DbProviderFactoriesConfigurationHandler.cs
- CompensationTokenData.cs
- OraclePermissionAttribute.cs
- BitmapEffectState.cs
- Version.cs
- CodeActivity.cs
- AxDesigner.cs
- DataGridViewTextBoxColumn.cs
- TypeConverterBase.cs
- SelectionProviderWrapper.cs
- Thread.cs
- DataServices.cs
- SamlAttributeStatement.cs
- safelink.cs
- WebConfigurationManager.cs
- Main.cs
- DataTableReader.cs
- LinkLabel.cs
- XamlTemplateSerializer.cs
- Delegate.cs
- NamespaceQuery.cs
- UmAlQuraCalendar.cs
- Vector3DValueSerializer.cs
- SynthesizerStateChangedEventArgs.cs
- CompareValidator.cs
- PrtTicket_Public.cs
- FirstMatchCodeGroup.cs
- TransformCollection.cs
- LabelLiteral.cs
- ListBindingConverter.cs
- StateMachineExecutionState.cs
- StickyNoteAnnotations.cs
- RectValueSerializer.cs
- EngineSite.cs
- ClientCultureInfo.cs
- Stack.cs
- Normalizer.cs
- TreeNodeMouseHoverEvent.cs
- DrawingImage.cs
- ColumnCollection.cs
- ExpressionDumper.cs
- CodeMethodMap.cs
- ProxyWebPart.cs
- DataListItem.cs
- DataServices.cs
- UpdateCommandGenerator.cs
- XmlAggregates.cs
- ColorAnimationUsingKeyFrames.cs
- HMACSHA384.cs
- ScriptingWebServicesSectionGroup.cs
- MenuItemCollection.cs
- EncryptedPackage.cs
- BindingExpression.cs
- altserialization.cs
- BaseTemplateCodeDomTreeGenerator.cs
- RegexBoyerMoore.cs
- MessageSmuggler.cs
- ReceiveMessageContent.cs
- DesignerProperties.cs
- FormattedText.cs
- XPathException.cs
- ColorDialog.cs
- TrackBarRenderer.cs
- SimpleType.cs
- StatusCommandUI.cs
- SparseMemoryStream.cs
- RuntimeUtils.cs
- SimpleNameService.cs
- DataBindingCollection.cs
- Help.cs
- DPTypeDescriptorContext.cs
- DrawListViewItemEventArgs.cs
- EventManager.cs
- ToolboxBitmapAttribute.cs
- ButtonBaseAutomationPeer.cs
- ClientOptions.cs
- StylusPlugInCollection.cs
- WebPartsPersonalizationAuthorization.cs
- HttpApplicationFactory.cs
- OperatorExpressions.cs
- DSASignatureFormatter.cs
- AttributeCollection.cs
- StorageFunctionMapping.cs
- SolidColorBrush.cs
- DataGridBoolColumn.cs
- PkcsMisc.cs
- ConsoleKeyInfo.cs
- RootNamespaceAttribute.cs