IWpfTableEntriesSnapshot.TryCreateDetailsContent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取虚拟条目 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。