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
- LightweightCodeGenerator.cs
- ServiceOperation.cs
- TemplatePagerField.cs
- DatagramAdapter.cs
- OdbcConnectionOpen.cs
- Window.cs
- CodeNamespace.cs
- Root.cs
- XmlElementList.cs
- NumberEdit.cs
- GetIsBrowserClientRequest.cs
- XmlText.cs
- ApplicationException.cs
- ResourceProperty.cs
- MethodImplAttribute.cs
- EditingCommands.cs
- AssociationProvider.cs
- HttpResponseInternalWrapper.cs
- OSFeature.cs
- DocumentProperties.cs
- RegistrationServices.cs
- KerberosTicketHashIdentifierClause.cs
- DirectoryInfo.cs
- CompilationLock.cs
- UserPreferenceChangingEventArgs.cs
- SEHException.cs
- connectionpool.cs
- ServiceEndpointElement.cs
- ToolStrip.cs
- SoapEnumAttribute.cs
- WSDualHttpSecurityMode.cs
- FlagPanel.cs
- TemplateGroupCollection.cs
- ItemDragEvent.cs
- CodeArrayIndexerExpression.cs
- StyleSelector.cs
- SR.cs
- METAHEADER.cs
- CommandDevice.cs
- CertificateManager.cs
- PointConverter.cs
- ImageListImage.cs
- ListComponentEditorPage.cs
- Int64AnimationBase.cs
- PolicyConversionContext.cs
- TextSegment.cs
- ExpressionBuilder.cs
- RoutedEvent.cs
- URI.cs
- NativeObjectSecurity.cs
- EditCommandColumn.cs
- SafeSystemMetrics.cs
- Graphics.cs
- XslTransform.cs
- ForceCopyBuildProvider.cs
- ModelFunctionTypeElement.cs
- SecUtil.cs
- AtomContentProperty.cs
- TypeLoadException.cs
- SmtpReplyReader.cs
- SqlDependencyListener.cs
- BasePropertyDescriptor.cs
- Subset.cs
- Cursor.cs
- SapiInterop.cs
- ToolStripTemplateNode.cs
- SoapAttributes.cs
- CodeTryCatchFinallyStatement.cs
- util.cs
- ExtenderHelpers.cs
- XmlQuerySequence.cs
- FixedLineResult.cs
- UnsafeNativeMethods.cs
- HMACSHA384.cs
- TemplateField.cs
- ListControlConvertEventArgs.cs
- DependsOnAttribute.cs
- ObjectDataSourceChooseTypePanel.cs
- MailAddress.cs
- DispatchOperationRuntime.cs
- RelationalExpressions.cs
- DisposableCollectionWrapper.cs
- LocalFileSettingsProvider.cs
- DataSourceControl.cs
- TableLayout.cs
- GenerateTemporaryTargetAssembly.cs
- DataSourceControl.cs
- XmlSchemaException.cs
- WindowsPrincipal.cs
- XsdDuration.cs
- TextContainerHelper.cs
- DataRecordInternal.cs
- FilteredAttributeCollection.cs
- MarginCollapsingState.cs
- rsa.cs
- ElementNotEnabledException.cs
- WmlObjectListAdapter.cs
- BinaryObjectReader.cs
- InProcStateClientManager.cs
- ItemList.cs