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
- StringUtil.cs
- FlowLayoutSettings.cs
- IdentityNotMappedException.cs
- DragStartedEventArgs.cs
- PathTooLongException.cs
- MaxSessionCountExceededException.cs
- Thumb.cs
- LoginCancelEventArgs.cs
- CommonObjectSecurity.cs
- EntityContainer.cs
- HandleCollector.cs
- JsonMessageEncoderFactory.cs
- UrlMappingsModule.cs
- ApplicationInterop.cs
- SQLBinary.cs
- TextDecorationLocationValidation.cs
- StatusStrip.cs
- IntPtr.cs
- DefaultEvaluationContext.cs
- ShaderEffect.cs
- XPathAncestorQuery.cs
- GenericEnumConverter.cs
- FormattedTextSymbols.cs
- SendActivityEventArgs.cs
- GridToolTip.cs
- EntityCollection.cs
- WebPartTransformerCollection.cs
- EncodingTable.cs
- PropertyBuilder.cs
- DictionaryBase.cs
- ListChangedEventArgs.cs
- DefaultAuthorizationContext.cs
- RankException.cs
- RenderData.cs
- EntityDataSourceChangedEventArgs.cs
- SoapIgnoreAttribute.cs
- ServiceNameCollection.cs
- X509Certificate2Collection.cs
- ShapeTypeface.cs
- CharEntityEncoderFallback.cs
- ToolStripOverflowButton.cs
- PreservationFileWriter.cs
- BadImageFormatException.cs
- FrameworkContentElement.cs
- WebBrowserProgressChangedEventHandler.cs
- SqlLiftWhereClauses.cs
- SoapAttributeAttribute.cs
- WizardStepBase.cs
- PointAnimationUsingKeyFrames.cs
- StylusDevice.cs
- SecurityPolicySection.cs
- RegionData.cs
- MethodBody.cs
- WebZone.cs
- HttpProfileBase.cs
- GeometryModel3D.cs
- ToolStripSplitButton.cs
- NativeMethods.cs
- MdImport.cs
- ThemeInfoAttribute.cs
- FixedPageProcessor.cs
- ReflectPropertyDescriptor.cs
- Label.cs
- ConditionCollection.cs
- ErrorWebPart.cs
- TraceLog.cs
- SynchronizationLockException.cs
- BatchStream.cs
- XmlIlVisitor.cs
- LiteralLink.cs
- XmlTextAttribute.cs
- GeneralTransform3D.cs
- WhitespaceRuleLookup.cs
- DataBoundControlDesigner.cs
- SQLMembershipProvider.cs
- AdornerLayer.cs
- HttpCookieCollection.cs
- CornerRadiusConverter.cs
- UnknownBitmapDecoder.cs
- EtwTrace.cs
- CompilationUtil.cs
- WebInvokeAttribute.cs
- XmlDocumentType.cs
- MouseActionConverter.cs
- SafeRightsManagementQueryHandle.cs
- Types.cs
- Package.cs
- HtmlHistory.cs
- NativeActivity.cs
- ChildTable.cs
- DrawingBrush.cs
- Invariant.cs
- FilterQuery.cs
- MessageDecoder.cs
- ContextStack.cs
- LogicalExpr.cs
- ExecutionScope.cs
- embossbitmapeffect.cs
- FontStyleConverter.cs
- TranslateTransform3D.cs