Hi,
I try to use a custom image to replace the default arrow icon used to navigate in the hierarchical structure in RadGridView winform control.
No problem to set the image the cellElement does not fit to the image size.
Here's my code :
private
void
MyGridView_ViewCellFormatting(
object
sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
Telerik.WinControls.UI.GridGroupExpanderCellElement cellElement = e.CellElement
as
Telerik.WinControls.UI.GridGroupExpanderCellElement;
if
(cellElement !=
null
)
{
cellElement.Expander.SignSize =
new
System.Drawing.Size(30, 30);
cellElement.Expander.SignImage = Properties.Resources.MyCustomImage;
cellElement.Expander.SignStyle = Telerik.WinControls.UI.SignStyles.Image;
}
}
The cellElement.Expander.SignSize seems to have no effect.
How can I achieve this please ?
Thanks.