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.
ADAdministrator Syncfusion Team January 3, 2007 06:35 AM UTC
Hi Simon,
Using the StyleInfo.Interior property to specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background.The default value for the Interior property is SystemColors.Window. The property affects the behavior or appearance of the all built-in cell types. Below code snippet from the GridStyleInfo.cs class sets designtime editor for Interior property in a grid.
[ Description("Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background."), Browsable(true), SRCategory("StyleCategoryAppearance"), NotifyParentProperty(true) ] public BrushInfo Interior { [DebuggerStepThrough()] get { return (BrushInfo) GetValue(GridStyleInfoStore.InteriorProperty); } set { SetValue(GridStyleInfoStore.InteriorProperty, value); } }
Let me know if this helps.
Best Regards, Haneef
SKSimon Kakon January 3, 2007 10:23 AM UTC
Thanks, it works fine.
>Hi Simon,
Using the StyleInfo.Interior property to specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background.The default value for the Interior property is SystemColors.Window. The property affects the behavior or appearance of the all built-in cell types. Below code snippet from the GridStyleInfo.cs class sets designtime editor for Interior property in a grid.
[ Description("Lets you specify a solid backcolor, gradient, or pattern style with both back and forecolor for a cell's background."), Browsable(true), SRCategory("StyleCategoryAppearance"), NotifyParentProperty(true) ] public BrushInfo Interior { [DebuggerStepThrough()] get { return (BrushInfo) GetValue(GridStyleInfoStore.InteriorProperty); } set { SetValue(GridStyleInfoStore.InteriorProperty, value); } }