Home - Forums-.NET - FlyGrid.Net (Windows Forms) - NodeCheckChange

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

NodeCheckChange
Link Posted: 24-Aug-2006 01:51
Hi,

How can i know what property caused the event to fire?

in your documation you said the the change the checked, grayd or radiobutton proprties is changed.

How Can i know what property had been changed?
thanks,
Guy.
Link Posted: 24-Aug-2006 08:19
you can use FlyGrid.NodeStateChanging/NodeStateChange for these purposes and in the NodeStateChanging event examine NodeBase.State:
[c#]
private bool IsNodeChecked(NodeBase node)
{
  return (node.State & NodeState.Checked) != 0
}
Link Posted: 27-Aug-2006 02:17
I need to know what caused the event to fire, the state i can examine in the NodeCheckedCahnge event as well.
Link Posted: 27-Aug-2006 04:02
Change of NodeBase.Checked property is fired NodeCheckedChange event when this property is changed.