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
- BoolExpression.cs
- CheckBox.cs
- ComplexLine.cs
- StorageComplexTypeMapping.cs
- ResourceProperty.cs
- Base64Stream.cs
- IntegerValidatorAttribute.cs
- WindowsListViewGroupHelper.cs
- ImageUrlEditor.cs
- PlaceHolder.cs
- basenumberconverter.cs
- HotSpot.cs
- NominalTypeEliminator.cs
- HtmlAnchor.cs
- HttpFileCollectionWrapper.cs
- DbConnectionPool.cs
- NameService.cs
- ExpressionConverter.cs
- Mutex.cs
- StrokeCollectionDefaultValueFactory.cs
- WeakReadOnlyCollection.cs
- Rect3DValueSerializer.cs
- ElementProxy.cs
- JoinElimination.cs
- KeyPressEvent.cs
- ThreadNeutralSemaphore.cs
- AlternationConverter.cs
- GetImportFileNameRequest.cs
- FrameworkEventSource.cs
- XmlCharCheckingReader.cs
- FormViewInsertEventArgs.cs
- SoapDocumentMethodAttribute.cs
- HierarchicalDataBoundControlAdapter.cs
- XsltArgumentList.cs
- DataReceivedEventArgs.cs
- EFColumnProvider.cs
- SByteConverter.cs
- ConfigurationSectionCollection.cs
- CircleHotSpot.cs
- RuntimeArgumentHandle.cs
- PersonalizationProvider.cs
- Int64Converter.cs
- QuaternionAnimation.cs
- DataGridPageChangedEventArgs.cs
- TextTreeInsertElementUndoUnit.cs
- KoreanCalendar.cs
- ImageCreator.cs
- CodeMemberField.cs
- JsonXmlDataContract.cs
- Profiler.cs
- ExtenderProvidedPropertyAttribute.cs
- TableDesigner.cs
- EntryPointNotFoundException.cs
- _CommandStream.cs
- TextServicesCompartmentContext.cs
- ScriptMethodAttribute.cs
- EntityUtil.cs
- WebPartTransformerCollection.cs
- SessionState.cs
- DbReferenceCollection.cs
- FormViewUpdateEventArgs.cs
- CodeEntryPointMethod.cs
- StaticFileHandler.cs
- Point4D.cs
- DataControlFieldCell.cs
- NameNode.cs
- TableLayoutPanelResizeGlyph.cs
- DataDesignUtil.cs
- XPathSelectionIterator.cs
- CardSpacePolicyElement.cs
- CheckoutException.cs
- Panel.cs
- BuildProviderCollection.cs
- WorkItem.cs
- PropertyValue.cs
- FixedSOMSemanticBox.cs
- PropertyDescriptor.cs
- Point3DAnimationBase.cs
- OperandQuery.cs
- OdbcPermission.cs
- PolyLineSegment.cs
- FlowLayoutPanelDesigner.cs
- ContentType.cs
- LineBreakRecord.cs
- httpstaticobjectscollection.cs
- TextEditorMouse.cs
- Visual3DCollection.cs
- IndependentAnimationStorage.cs
- IconBitmapDecoder.cs
- MediaContext.cs
- ControlBuilder.cs
- EntityExpressionVisitor.cs
- _DisconnectOverlappedAsyncResult.cs
- ParentUndoUnit.cs
- Scripts.cs
- ServiceDescriptionData.cs
- RowUpdatingEventArgs.cs
- GifBitmapEncoder.cs
- ControllableStoryboardAction.cs
- ProfileBuildProvider.cs