C
caulagi
Hello!
I want to write -
[Persistent, ReadOnly(form.IsFixedValue)]
public double CycleTime
{
get { return cycletime; }
}
i.e. CycleTime should be readonly or otherwise depending on the value
of form.IsFixedValue (IsFixedValue is a property of the form).
But the above code doesn't work (of course). Is there a way to get it
to work the way I want?
TIA,
Pradip
I want to write -
[Persistent, ReadOnly(form.IsFixedValue)]
public double CycleTime
{
get { return cycletime; }
}
i.e. CycleTime should be readonly or otherwise depending on the value
of form.IsFixedValue (IsFixedValue is a property of the form).
But the above code doesn't work (of course). Is there a way to get it
to work the way I want?
TIA,
Pradip
