The NumberStringValidator type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | GetCulture |
Gets the value of the Culture attached property for a given DependencyObject.
|
![]() ![]() | SetCulture |
Sets the value of the Culture attached property for a given DependencyObject.
|
![]() | Validate |
Performs validation checks on a value.
(Overrides ValidationRule..::..Validate(Object, CultureInfo).) |
Fields
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}''/>
|
Properties
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.
|
![]() | ValidatesOnTargetUpdated |
Gets or sets a value that indicates whether the ValidationRule runs when the target of the Binding is updated.
(Inherited from ValidationRule.) |
![]() | 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.
|
![]() | ValidationStep |
Gets or sets when the ValidationRule runs.
(Inherited from ValidationRule.) |