您要查找的是不是:
- 設置控件的Tab鍵順序To set the tab order of a control
- Tab鍵順序就是用戶(hù)按TAB鍵將焦點(diǎn)從一個(gè)控件移動(dòng)到另一個(gè)控件的順序。The tab order is the order in which a user moves focus from one control to another by pressing the TAB key.
- 獲取或設置在控件的容器的控件的Tab鍵順序。Gets or sets the tab order of the control within its container.
- 例如,控件的設計時(shí)視圖可以提供可用任務(wù)菜單,包括自動(dòng)設置控件格式的任務(wù)。For example, the design-time view of your control could provide a menu of available tasks, including a task to format the control automatically.
- 使用GetNextControl方法可以按Tab鍵順序檢索上一個(gè)或下一個(gè)子控件。Use the GetNextControl method to retrieve the previous or next child control in the tab order.
- 使用OnLoad事件方法來(lái)設置控件中的屬性并建立數據庫連接。Use the OnLoad event method to set properties in controls and establish database connections.
- 更改控件的默認Tab鍵順序Change the default tab order for controls
- ASP.NET表達式是基于運行時(shí)計算的信息設置控件屬性的一種聲明性方式。ASP.NET expressions are a declarative way set control properties based on information that is evaluated at run time.
- 設置控件的邊距Setting Margins for Your Controls
- Label參與窗體的Tab鍵順序,但不接收焦點(diǎn)(Tab鍵順序中的下一個(gè)控件接收焦點(diǎn))。A Label participates in the tab order of a form, but does not receive focus (the next control in the tab order receives focus).
- 為應對這種情況,請在應用程序中加入根據設備功能查詢(xún)結果設置控件屬性的代碼。To manage such scenarios, you include code in the application to set the properties of the controls depending on the results of device capabilities queries.
- 如果在此階段設置控件屬性,則其值可能會(huì )在下一階段被改寫(xiě)。If you set a control property at this stage, its value might be overwritten in the next event.
- 依次單擊控件以建立所需的Tab鍵順序。Click the controls sequentially to establish the tab order you want.
- 設置控件的填充Setting Padding for Your Controls
- ASP.NET Web服務(wù)器控件中的Tab鍵順序、焦點(diǎn)和訪(fǎng)問(wèn)鍵Tab Order, Focus, and Access Keys in ASP.NET Web Server Controls
- 獲取或設置控件組,當從Gets or sets the group of controls for which the control that is derived from the
- 這些控件的堆疊順序取決于操作窗格是垂直??窟€是水平???。The stack order of the controls depends on whether the actions pane is docked vertically or horizontally.
- 設置控件大小為位圖大小Set our control's size to be the same as the bitmap
- 最后,可在Tab鍵順序中跳過(guò)窗體上眾多控件中的任何控件。Finally, any control of the many on your form can be skipped in the tab order.
- 獲取或設置控件綁定到的容器的邊緣并確定控件如何隨其父級一起調整大小。Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.