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
- XmlObjectSerializerWriteContextComplexJson.cs
- HtmlTableRow.cs
- SamlAuthenticationStatement.cs
- DataPager.cs
- Method.cs
- Type.cs
- TargetConverter.cs
- EventMappingSettingsCollection.cs
- AddInBase.cs
- DataSourceSelectArguments.cs
- MaterialCollection.cs
- PageParserFilter.cs
- Highlights.cs
- TabPanel.cs
- XmlMessageFormatter.cs
- CalculatedColumn.cs
- TimeSpanSecondsConverter.cs
- AttributeProviderAttribute.cs
- MarginsConverter.cs
- DbConnectionPoolGroupProviderInfo.cs
- StringInfo.cs
- BasicKeyConstraint.cs
- LineMetrics.cs
- TypedRowGenerator.cs
- FillBehavior.cs
- UnsafePeerToPeerMethods.cs
- CheckBoxPopupAdapter.cs
- RawMouseInputReport.cs
- _LocalDataStore.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Schedule.cs
- ViewRendering.cs
- ThemeDictionaryExtension.cs
- ButtonChrome.cs
- ContentOperations.cs
- TextTreeNode.cs
- ObjectToIdCache.cs
- DataSource.cs
- HatchBrush.cs
- Pair.cs
- CaseStatement.cs
- CodeDOMUtility.cs
- PresentationAppDomainManager.cs
- Buffer.cs
- LinkedResource.cs
- InvalidWMPVersionException.cs
- ListViewItem.cs
- ResizeGrip.cs
- DataGridBoolColumn.cs
- CoTaskMemHandle.cs
- DBSchemaRow.cs
- CounterNameConverter.cs
- httpstaticobjectscollection.cs
- XmlSchemaFacet.cs
- TokenDescriptor.cs
- XmlWriter.cs
- ConfigXmlCDataSection.cs
- Subset.cs
- MaskDescriptor.cs
- IdentityHolder.cs
- Int32Rect.cs
- GraphicsPath.cs
- HiddenFieldPageStatePersister.cs
- ObjectParameter.cs
- WebControlParameterProxy.cs
- ContractComponent.cs
- StackBuilderSink.cs
- CheckBoxList.cs
- VisualBasicDesignerHelper.cs
- ErrorFormatter.cs
- TranslateTransform.cs
- ListDictionary.cs
- NavigationProperty.cs
- XmlSchemaSimpleType.cs
- NodeInfo.cs
- HandlerBase.cs
- Geometry3D.cs
- EventMap.cs
- UrlAuthorizationModule.cs
- AbsoluteQuery.cs
- CodeTypeOfExpression.cs
- InputLangChangeEvent.cs
- ProvideValueServiceProvider.cs
- MissingFieldException.cs
- ServiceControllerDesigner.cs
- Label.cs
- formatter.cs
- TransformerInfoCollection.cs
- AnchoredBlock.cs
- ImageField.cs
- WrappedIUnknown.cs
- EmptyElement.cs
- SqlBuffer.cs
- SyntaxCheck.cs
- CreateUserWizardStep.cs
- TrackingLocation.cs
- CommandEventArgs.cs
- ClusterSafeNativeMethods.cs
- ImpersonateTokenRef.cs
- OuterGlowBitmapEffect.cs