Partilhar via


TableEntryHandleExtensions.TryCreateColumnContent Método

Definição

Auxiliar para obter o conteúdo (se houver) para uma entrada específica & coluna.

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

Parâmetros

singleColumnView
Boolean

Retornos

Retorna Boolean.

Comentários

Esse código primeiro verifica se a entrada fornece esses dados diretamente e, se não, usa o conversor associado à coluna.

Aplica-se a