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。
注解
此代码首先检查条目是否直接提供该数据,如果没有,则使用与列关联的转换器。