L
Leonid Kunin
I can change size/ratio between the first (Label) and the
second (Value) columns in the property grid using mouse
or Ctrl-Left/Right arrow shortcuts. This is great! But
now I want to save current ration/size so I could restore
it when the application is restarted.
In order to do so I need to receive an appropriate
notification, get current width ratio or size, set the
desired value. Note that Visual Studio .NET property
views do preserve these settings.
Internal PropertyGrid gridView has properties such as
LabelWidth, LabelRatio, InternalLabelWidth and others
that perhaps could be used via reflection. Is there any
better way to do this?
Thanks for your help,
Leonid
second (Value) columns in the property grid using mouse
or Ctrl-Left/Right arrow shortcuts. This is great! But
now I want to save current ration/size so I could restore
it when the application is restarted.
In order to do so I need to receive an appropriate
notification, get current width ratio or size, set the
desired value. Note that Visual Studio .NET property
views do preserve these settings.
Internal PropertyGrid gridView has properties such as
LabelWidth, LabelRatio, InternalLabelWidth and others
that perhaps could be used via reflection. Is there any
better way to do this?
Thanks for your help,
Leonid