Hi Dimitar,
That helps perfectly!!!!Thanks a lot.
And I have one more question-
Still about the color dialog,the target is to hide the icon of the color dialog,it succeeded for this case:
private void pRadGridView_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
GridColorPickerEditor editor = e.ActiveEditor as GridColorPickerEditor;
if (editor != null)
{
GridColorPickerElement element = editor.EditorElement as GridColorPickerElement;
RadColorDialog dialog = element.ColorDialog;
RadColorDialogForm dialogForm = dialog.ColorDialogForm as RadColorDialogForm;
dialogForm.ShowIcon = false;
dialogForm.ShowInTaskbar = false;
}
}
while it failed for this case:
private void pRadGridView_FilterPopupInitialized(object sender, FilterPopupInitializedEventArgs e)
{
GridColorPickerEditor editor = e.FilterPopup as GridColorPickerEditor;
if (editor != null)
{
GridColorPickerElement element = editor.EditorElement as GridColorPickerElement;
RadColorDialog dialog = element.ColorDialog;
RadColorDialogForm dialogForm = dialog.ColorDialogForm as RadColorDialogForm;
dialogForm.ShowIcon = false;
dialogForm.ShowInTaskbar = false;
}
}
Is there a way to hide the icon by an easier way?
Best Regards,
Peter