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.

GDBG Interior

Thread ID:

Created:

Updated:

Platform:

Replies:

54118 Jan 2,2007 06:03 AM Jan 3,2007 05:23 AM Windows Forms 2
loading
Tags: GridControl
Simon Kakon
Asked On January 2, 2007 06:03 AM

Hi,
How can I can get the BrushInfo Designer Editor ?

Thanks
Simon

Administrator [Syncfusion]
Replied On January 3, 2007 01:35 AM

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

Simon Kakon
Replied On January 3, 2007 05:23 AM

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);
}
}

Let me know if this helps.

Best Regards,
Haneef

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.

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.

;