Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / SearchForVirtualItemEventArgs.cs / 1 / SearchForVirtualItemEventArgs.cs
using System; using System.Drawing; namespace System.Windows.Forms { ///public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Drawing; namespace System.Windows.Forms { /// public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // 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
- elementinformation.cs
- MultipleViewPattern.cs
- ColumnMapVisitor.cs
- DataPointer.cs
- XPathException.cs
- Focus.cs
- CodeGenerator.cs
- UdpAnnouncementEndpoint.cs
- ParameterReplacerVisitor.cs
- SqlDataSource.cs
- HtmlElement.cs
- DirectoryLocalQuery.cs
- TemplateBuilder.cs
- DataGridViewCellValueEventArgs.cs
- OrderedDictionary.cs
- PathData.cs
- SqlRowUpdatingEvent.cs
- ObservableCollection.cs
- ErrorFormatter.cs
- WindowsContainer.cs
- LogicalChannelCollection.cs
- ChangeToolStripParentVerb.cs
- RepeatBehavior.cs
- ComPlusAuthorization.cs
- SystemIPv4InterfaceProperties.cs
- XmlSerializationWriter.cs
- Asn1IntegerConverter.cs
- DynamicPropertyReader.cs
- ApplicationServicesHostFactory.cs
- ForeignKeyConstraint.cs
- FeatureSupport.cs
- EntityModelSchemaGenerator.cs
- ControlValuePropertyAttribute.cs
- TransportManager.cs
- Triplet.cs
- SoundPlayerAction.cs
- SimpleLine.cs
- IPAddressCollection.cs
- SqlWebEventProvider.cs
- _emptywebproxy.cs
- AncestorChangedEventArgs.cs
- DesignerVerb.cs
- XmlSchemaSimpleTypeUnion.cs
- DynamicDocumentPaginator.cs
- TypeLibConverter.cs
- NameValueSectionHandler.cs
- QueryCreatedEventArgs.cs
- ListBoxChrome.cs
- StringCollectionMarkupSerializer.cs
- SafeFindHandle.cs
- PageEventArgs.cs
- _Connection.cs
- CallSiteHelpers.cs
- HTTPNotFoundHandler.cs
- XamlInt32CollectionSerializer.cs
- StringAnimationBase.cs
- PixelFormatConverter.cs
- HtmlControlPersistable.cs
- HealthMonitoringSectionHelper.cs
- AudioSignalProblemOccurredEventArgs.cs
- GB18030Encoding.cs
- BrushValueSerializer.cs
- CompressionTransform.cs
- HeaderPanel.cs
- RowTypeElement.cs
- CompModSwitches.cs
- DesignTimeType.cs
- XmlNavigatorFilter.cs
- ReturnEventArgs.cs
- Button.cs
- BufferBuilder.cs
- WinCategoryAttribute.cs
- ActionItem.cs
- LogExtentCollection.cs
- DataServiceHostFactory.cs
- AstTree.cs
- PreservationFileReader.cs
- RectangleConverter.cs
- OdbcStatementHandle.cs
- PromptStyle.cs
- FormViewInsertedEventArgs.cs
- BaseWebProxyFinder.cs
- XmlWrappingReader.cs
- GlobalizationAssembly.cs
- Base64Decoder.cs
- LocalIdCollection.cs
- NavigatingCancelEventArgs.cs
- BorderGapMaskConverter.cs
- Content.cs
- SqlRowUpdatingEvent.cs
- EdmToObjectNamespaceMap.cs
- ToolTip.cs
- KeyPressEvent.cs
- OutputCacheSettingsSection.cs
- MetadataExporter.cs
- ConstraintEnumerator.cs
- PerspectiveCamera.cs
- SystemBrushes.cs
- graph.cs
- CommentEmitter.cs