更新:2007 年 11 月
取得或設定用於內嵌編輯器的 DataTemplate。
命名空間: Microsoft.Windows.Design.PropertyEditing
組件: Microsoft.Windows.Design (在 Microsoft.Windows.Design.dll 中)
語法
Public Property InlineEditorTemplate As DataTemplate
Dim instance As PropertyValueEditor
Dim value As DataTemplate
value = instance.InlineEditorTemplate
instance.InlineEditorTemplate = value
public DataTemplate InlineEditorTemplate { get; set; }
public:
property DataTemplate^ InlineEditorTemplate {
DataTemplate^ get ();
void set (DataTemplate^ value);
}
public function get InlineEditorTemplate () : DataTemplate
public function set InlineEditorTemplate (value : DataTemplate)
屬性值
型別:System.Windows.DataTemplate
備註
DataTemplate 的 DataContext 會設定為 PropertyValue。
使用權限
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間