다음을 통해 공유


IXamlDirect.SetRectProperty(Object, XamlPropertyIndex, Rect) 메서드

정의

특정 IXamlDirect에 대한 Rect 속성 값을 설정합니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 void SetRectProperty(Platform::Object ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value);
void SetRectProperty(IInspectable const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Rect const& value);
public void SetRectProperty(object xamlDirectObject, XamlPropertyIndex propertyIndex, Rect value);
Public Sub SetRectProperty (xamlDirectObject As Object, propertyIndex As XamlPropertyIndex, value As Rect)

매개 변수

xamlDirectObject
Object

Platform::Object

IInspectable

특정 IXamlDirect에 대한 참조입니다.

propertyIndex
XamlPropertyIndex

XamlPropertyIndex 열거형에서 지원되는 속성의 값을 설정할 Rect 속성에 대한 참조입니다.

value
Rect

지정된 속성에 설정할 Rect 값입니다.

적용 대상

추가 정보