DataContextChangedEventArgs.NewValue 속성

정의

DataContextChanged 이벤트가 발생한 요소에 대한 새 DataContext 값을 가져옵니다.

public:
 property Platform::Object ^ NewValue { Platform::Object ^ get(); };
IInspectable NewValue();
public object NewValue { get; }
var object = dataContextChangedEventArgs.newValue;
Public ReadOnly Property NewValue As Object

속성 값

Object

Platform::Object

IInspectable

DataContextChanged 이벤트가 발생한 요소의 새 DataContext 값을 나타내는 개체입니다.

설명

NewValue 값은 처리기를 호출하는 동안에만 올바른 값을 갖도록 보장됩니다. DataContextChangedEventArgs 개체를 저장할 수 없으며 처리기의 scope 외부에서 의미 있는 방식으로 NewValue 속성을 사용할 수 있을 것으로 예상합니다.

적용 대상