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
- PartitionedStreamMerger.cs
- MethodRental.cs
- AutoSizeToolBoxItem.cs
- FlagsAttribute.cs
- ListViewInsertedEventArgs.cs
- PathFigure.cs
- IPipelineRuntime.cs
- ContentElement.cs
- ResXDataNode.cs
- BaseValidator.cs
- BaseValidator.cs
- DesignerDataSchemaClass.cs
- HttpInputStream.cs
- ObjectStateEntry.cs
- ProcessHostFactoryHelper.cs
- ListDictionaryInternal.cs
- DefaultObjectMappingItemCollection.cs
- QueryCacheEntry.cs
- LocalizeDesigner.cs
- NetCodeGroup.cs
- DocumentViewerAutomationPeer.cs
- ListDictionary.cs
- TypeUnloadedException.cs
- MonthChangedEventArgs.cs
- PropertyTabChangedEvent.cs
- RegexGroupCollection.cs
- CodeExpressionStatement.cs
- DetailsView.cs
- ColorAnimationBase.cs
- ShutDownListener.cs
- _emptywebproxy.cs
- GroupQuery.cs
- ByteStreamGeometryContext.cs
- PermissionRequestEvidence.cs
- TypeSemantics.cs
- ThreadAbortException.cs
- MachineKeySection.cs
- ModelItemDictionary.cs
- LogStore.cs
- QuaternionAnimation.cs
- HttpListenerContext.cs
- OutputCacheSection.cs
- CallContext.cs
- URLAttribute.cs
- FloatUtil.cs
- BaseHashHelper.cs
- WorkerRequest.cs
- SqlUtil.cs
- DesignerHelpers.cs
- VideoDrawing.cs
- ProbeMatchesMessage11.cs
- TraceSource.cs
- StatusStrip.cs
- BufferedWebEventProvider.cs
- DesigntimeLicenseContextSerializer.cs
- HealthMonitoringSectionHelper.cs
- ListViewInsertedEventArgs.cs
- CompModSwitches.cs
- RequestCache.cs
- SmuggledIUnknown.cs
- safelinkcollection.cs
- FreezableCollection.cs
- XmlDataSourceNodeDescriptor.cs
- EntityTemplateFactory.cs
- ValidatorCollection.cs
- MessageBox.cs
- GcSettings.cs
- XmlReflectionImporter.cs
- CodeTypeDeclarationCollection.cs
- LambdaCompiler.cs
- HitTestFilterBehavior.cs
- RuntimeCompatibilityAttribute.cs
- Errors.cs
- ObfuscationAttribute.cs
- DBPropSet.cs
- XmlSubtreeReader.cs
- DbConnectionClosed.cs
- ContainerUtilities.cs
- CommentEmitter.cs
- OutputCacheProfileCollection.cs
- RepeaterItemCollection.cs
- HttpApplicationFactory.cs
- TraceSection.cs
- BitmapCache.cs
- ListViewGroupConverter.cs
- InstanceStore.cs
- Timer.cs
- ListViewCancelEventArgs.cs
- ComponentEditorForm.cs
- EntryIndex.cs
- LayoutDump.cs
- SystemFonts.cs
- IisTraceWebEventProvider.cs
- PartialCachingAttribute.cs
- ProcessHost.cs
- EUCJPEncoding.cs
- BackStopAuthenticationModule.cs
- DragDeltaEventArgs.cs
- Context.cs
- BindingNavigator.cs