共用方式為


IWpfTableEntriesSnapshot.TryCreateColumnContent 方法

定義

FrameworkElement取得位置indexcolumnName中虛擬專案的 。

public:
 bool TryCreateColumnContent(int index, System::String ^ columnName, bool singleColumnView, [Runtime::InteropServices::Out] System::Windows::FrameworkElement ^ % content);
public bool TryCreateColumnContent(int index, string columnName, bool singleColumnView, out System.Windows.FrameworkElement content);
abstract member TryCreateColumnContent : int * string * bool * FrameworkElement -> bool
Public Function TryCreateColumnContent (index As Integer, columnName As String, singleColumnView As Boolean, ByRef content As FrameworkElement) As Boolean

參數

index
Int32

快照中虛擬專案的索引。

columnName
String

要取得 FrameworkElement的數據行名稱。

singleColumnView
Boolean

如果數據表控件在單一數據行中顯示所有專案,則為 true。

content
FrameworkElement

FrameworkElement 顯示在資料列中的 。

傳回

如果應該使用,則 content 為 true。

適用於