WorkerThreadElementContainer.OnPropertyChanged Method
Forwards the inheritable Framework properties so that worker thread's UI can benefit from them. Normally, inheritable properties are not forwarded across the thread boundries so we need to use a mediator panel to do the trick. It's why we use a panel to host the root UIElement of the worker thread and not use it directly.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Protected Overrides Sub OnPropertyChanged ( _
e As DependencyPropertyChangedEventArgs _
)
用法
Dim e As DependencyPropertyChangedEventArgs
Me.OnPropertyChanged(e)
protected override void OnPropertyChanged(
DependencyPropertyChangedEventArgs e
)
protected:
virtual void OnPropertyChanged(
DependencyPropertyChangedEventArgs e
) override
abstract OnPropertyChanged :
e:DependencyPropertyChangedEventArgs -> unit
override OnPropertyChanged :
e:DependencyPropertyChangedEventArgs -> unit
protected override function OnPropertyChanged(
e : DependencyPropertyChangedEventArgs
)
Parameters
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
WorkerThreadElementContainer Class