WindowsFormsHost.ScaleChild(Vector) 메서드

정의

호스팅된 Windows Forms 컨트롤의 크기를 조정하고 배율 인수를 추적합니다.

protected:
 virtual System::Windows::Vector ScaleChild(System::Windows::Vector newScale);
protected virtual System.Windows.Vector ScaleChild (System.Windows.Vector newScale);
abstract member ScaleChild : System.Windows.Vector -> System.Windows.Vector
override this.ScaleChild : System.Windows.Vector -> System.Windows.Vector
Protected Overridable Function ScaleChild (newScale As Vector) As Vector

매개 변수

newScale
Vector

새 배율 인수입니다.

반환

Vector

호스팅된 Windows Forms 컨트롤에 적용되는 배율 인수를 나타내는 Vector입니다.

설명

Windows Forms 컨트롤에서 동일한 방식으로 WPF 요소 크기 조정 하는 것을 지원 하지 않습니다. 예를 들어 0.5의 요소를 1 단계에서 Windows Forms 컨트롤 크기 조정 및 비율을 1로 다시 복구 되지 않습니다 일반적으로 컨트롤의 원래 크기. 자세한 내용은 WindowsFormsHost 요소에 대한 레이아웃 고려 사항을 참조하세요.

재정의 ScaleChild 호스팅된 Windows Forms 컨트롤에 대 한 사용자 지정 크기 조정 동작을 제공 하는 방법입니다.

적용 대상