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
- PropertyValueUIItem.cs
- TimeoutException.cs
- ProtocolImporter.cs
- WmiPutTraceRecord.cs
- TransformerTypeCollection.cs
- ParseHttpDate.cs
- DictionaryCustomTypeDescriptor.cs
- NegotiateStream.cs
- PrivilegeNotHeldException.cs
- HtmlWindowCollection.cs
- DataGridViewSelectedRowCollection.cs
- QualificationDataItem.cs
- QueueProcessor.cs
- ManageRequest.cs
- BamlMapTable.cs
- MediaSystem.cs
- LostFocusEventManager.cs
- DecimalAnimation.cs
- TypedReference.cs
- MemberHolder.cs
- UrlMappingsModule.cs
- StateDesigner.LayoutSelectionGlyph.cs
- WorkflowDesignerColors.cs
- VariableQuery.cs
- ComponentResourceKey.cs
- DefaultBinder.cs
- HtmlGenericControl.cs
- BamlRecordReader.cs
- JsonFormatReaderGenerator.cs
- ConnectionsZone.cs
- LateBoundBitmapDecoder.cs
- MenuAdapter.cs
- PropertyToken.cs
- propertyentry.cs
- AnnotationAdorner.cs
- ComponentChangedEvent.cs
- LambdaCompiler.Binary.cs
- PlainXmlWriter.cs
- PowerStatus.cs
- RuntimeUtils.cs
- RuntimeTrackingProfile.cs
- FrameworkPropertyMetadata.cs
- DeferredElementTreeState.cs
- InstanceCompleteException.cs
- SByte.cs
- CheckBoxFlatAdapter.cs
- TextSpan.cs
- StandardTransformFactory.cs
- PolicyManager.cs
- DeviceContexts.cs
- Comparer.cs
- FontCacheLogic.cs
- XmlQueryCardinality.cs
- XPathMultyIterator.cs
- WpfXamlType.cs
- XmlNodeReader.cs
- IQueryable.cs
- EventManager.cs
- ManipulationVelocities.cs
- Font.cs
- PenCursorManager.cs
- ContractMapping.cs
- SystemIPv6InterfaceProperties.cs
- URLString.cs
- DefaultMemberAttribute.cs
- MasterPage.cs
- BindingExpressionBase.cs
- CaseInsensitiveOrdinalStringComparer.cs
- WebServiceData.cs
- UrlRoutingHandler.cs
- EntityStoreSchemaGenerator.cs
- PropertyDescriptor.cs
- HtmlUtf8RawTextWriter.cs
- SourceSwitch.cs
- DtdParser.cs
- CompModSwitches.cs
- ProfileInfo.cs
- WebPartZone.cs
- HwndSubclass.cs
- DbParameterHelper.cs
- ListBindingHelper.cs
- MultilineStringConverter.cs
- PreservationFileReader.cs
- EntryIndex.cs
- EmptyStringExpandableObjectConverter.cs
- SqlHelper.cs
- TouchPoint.cs
- FixedSchema.cs
- PageCatalogPart.cs
- ClassicBorderDecorator.cs
- RestHandler.cs
- InterleavedZipPartStream.cs
- AspNetHostingPermission.cs
- SizeAnimationBase.cs
- CharConverter.cs
- SByte.cs
- AudioFileOut.cs
- DbException.cs
- GetPageCompletedEventArgs.cs