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
- UserNamePasswordServiceCredential.cs
- StatusBar.cs
- RpcCryptoRequest.cs
- TypeInformation.cs
- SafeUserTokenHandle.cs
- RuntimeEnvironment.cs
- ISCIIEncoding.cs
- GridViewDeleteEventArgs.cs
- CachedBitmap.cs
- TypeFieldSchema.cs
- Command.cs
- SqlNodeAnnotations.cs
- MachineSettingsSection.cs
- DtrList.cs
- SelfSignedCertificate.cs
- DBSqlParserTableCollection.cs
- _LocalDataStore.cs
- Int64Converter.cs
- StackSpiller.Generated.cs
- NameTable.cs
- CustomAttributeBuilder.cs
- RectAnimation.cs
- CodeNamespace.cs
- NCryptSafeHandles.cs
- COSERVERINFO.cs
- BehaviorService.cs
- UserPersonalizationStateInfo.cs
- DataGridViewColumn.cs
- RtfControlWordInfo.cs
- ModelUIElement3D.cs
- RtfToken.cs
- X509ChainElement.cs
- LoginDesigner.cs
- SafeRegistryHandle.cs
- SecurityPolicySection.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- IndexExpression.cs
- EditorPartChrome.cs
- SafeMILHandle.cs
- TdsRecordBufferSetter.cs
- JpegBitmapDecoder.cs
- QueryReaderSettings.cs
- PropertyPanel.cs
- DBDataPermissionAttribute.cs
- ResXBuildProvider.cs
- ChannelTracker.cs
- TypeKeyValue.cs
- Size.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- VisualStyleElement.cs
- BitmapMetadataEnumerator.cs
- LayoutSettings.cs
- ResourceExpressionBuilder.cs
- PropVariant.cs
- DataView.cs
- FixedSOMPageConstructor.cs
- CollectionTypeElement.cs
- DetailsViewDeletedEventArgs.cs
- ProcessHostMapPath.cs
- MouseGestureConverter.cs
- RootBrowserWindowAutomationPeer.cs
- MetaModel.cs
- StrokeNodeOperations2.cs
- MethodImplAttribute.cs
- SystemIPGlobalProperties.cs
- EncoderExceptionFallback.cs
- RecognizerBase.cs
- HtmlAnchor.cs
- ReaderWriterLockWrapper.cs
- MailDefinition.cs
- ObjectStateEntry.cs
- LongTypeConverter.cs
- SmtpSection.cs
- HandlerBase.cs
- SystemIcmpV4Statistics.cs
- StateItem.cs
- MatcherBuilder.cs
- ParseElementCollection.cs
- ExpressionBindingCollection.cs
- SplitterPanel.cs
- AutomationAttributeInfo.cs
- LogReserveAndAppendState.cs
- BuiltInPermissionSets.cs
- SoapClientMessage.cs
- Pens.cs
- DrawingAttributes.cs
- TemplatedMailWebEventProvider.cs
- XmlILTrace.cs
- BrowserCapabilitiesFactory.cs
- QueryOutputWriterV1.cs
- FormViewCommandEventArgs.cs
- MachineKey.cs
- ServiceHostingEnvironment.cs
- NetDataContractSerializer.cs
- SQLByte.cs
- ObjectDataSourceStatusEventArgs.cs
- InheritanceUI.cs
- VisualTreeUtils.cs
- InternalDispatchObject.cs
- MessageQueueTransaction.cs