IWpfTableEntriesSnapshot.TryCreateDetailsContent 方法

定义

获取虚拟条目 index 的详细信息内容,以便它可以显示在表控件中。

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

参数

index
Int32

快照中虚拟条目的索引。

expandedContent
FrameworkElement

FrameworkElement 以在表控件中的条目下方显示。

返回

如果应使用,则 expandedContent 为 true。

适用于