Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Expand and Collapse

    My codebehind file contains a lot of sub's.
    Is there a fast way to expand and collapse them in the
    VisualStudio? It's really exhausting to collapse them all
    after opening the project in the morning!


    Thanks
    Jenny
    Jenny Guest

  2. Similar Questions and Discussions

    1. Expand/Collapse Table
      I am looking to create the following JS Toggle Table: DATE TRACK +TITLE +TITLE TRACK +TITLE +TITLE
    2. CFDirectoy Recurse then collapse expand.
      I want use CFDirectory to list the file and directories below it then with java script i want to to be able click on a directory and list all the...
    3. Fontinfo expand/collapse
      I added a fontinfo property to a custom control public FontInfo TitleFont { get { return _title_font; } set { _title_font = value; } } In...
    4. Expand or Collapse Tree branch?
      I am using the FTree component that came with the "Flash UI Components Set 2" component set... Is there an actionscript command to "remotely"...
    5. Site Expand/Collapse
      When I click on the expand/collapse icon of the Site Files dialogue box I no longer get a view of both the remote and local files. What happens is...
  3. #2

    Default Expand and Collapse

    Hi Jenny,

    In the codebehind file

    In the Outlining submenu of the Edit menu and in the
    context menu, the following commands are available for
    all languages:

    1.Hide Selection - Hides the currently selected text.
    Text must be selected to execute this command. Shortcut
    keys are CTRL+M and then CTRL+H. (This command is
    available in Visual C# .NET only when auto-outlining is
    turned off or Stop Outlining is selected.)
    2.Toggle Outlining Expansion - Reverses the current
    hidden or expanded state of the innermost outlining
    section in which the cursor lies when you are in a nested
    collapsed section. Shortcut keys are CTRL+M and then
    CTRL+M.
    3.Toggle All Outlining - Sets all procedures to the same
    hidden or expanded state. If some regions are expanded
    and some hidden, then the hidden regions are expanded.
    Shortcut keys are CTRL+M and then CTRL+L.
    4.Stop Outlining - Removes all outlining information for
    the entire document. All procedures are visible and the
    symbols removed, but the underlying code is undisturbed.
    Shortcut keys are CTRL+M and then CTRL+P.
    5.Stop Hiding Current - Removes the outlining information
    for the currently selected user-defined region. Shortcut
    keys are CTRL+M and then CTRL+U. (This command is
    available in Visual C# .NET only when auto-outlining is
    turned off or Stop Outlining is selected.)
    6.Collapse to Definitions - Collapses the members of all
    types so that all of the members belonging to a type are
    clearly seen. Identical to the Collapse Block command
    except that the environment automatically runs through
    all of the code in the document, creates regions in each
    of your procedures, and then hides them. Shortcut keys
    are CTRL+M and then CTRL+O.


    HTH
    Ravikanth[MVP]

    Ravikanth[MVP]

    >-----Original Message-----
    >My codebehind file contains a lot of sub's.
    >Is there a fast way to expand and collapse them in the
    >VisualStudio? It's really exhausting to collapse them all
    >after opening the project in the morning!
    >
    >
    >Thanks
    >Jenny
    >.
    >
    Ravikanth[MVP] Guest

  4. #3

    Default Re: Expand and Collapse

    Does vb have the #region / #endregion directive?

    bill

    "Jenny" <j.malloy@x-mail.net> wrote in message
    news:8bd601c35b4d$655bf2c0$a001280a@phx.gbl...
    > My codebehind file contains a lot of sub's.
    > Is there a fast way to expand and collapse them in the
    > VisualStudio? It's really exhausting to collapse them all
    > after opening the project in the morning!
    >
    >
    > Thanks
    > Jenny

    William F. Robertson, Jr. Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139