次の方法で共有


WpfTableEntryBase.TryCreateStringContent Method

Definition

Get the String for the entry and columnName.

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

Parameters

columnName
String

Name of the column for which to get the String.

truncatedText
Boolean

Truncate the text for fit on a single line.

singleColumnView
Boolean

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

content
String

The String to display in the column.

Returns

true if content should be used.

Implements

Applies to