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。