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
- MetadataPropertyAttribute.cs
- CodeTypeDeclaration.cs
- FlowDocumentReader.cs
- RoleGroupCollection.cs
- ListSourceHelper.cs
- EntityWrapper.cs
- sqlser.cs
- MessageQueuePermissionEntry.cs
- CopyNodeSetAction.cs
- ListManagerBindingsCollection.cs
- TransformationRules.cs
- BitmapSource.cs
- SiteMap.cs
- SpinWait.cs
- RegistrySecurity.cs
- StateWorkerRequest.cs
- OdbcParameter.cs
- WaitHandle.cs
- PersistChildrenAttribute.cs
- DataGridParentRows.cs
- recordstate.cs
- OdbcConnectionHandle.cs
- LogEntryHeaderSerializer.cs
- TemplateNodeContextMenu.cs
- Registry.cs
- ProtocolsConfigurationHandler.cs
- ItemPager.cs
- SecurityHeaderTokenResolver.cs
- objectresult_tresulttype.cs
- QuaternionAnimationUsingKeyFrames.cs
- ProcessModuleCollection.cs
- HttpCachePolicyElement.cs
- GreenMethods.cs
- DelegateBodyWriter.cs
- BinaryMethodMessage.cs
- MethodImplAttribute.cs
- WebPartConnectionCollection.cs
- AttachedPropertyMethodSelector.cs
- FtpWebRequest.cs
- DesignerSelectionListAdapter.cs
- RawStylusActions.cs
- CodeAttributeArgumentCollection.cs
- CodeExporter.cs
- UrlMappingsSection.cs
- Translator.cs
- DomNameTable.cs
- SectionVisual.cs
- SchemaImporterExtensionElementCollection.cs
- SoundPlayerAction.cs
- PropertyInfo.cs
- NameScope.cs
- ObjectListFieldCollection.cs
- SQLResource.cs
- CacheEntry.cs
- ListenDesigner.cs
- TextElement.cs
- AnnotationService.cs
- SystemColors.cs
- CalculatedColumn.cs
- ConstantCheck.cs
- UrlMappingsSection.cs
- SafeProcessHandle.cs
- Rotation3D.cs
- DelimitedListTraceListener.cs
- FixedPageAutomationPeer.cs
- WebPartsPersonalization.cs
- DataBoundControlHelper.cs
- EntityDataSourceViewSchema.cs
- COM2IDispatchConverter.cs
- EntityCommand.cs
- _TLSstream.cs
- HttpListenerResponse.cs
- ControlBuilderAttribute.cs
- TextAutomationPeer.cs
- ParseChildrenAsPropertiesAttribute.cs
- PeerNameRegistration.cs
- DataServiceQueryOfT.cs
- ConfigXmlSignificantWhitespace.cs
- Cursors.cs
- ExpressionParser.cs
- TemplateField.cs
- FigureParagraph.cs
- Light.cs
- XmlDataDocument.cs
- DataGridCellsPresenter.cs
- SiblingIterators.cs
- QueryResponse.cs
- HuffCodec.cs
- Msec.cs
- PagerSettings.cs
- UpdatePanelControlTrigger.cs
- PenThreadWorker.cs
- TreeNodeCollection.cs
- ProtocolsInstallComponent.cs
- SettingsPropertyWrongTypeException.cs
- SqlXml.cs
- ViewCellRelation.cs
- TabControlEvent.cs
- DataProviderNameConverter.cs
- Stroke2.cs