更新:2007 年 11 月
內容項目,用於儲存和報告正在編輯內容中使用的目前設計工具檢視。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
Public NotInheritable Class CurrentDesignerView _
Inherits ContextItem
Dim instance As CurrentDesignerView
public sealed class CurrentDesignerView : ContextItem
public ref class CurrentDesignerView sealed : public ContextItem
public final class CurrentDesignerView extends ContextItem
備註
CurrentDesignerView 是由 DesignerView 的 FromContext 方法所使用。在建構時,DesignerView 會自動將此項目加入至內容中。您無法變更內容層內的設計工具檢視,但可以建立新的內容層,並新的檢視加入至該層。
繼承階層架構
System.Object
Microsoft.Windows.Design.ContextItem
Microsoft.Windows.Design.Interaction.CurrentDesignerView
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間