Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / Behavior / GlyphCollection.cs / 1 / GlyphCollection.cs
namespace System.Windows.Forms.Design.Behavior { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Diagnostics; using System.Drawing; using System.Windows.Forms.Design; ////// /// A strongly-typed collection that stores Behavior.Glyph objects. /// public class GlyphCollection : CollectionBase { ////// /// Initializes a new instance of Behavior.GlyphCollection. /// public GlyphCollection() { } ////// /// Initializes a new instance of Behavior.GlyphCollection based on another Behavior.GlyphCollection. /// public GlyphCollection(GlyphCollection value) { this.AddRange(value); } ////// /// Initializes a new instance of Behavior.GlyphCollection containing any array of Behavior.Glyph objects. /// public GlyphCollection(Glyph[] value) { this.AddRange(value); } ////// /// Represents the entry at the specified index of the Behavior.Glyph. /// public Glyph this[int index] { get { return ((Glyph)(List[index])); } set { List[index] = value; } } ////// /// Adds a Behavior.Glyph with the specified value to the /// Behavior.GlyphCollection . /// public int Add(Glyph value) { return List.Add(value); } ////// /// Copies the elements of an array to the end of the Behavior.GlyphCollection. /// public void AddRange(Glyph[] value) { for (int i = 0; (i < value.Length); i = (i + 1)) { this.Add(value[i]); } } ////// /// Adds the contents of another Behavior.GlyphCollection to the end of the collection. /// public void AddRange(GlyphCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add(value[i]); } } ////// /// Gets a value indicating whether the /// Behavior.GlyphCollection contains the specified Behavior.Glyph. /// public bool Contains(Glyph value) { return List.Contains(value); } ////// /// Copies the Behavior.GlyphCollection values to a one-dimensional /// /// Returns the index of a Behavior.Glyph in /// the Behavior.GlyphCollection . /// public int IndexOf(Glyph value) { return List.IndexOf(value); } ////// /// Inserts a Behavior.Glyph into the Behavior.GlyphCollection at the specified index. /// public void Insert(int index, Glyph value) { List.Insert(index, value); } ////// /// Removes a specific Behavior.Glyph from the /// Behavior.GlyphCollection . /// public void Remove(Glyph value) { List.Remove(value); } } } // 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
- HttpResponseWrapper.cs
- StylusCollection.cs
- ButtonChrome.cs
- ConfigXmlCDataSection.cs
- ScrollBarRenderer.cs
- ControlCodeDomSerializer.cs
- HMAC.cs
- Pen.cs
- BufferModesCollection.cs
- ExpandSegmentCollection.cs
- TaskSchedulerException.cs
- HwndAppCommandInputProvider.cs
- Size.cs
- DesignerCalendarAdapter.cs
- InternalConfigHost.cs
- MissingManifestResourceException.cs
- ExtensibleClassFactory.cs
- OverflowException.cs
- StrongNameKeyPair.cs
- SystemNetworkInterface.cs
- NetworkInformationException.cs
- RelationshipType.cs
- CursorConverter.cs
- MethodBuilderInstantiation.cs
- OdbcRowUpdatingEvent.cs
- WindowsBrush.cs
- cookieexception.cs
- SqlDataSourceSummaryPanel.cs
- MenuDesigner.cs
- ImageFormatConverter.cs
- WebPartVerbCollection.cs
- DesignerLinkAdapter.cs
- SessionPageStatePersister.cs
- HttpClientCertificate.cs
- ImageListUtils.cs
- StrokeNodeOperations.cs
- ScriptControlManager.cs
- Viewport3DVisual.cs
- ScriptControlManager.cs
- CryptoStream.cs
- ProjectionRewriter.cs
- BitmapEffectCollection.cs
- Stylus.cs
- sqlser.cs
- GAC.cs
- control.ime.cs
- RuleSettingsCollection.cs
- UpdateEventArgs.cs
- XmlSchemaDatatype.cs
- MatrixTransform3D.cs
- PartialCachingAttribute.cs
- FunctionParameter.cs
- Pen.cs
- OleAutBinder.cs
- PointHitTestParameters.cs
- ExpressionVisitorHelpers.cs
- XmlStreamStore.cs
- UpdateProgress.cs
- HiddenField.cs
- FormatSettings.cs
- DecimalConverter.cs
- SplashScreen.cs
- BindingWorker.cs
- TypeDescriptionProvider.cs
- KeyTime.cs
- OLEDB_Util.cs
- TokenizerHelper.cs
- CornerRadiusConverter.cs
- ColumnResult.cs
- Stack.cs
- FilteredDataSetHelper.cs
- LoadRetryStrategyFactory.cs
- AssemblySettingAttributes.cs
- View.cs
- QueryableDataSourceEditData.cs
- RTLAwareMessageBox.cs
- XPathNodeHelper.cs
- PropertyCondition.cs
- EventLogPermissionEntryCollection.cs
- dbenumerator.cs
- PropertyStore.cs
- DiscoveryViaBehavior.cs
- NavigatorOutput.cs
- SoapSchemaImporter.cs
- WindowsRichEdit.cs
- Int32AnimationBase.cs
- VisualState.cs
- Rfc2898DeriveBytes.cs
- Missing.cs
- StylusPointPropertyUnit.cs
- ConstrainedDataObject.cs
- PageAction.cs
- PageBuildProvider.cs
- RangeValidator.cs
- PropertyCollection.cs
- __Error.cs
- Helpers.cs
- XmlUtil.cs
- BitmapScalingModeValidation.cs
- ElementUtil.cs