Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SearchForVirtualItemEventArgs.cs / 1305376 / 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
- EmbeddedMailObject.cs
- MemberNameValidator.cs
- BaseCollection.cs
- DataSourceUtil.cs
- ValidatingReaderNodeData.cs
- GreaterThan.cs
- CombinedGeometry.cs
- FastPropertyAccessor.cs
- SystemFonts.cs
- NotifyIcon.cs
- GiveFeedbackEventArgs.cs
- TemplateKey.cs
- ObjectManager.cs
- DataGridAddNewRow.cs
- CompareInfo.cs
- iisPickupDirectory.cs
- RequestContext.cs
- TraceContextRecord.cs
- MobilePage.cs
- HttpValueCollection.cs
- StringComparer.cs
- AutomationIdentifierGuids.cs
- SQLUtility.cs
- SubMenuStyle.cs
- Decoder.cs
- BitmapEffectOutputConnector.cs
- SemanticKeyElement.cs
- SecuritySessionClientSettings.cs
- ListItemCollection.cs
- LocalizeDesigner.cs
- UnionExpr.cs
- LZCodec.cs
- FixedSOMPageElement.cs
- ManagedWndProcTracker.cs
- userdatakeys.cs
- PathSegmentCollection.cs
- RoutingExtension.cs
- StackBuilderSink.cs
- SimpleParser.cs
- SoapExtension.cs
- NameSpaceEvent.cs
- figurelength.cs
- StorageFunctionMapping.cs
- CapabilitiesRule.cs
- DependencySource.cs
- WinEventTracker.cs
- ImageListDesigner.cs
- URIFormatException.cs
- XmlTextEncoder.cs
- WindowsTooltip.cs
- ThreadStateException.cs
- HttpPostLocalhostServerProtocol.cs
- BufferedReadStream.cs
- BorderGapMaskConverter.cs
- XmlEventCache.cs
- StreamInfo.cs
- Pool.cs
- namescope.cs
- TypeConverterValueSerializer.cs
- Timeline.cs
- ColumnTypeConverter.cs
- SecurityPolicySection.cs
- DesigntimeLicenseContext.cs
- BindingSource.cs
- XmlFormatExtensionPrefixAttribute.cs
- ExtendedTransformFactory.cs
- CodeMethodInvokeExpression.cs
- TextRange.cs
- SystemInfo.cs
- BoolExpressionVisitors.cs
- InvokeProviderWrapper.cs
- RegistrationServices.cs
- ReflectionUtil.cs
- ClonableStack.cs
- VirtualizedItemProviderWrapper.cs
- Line.cs
- StylusButtonCollection.cs
- DBParameter.cs
- SqlParameterCollection.cs
- XmlSchemaInferenceException.cs
- SimplePropertyEntry.cs
- IntegerValidator.cs
- SimpleTypesSurrogate.cs
- EncodedStreamFactory.cs
- Process.cs
- ClearTypeHintValidation.cs
- OutOfMemoryException.cs
- PasswordBox.cs
- UpdateManifestForBrowserApplication.cs
- EventMap.cs
- IndependentAnimationStorage.cs
- GeometryGroup.cs
- itemelement.cs
- ListItemDetailViewAttribute.cs
- EventLogPermissionAttribute.cs
- FormViewDeleteEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- AppDomainShutdownMonitor.cs
- SecurityContextSecurityToken.cs
- InheritanceContextHelper.cs