ViewChangedEventArgs Class

Definition

表示在视图提供程序更改所选视图时传递的事件参数。Represents event arguments that are passed when a view provider changes the selected view.

public ref class ViewChangedEventArgs : EventArgs
public class ViewChangedEventArgs : EventArgs
type ViewChangedEventArgs = class
    inherit EventArgs
Public Class ViewChangedEventArgs
Inherits EventArgs
Inheritance
ViewChangedEventArgs

Constructors

ViewChangedEventArgs(IViewType, IViewType)

使用指定的视图设置初始化 ViewChangedEventArgs 类的新实例。Initializes a new instance of the ViewChangedEventArgs class with the specified view settings.

Properties

NewView

获取当前选择的视图。Gets the view that is currently selected.

OriginalView

获取最初选择的视图。Gets the view that was originally selected.

Applies to