TableEntryHandleExtensions.TryCreateColumnContent 方法

定义

获取 (特定条目 & 列) 的内容的帮助程序。

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

参数

singleColumnView
Boolean

返回

返回 Boolean

注解

此代码首先检查条目是否直接提供该数据,如果没有,则使用与列关联的转换器。

适用于