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。

适用于