WindowHelperService.TrySetWindowOwner(DependencyObject, Window) 메서드

정의

지정된 창의 소유자로 창을 할당합니다.

public:
 bool TrySetWindowOwner(System::Windows::DependencyObject ^ source, System::Windows::Window ^ target);
public bool TrySetWindowOwner(System.Windows.DependencyObject source, System.Windows.Window target);
member this.TrySetWindowOwner : System.Windows.DependencyObject * System.Windows.Window -> bool
Public Function TrySetWindowOwner (source As DependencyObject, target As Window) As Boolean

매개 변수

source
DependencyObject

의 소유자입니다 target.

target
Window

소유할 source창입니다.

반품

작업에 성공하면 true이고, 그렇지 않으면 false입니다.

적용 대상