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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GetCombinedStyle Hasxxxxx

Thread ID:

Created:

Updated:

Platform:

Replies:

45749 Jun 28,2006 04:04 AM UTC Jun 29,2006 01:11 AM UTC WinForms 2
loading
Tags: GridControl
Leow Kah Man
Asked On June 28, 2006 04:04 AM UTC

Hi SF team, When I call GetCombinedStyle(). Shouldn''t it return me all the Hasxxxxx (eg. HasFont) values as false? Since I haven''t made changes to any values yet.

Administrator [Syncfusion]
Replied On June 28, 2006 05:17 PM UTC

Hi Leow, HasFont property to TRUE, if font information has been initialized for the current object explictly. Here is a code snippet. //Has Font property indicate if you can explictly intialize the style object or not this.gridControl1[1,1].Font = new GridFontInfo(new Font("Arial",14f)); GridStyleInfo style = gridControl1.GetCombinedStyle (GridRangeInfo.Cell(1,1)); if ( style.HasFont) { Console.WriteLine("Has font property to TRUE"); } Here is a sample. http://www.syncfusion.com/Support/user/uploads/dataGridCell_aaa6f6b1.zip Please go through the shot notes on Style Attribute. http://www.syncfusion.com/Support/user/uploads/Short Notes_a360ab7a.zip Let me know if this helps. Best Regards, Haneef

Leow Kah Man
Replied On June 29, 2006 01:11 AM UTC

The notes is very useful. Thank you.

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

;