DataGridViewLinkColumn.Text 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置列单元格中显示的链接文本(如果 UseColumnTextForLinkValue 为 true)。
public:
property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
public string? Text { get; set; }
member this.Text : string with get, set
Public Property Text As String
属性值
一个 String 包含链接文本。
例外
设置此属性时,该属性的值 CellTemplate 为 null.
注解
如果 UseColumnTextForLinkValue 属性设置为 true.,则文本可见。 否则,每个单元格的链接文本将填充 FormattedValue 每个单元格的属性。
通过将列