人々は、この問題を解決するために私を助け:)
http://www.telerik.com/community/forums/winforms/gridview/winforms-radgriview-filter-boolean.aspx
のみリンクがダウンした場合の理想的なされていない答えるリンクを避けるために。問題を解決するための関連コードは次のとおりです。
void radGridView1_FilterPopupRequired(object sender, FilterPopupRequiredEventArgs e)
{
RadListFilterPopup popup = e.FilterPopup as RadListFilterPopup;
if (popup != null)
{
RadTreeView tree = popup.MenuTreeElement.TreeView;
tree.NodeAdded += new RadTreeView.RadTreeViewEventHandler(tree_NodeAdded);
popup.PopupClosed += new RadPopupClosedEventHandler(popup_PopupClosed);
}
}
void popup_PopupClosed(object sender, RadPopupClosedEventArgs args)
{
RadListFilterPopup popup = sender as RadListFilterPopup;
popup.MenuTreeElement.TreeView.NodeAdded -= new RadTreeView.RadTreeViewEventHandler(tree_NodeAdded);
}
void tree_NodeAdded(object sender, RadTreeViewEventArgs e)
{
if (e.Node.Text == "False")
{
e.Node.Text = "No";
}
else if (e.Node.Text == "True")
{
e.Node.Text = "Yes";
}
}