M
matthijsdezwart
Hi,
I was wondering if someone can help me out with a propertygrid
problem.
Someone else made a program where I insert my script. This script has
some propertíes, which are specified like:
public string _firstProp;
public int _secondProp;
_firstProp = "Default Value";
_secondProp = 0;
public string firstProp
{
get {return _firstProp;}
set {_firstProp=value;}
}
public int secondProp
{
get{return _secondProp;}
set{_secondProp=value;}
}
therse parameters are used in a propertygrid. I would like to be able
to change the background of the cell and the font of the cell, if (for
instance) _secondProp = 1 instead of 0.
Is that possible?
Kind regards,
Matthijs
I was wondering if someone can help me out with a propertygrid
problem.
Someone else made a program where I insert my script. This script has
some propertíes, which are specified like:
public string _firstProp;
public int _secondProp;
_firstProp = "Default Value";
_secondProp = 0;
public string firstProp
{
get {return _firstProp;}
set {_firstProp=value;}
}
public int secondProp
{
get{return _secondProp;}
set{_secondProp=value;}
}
therse parameters are used in a propertygrid. I would like to be able
to change the background of the cell and the font of the cell, if (for
instance) _secondProp = 1 instead of 0.
Is that possible?
Kind regards,
Matthijs