Control.UpdateBounds 메서드
이 문서의 내용
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
컨트롤의 범위를 업데이트합니다.
UpdateBounds() |
현재 크기와 위치를 사용하여 컨트롤의 범위를 업데이트합니다. |
UpdateBounds(Int32, Int32, Int32, Int32) |
지정된 크기와 위치를 사용하여 컨트롤의 범위를 업데이트합니다. |
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) |
지정된 크기, 위치 및 클라이언트 크기를 사용하여 컨트롤의 범위를 업데이트합니다. |
현재 크기와 위치를 사용하여 컨트롤의 범위를 업데이트합니다.
protected:
void UpdateBounds();
protected public:
void UpdateBounds();
protected void UpdateBounds ();
protected internal void UpdateBounds ();
member this.UpdateBounds : unit -> unit
Protected Sub UpdateBounds ()
Protected Friend Sub UpdateBounds ()
설명
컨트롤의 새 Size 가 이전 SizeSizeChanged 과 다른 경우 이벤트가 발생합니다. 마찬가지로 컨트롤의 가 Location 변경 LocationChanged 되면 이벤트가 발생합니다.
추가 정보
적용 대상
.NET Framework 4.8.1 및 기타 버전
제품 | 버전 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
지정된 크기와 위치를 사용하여 컨트롤의 범위를 업데이트합니다.
protected:
void UpdateBounds(int x, int y, int width, int height);
protected void UpdateBounds (int x, int y, int width, int height);
member this.UpdateBounds : int * int * int * int -> unit
Protected Sub UpdateBounds (x As Integer, y As Integer, width As Integer, height As Integer)
매개 변수
설명
컨트롤의 새 Size 가 이전 SizeSizeChanged 과 다른 경우 이벤트가 발생합니다. 마찬가지로 는 컨트롤 변경 LocationChanged 의 이며 Location 이벤트가 발생합니다.
추가 정보
적용 대상
.NET Framework 4.8.1 및 기타 버전
제품 | 버전 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
지정된 크기, 위치 및 클라이언트 크기를 사용하여 컨트롤의 범위를 업데이트합니다.
protected:
void UpdateBounds(int x, int y, int width, int height, int clientWidth, int clientHeight);
protected void UpdateBounds (int x, int y, int width, int height, int clientWidth, int clientHeight);
member this.UpdateBounds : int * int * int * int * int * int -> unit
Protected Sub UpdateBounds (x As Integer, y As Integer, width As Integer, height As Integer, clientWidth As Integer, clientHeight As Integer)
매개 변수
설명
컨트롤의 새 Size 가 이전 SizeSizeChanged 과 다른 경우 이벤트가 발생합니다. 마찬가지로 컨트롤의 가 Location 변경 LocationChanged 되면 이벤트가 발생합니다.
추가 정보
적용 대상
.NET Framework 4.8.1 및 기타 버전
제품 | 버전 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |