[]
Represents a custom validation rule for number strings.
public class NumberStringValidator : ValidationRule
Name | Description |
---|---|
NumberStringValidator() |
Name | Description |
---|---|
CultureProperty | The Culture attached property can be used to localize validation results: <TextBox c1sched:NumberStringValidator.Culture=''{Binding Path=CalendarHelper.Culture, RelativeSource={RelativeSource AncestorType={x:Type c1sched:C1Scheduler}}, Mode=OneWay}''/> |
Name | Description |
---|---|
Format | Gets or sets formatting strings which should be used at number conversion. |
Max | Gets or sets a maximum allowable value. |
Min | Gets or sets a minimum allowable value. |
ValidationCulture | Gets or sets culture used for localizing validation results. If this property is null, the CultureInfo specified in Validate method parameters will be used. |
Name | Description |
---|---|
GetCulture(DependencyObject) | Gets the value of the Culture attached property for a given DependencyObject. |
SetCulture(DependencyObject, CultureInfo) | Sets the value of the Culture attached property for a given DependencyObject. |
Validate(object, CultureInfo) | Performs validation checks on a value. |