TableEntryHandleExtensions.TryCreateColumnContent(ITableEntryHandle, ITableColumnDefinition, Boolean, FrameworkElement) Método

Definição

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

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

Boolean

Retorna Boolean.

Comentários

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

Aplica-se a