<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                Datagrid或者listview 中想要把相應的項 滾動到當前可見的位置, 必須滿足2個條件: 1) 必須去掉虛擬化 ? ?VirtualizingStackPanel.IsVirtualizing="False" 2) 調用ScrollToView ? ??//Bring current selected item to view ??????????if(null!=grdStudyList.SelectedItem&& 0 !=grdStudyList.Columns.Count) ?????????? { ??????????????//first focus the grid ??????????????grdStudyList.Focus(); ??????????????//then create a new cell info, with the item we wish to edit and the column number of the cell we want in edit mode ??????????????DataGridCellInfocellInfo=newDataGridCellInfo(grdStudyList.SelectedItem,grdStudyList.Columns[0]); ??????????????//set the cell to be the active one ??????????????grdStudyList.CurrentCell=cellInfo; ??????????????//scroll the item into view ??????????????grdStudyList.ScrollIntoView(grdStudyList.SelectedItem);???? ?????????? } ? ? ? ?? 3)如果不去掉虛擬化,?VirtualizingStackPanel.IsVirtualizing?="True" 則, 調用如下語句: ?privatevoidScrollItemInSelector(Selectordtg,objectneedScrollItem) ?????? { ??????????//Bring current selected item to view ??????????if(null==dtg&&null!=needScrollItem) ?????????? { ??????????????//first focus the grid ??????????????dtg.Focus(); ??????????????dtg.SelectedItem=needScrollItem; ??????????????dtg.Items.MoveCurrentTo(needScrollItem); ??????????????ScrollViewerscv=FindVisualChild<ScrollViewer>(dtg); ??????????????if(null!=scv ?????????????????? && (dtg.Items.CurrentPosition<scv.VerticalOffset-scv.ViewportHeight||dtg.Items.CurrentPosition>scv.VerticalOffset+scv.ViewportHeight) ?????????????????? ) ?????????????? { ??????????????????scv.ScrollToVerticalOffset(dtg.Items.CurrentPosition); ?????????????? } ?????????? } ?????? } ?
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看