Partilhar via


WpfTableEntriesSnapshotBase.TryCreateColumnContent Method

Definition

Get the FrameworkElement for the virtual entry at position index and columnName.

public:
 virtual bool TryCreateColumnContent(int index, System::String ^ columnName, bool singleColumnView, [Runtime::InteropServices::Out] System::Windows::FrameworkElement ^ % content);
public virtual bool TryCreateColumnContent (int index, string columnName, bool singleColumnView, out System.Windows.FrameworkElement content);
abstract member TryCreateColumnContent : int * string * bool * FrameworkElement -> bool
override this.TryCreateColumnContent : int * string * bool * FrameworkElement -> bool
Public Overridable Function TryCreateColumnContent (index As Integer, columnName As String, singleColumnView As Boolean, ByRef content As FrameworkElement) As Boolean

Parameters

index
Int32

Index of the virtual entry in the snapshot.

columnName
String

Name of the column for which to get the FrameworkElement.

singleColumnView
Boolean

true if the table control is displaying everything in a single column.

content
FrameworkElement

The FrameworkElement to display in the column.

Returns

true if content should be used.

Implements

Applies to