Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Set property min/max in PropertyGrid without multiple editors?

$
0
0
Hi,

Yes, this is available in Toolkit v3.0. You can use the Range attribute as :
 [Range(0, 10)]
    [Description( "This property uses the [Range(0,10)] attribute to set the Minimum and Maximum properties." )]
    public double RangeDouble
    {
      get;
      set;
    }
In v3.0, you will be able to set the Maximum/Minimum properties on NumericUpDown/DateTimeUpDown and TimeSpanUpDown editors with the Range attribute.
Current versions are :
Community edition : v2.8
Plus edition : v3.0

Viewing all articles
Browse latest Browse all 2157

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>