ExtendedPropertyValueEditor 建構函式 (DataTemplate, DataTemplate)
使用指定的擴充和內嵌編輯器 DataTemplate 物件,初始化 ExtendedPropertyValueEditor 類別的新執行個體。
命名空間: Microsoft.Windows.Design.PropertyEditing
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Sub New ( _
extendedEditorTemplate As DataTemplate, _
inlineEditorTemplate As DataTemplate _
)
public ExtendedPropertyValueEditor(
DataTemplate extendedEditorTemplate,
DataTemplate inlineEditorTemplate
)
public:
ExtendedPropertyValueEditor(
DataTemplate^ extendedEditorTemplate,
DataTemplate^ inlineEditorTemplate
)
new :
extendedEditorTemplate:DataTemplate *
inlineEditorTemplate:DataTemplate -> ExtendedPropertyValueEditor
public function ExtendedPropertyValueEditor(
extendedEditorTemplate : DataTemplate,
inlineEditorTemplate : DataTemplate
)
參數
- extendedEditorTemplate
型別:System.Windows.DataTemplate
DataTemplate ,用於在 [屬性] 視窗內檢視的擴充式快顯/固定編輯器。使用時,其 DataContext 屬性會設定為 PropertyValue。
- inlineEditorTemplate
型別:System.Windows.DataTemplate
用於內嵌編輯器的 DataTemplate。使用時,其 DataContext 屬性會設定為 PropertyValue。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
ExtendedPropertyValueEditor 類別
ExtendedPropertyValueEditor 多載
Microsoft.Windows.Design.PropertyEditing 命名空間