Behavior development help needed

Hi forum members,

after reading the illuminating posts regarding Behaviors I’ve decided to add a new one to my first WPF Application developed in Blend(visualbasic).

If I declare the “Time” parameter like following, the interface shows me a field where I can input every kind of value, negative positive without any limit (example, the blend par of other behaviors has a range 1-100).

Public Property Time() As Double
Return _time.TotalSeconds
End Get
Set(ByVal value As double)
_time = TimeSpan.FromSeconds(value)
End Set
End Property

Could you suggest me the way to add a parameter that accepts only a range of values (for exemple from 1 to 100)?