简体   繁体   English

如何在 radGridView WinForm 中更改搜索行文本框的占位符?

[英]How to Change placeholder of textBox of search row in radGridView WinForm?

I'm coding with winForms (c# in visualStudio 2019).我正在使用 winForms(visualStudio 2019 中的 c#)进行编码。

I'm using RadGridView Telerik, and Enable its SearchRow.我正在使用 RadGridView Telerik,并启用它的 SearchRow。

In SearchTextBox, there is a default text: "Enter text to search".在 SearchTextBox 中,有一个默认文本:“输入要搜索的文本”。

I want to change this text.我想更改此文本。 how can I do this?我怎样才能做到这一点?

本文:

Indeed, using a custom RadGridLocalizationProvider and specifying the RadGridStringId.SearchRowTextBoxNullText is a suitable approach for changing the text in RadGridView.实际上,使用自定义 RadGridLocalizationProvider 并指定 RadGridStringId.SearchRowTextBoxNullText 是更改 RadGridView 中文本的合适方法。 Additional information on how to use the provider is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/gridview/localization/localization以下帮助文章中提供了有关如何使用提供程序的其他信息: https : //docs.telerik.com/devtools/winforms/controls/gridview/localization/localization

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM