07-02-2008 09:45 AM
and if i want to edit the values of the X axis like this
XAxisRange
.Source = new PropertyEditorSource(xAxis1,"Range");the result is meaningless to any end users.
I think that the Range property editor is not aware of the display format that is used by the chart axises. In that case, specially, this is a problem; this makes the default property editor useless.
How can I customized the PropertyEditorSource object so that I can see and edit the values like is is done on that waveformgraph?
Thanks,
Jean
07-03-2008 08:58 AM
07-07-2008 06:44 PM
07-08-2008 03:33 PM
07-08-2008 03:55 PM
Measurement Studio 8.5
Vs 2005
07-25-2008 09:50 AM
Jonathan,
is there someone looking into that so far? I didn't received any feedback yet.
Regards,
Jean
07-28-2008 09:09 PM
08-08-2008 04:33 PM
08-08-2008 05:17 PM
08-18-2008 09:03 AM
Hello Nick,
Thanks for your support. I understand what you have done. I simply wonder if the Converter property from the PropertyEditorSource class would have include a set statement, then the whole problem would have been solved by passing it a custom TypeConverter?
// Summary:
// Represents a property that is edited in a property editor control.
[Editor("NationalInstruments.UI.Internal.Design.PropertyEditorSourceEditor, NationalInstruments.UI.Design, Version=8.5.20.220, Culture=neutral, PublicKeyToken=4544464cdeaab541", typeof(UITypeEditor))]public class PropertyEditorSource : IServiceProvider, IDisposable
// ...
// Summary:
// Gets the type converter for the property.
[Browsable(false)][DesignerSerializationVisibility(0)]
public virtual TypeConverter Converter { get; set; }
}
So, I don't know if this could be a future improvement in the next version. Also, as a comment, I found that sometimes the Measurement Studio framework is less open than the .NET Framework, For exemple, often only get properties are available and many usefull class are internal to your assemblies. For this exemple, I could have reuse the original RangeEditorUI instead of creating a new one.
In any case, your project will help me go forward in my project. At least something can be done. But, in the future, I suggest that you might open up a little bit your framework by offering more set and unhiding more usefull class.
Thanks,
Jean