CurrentDesignerView.View 属性

获取当前正使用的设计视图。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public ReadOnly Property View As DesignerView
    Get
public DesignerView View { get; }
public:
property DesignerView^ View {
    DesignerView^ get ();
}
member View : DesignerView
function get View () : DesignerView

属性值

类型:Microsoft.Windows.Design.Interaction.DesignerView
当前正在使用的 DesignerView;如果未安装任何视图,则为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

CurrentDesignerView 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

WPF 设计器扩展性