ListViewItem.GetBounds(ItemBoundsPortion) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
항목에 대한 경계 사각형의 지정된 부분을 읽어 들입니다.
public:
System::Drawing::Rectangle GetBounds(System::Windows::Forms::ItemBoundsPortion portion);
public System.Drawing.Rectangle GetBounds(System.Windows.Forms.ItemBoundsPortion portion);
member this.GetBounds : System.Windows.Forms.ItemBoundsPortion -> System.Drawing.Rectangle
Public Function GetBounds (portion As ItemBoundsPortion) As Rectangle
매개 변수
- portion
- ItemBoundsPortion
경계 사각형을 읽어 들일 항목의 일부를 나타내는 ItemBoundsPortion 값 중 하나입니다.
반환
항목의 지정된 부분에 대한 경계 사각형을 나타내는 Rectangle입니다.
설명
메서드에서 반환 GetBounds 된 경계 사각형은 매개 변수에 지정된 portion
항목의 섹션만 나타냅니다. 클래스의 메서드를 GetItemRectListView 호출하여 컨트롤에 있는 모든 항목의 경계 사각형을 ListView 가져올 수도 있습니다.