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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

BUG? GroupDropPanel Font

Thread ID:

Created:

Updated:

Platform:

Replies:

20172 Oct 12,2004 05:47 AM UTC Oct 12,2004 07:18 AM UTC Windows Forms 3
loading
Tags: Grouping
Dominic Morris
Asked On October 12, 2004 05:47 AM UTC

Trying to get the control to change from its default font: this.gridGroupingControl1.Font = new Font( "Verdana", 12 ); this.gridGroupingControl1.GroupDropPanel.Font = new Font( "Verdana", 12 ); The first statement seems to work, the second does not, i.e. the drop panel still renders in the default font, and looks generally horrible. Is this a bug?

Dominic Morris
Replied On October 12, 2004 05:50 AM UTC

Also tried this, to no avail. this.gridGroupingControl1.Font = new Font( "Verdana", 9 ); this.gridGroupingControl1.GroupDropPanel.Font = new Font( "Verdana", 9 ); this.gridGroupingControl1.GridGroupDropArea.Font = new Font( "Verdana", 9 ); >Trying to get the control to change from its default font: > this.gridGroupingControl1.Font = new Font( "Verdana", 12 ); > this.gridGroupingControl1.GroupDropPanel.Font = new Font( "Verdana", 12 ); > >The first statement seems to work, the second does not, i.e. the drop panel still renders in the default font, and looks generally horrible. > >Is this a bug? >

Administrator [Syncfusion]
Replied On October 12, 2004 07:10 AM UTC

To change the font in the drop area, try settingthe standard style for the embedded gridcontrol that serves as teh drop area. GridStyleInfo style = this.gridGroupingControl1.GridGroupDropArea.Model.BaseStylesMap["Standard"].StyleInfo; style.Font.Facename = "Verdana"; style.Font.Size = 12; I will check with Stefan to see if there is something missing here, or if he can make the drop grid inherit the font in a more direct way, but the above seems to work around this problem for the time being.

Dominic Morris
Replied On October 12, 2004 07:18 AM UTC

Cool, thanks Clay. >To change the font in the drop area, try settingthe standard style for the embedded gridcontrol that serves as teh drop area. > >GridStyleInfo style = this.gridGroupingControl1.GridGroupDropArea.Model.BaseStylesMap["Standard"].StyleInfo; >style.Font.Facename = "Verdana"; >style.Font.Size = 12; > > >I will check with Stefan to see if there is something missing here, or if he can make the drop grid inherit the font in a more direct way, but the above seems to work around this problem for the time being.

CONFIRMATION

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.

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

;