ListViewItem.GetBounds(ItemBoundsPortion) 메서드

정의

항목에 대한 경계 사각형의 지정된 부분을 읽어 들입니다.

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 가져올 수도 있습니다.

적용 대상

추가 정보