TableEntryHandleExtensions.TryCreateColumnContent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果特定專案 & 數據行有任何) ,協助程式取得內容 (。
public:
[System::Runtime::CompilerServices::Extension]
static bool TryCreateColumnContent(Microsoft::VisualStudio::Shell::TableControl::ITableEntryHandle ^ entry, Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition ^ column, bool singleColumnView, [Runtime::InteropServices::Out] System::Windows::FrameworkElement ^ % content);
public static bool TryCreateColumnContent (this Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle entry, Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition column, bool singleColumnView, out System.Windows.FrameworkElement content);
static member TryCreateColumnContent : Microsoft.VisualStudio.Shell.TableControl.ITableEntryHandle * Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition * bool * FrameworkElement -> bool
<Extension()>
Public Function TryCreateColumnContent (entry As ITableEntryHandle, column As ITableColumnDefinition, singleColumnView As Boolean, ByRef content As FrameworkElement) As Boolean
參數
- entry
- ITableEntryHandle
- column
- ITableColumnDefinition
- singleColumnView
- Boolean
- content
- FrameworkElement
傳回
傳回 Boolean。
備註
此程式代碼會先檢查專案是否直接提供該數據,如果不是,則會使用與數據行相關聯的轉換器。