ItemBoundsPortion Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a portion of the list view item from which to retrieve the bounding rectangle.
public enum class ItemBoundsPortion
public enum ItemBoundsPortion
type ItemBoundsPortion =
Public Enum ItemBoundsPortion
- Inheritance
Fields
Entire | 0 | The bounding rectangle of the entire item, including the icon, the item text, and the subitem text (if displayed), should be retrieved. |
Icon | 1 | The bounding rectangle of the icon or small icon should be retrieved. |
ItemOnly | 3 | The bounding rectangle of the icon or small icon and the item text should be retrieved. In all views except the details view of the ListView, this value specifies the same bounding rectangle as the |
Label | 2 | The bounding rectangle of the item text should be retrieved. |
Remarks
Use the members of this enumeration when calling the GetItemRect method of the ListView control. This enumeration is also used when calling the GetBounds method of the ListViewItem class.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應