We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using a grid to simulate a "Character Map" control

Thread ID:





17773 Aug 17,2004 12:12 AM UTC Aug 17,2004 06:00 AM UTC WinForms 1
Tags: GridControl
Lori S. Pearsall
Asked On August 17, 2004 12:12 AM UTC

I need to implement a control that behaves like the Windows Character Map. I need to be able to display characters x0020 - x00ff for a selectable font - say WingDings. I''ve so far been unsuccessful in setting the .Text or .CellValue of a grid cell to get it to display a specified Uncode character - any suggestions?

Administrator [Syncfusion]
Replied On August 17, 2004 06:00 AM UTC

Once you set the Font Facename, I think things should just work. I dropped a GridControl on a form and used this code in FormLoad to see WingDings.
private void Form1_Load(object sender, EventArgs e)
	this.gridControl1.TableStyle.Font.Facename = "WingDings";
	this.gridControl1.RowCount = 16;
	this.gridControl1.ColCount = 16;
	int c = 32;
	for(int i = 3; i <= 16; ++i)
		for(int j = 1; j <= 16 ; ++j)
			this.gridControl1[i, j].Text = ((char)c).ToString();


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon