The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator Syncfusion Team 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