added MouseWheel event support for Silverlight 3.0
[moon.git] / src / validators.h
blob49d38f6fb3ef2e057954ac1eb7a944221901bf84
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * validators.h:
5 * Contact:
6 * Moonlight List (moonlight-list@lists.ximian.com)
8 * Copyright 2008 Novell, Inc. (http://www.novell.com)
10 * See the LICENSE file included with the distribution for details.
13 #ifndef __VALIDATORS_H__
14 #define __VALIDATORS_H__
16 #include "value.h"
17 #include "error.h"
19 typedef bool ValueValidator (DependencyObject *instance, DependencyProperty *property, Value *value, MoonError *error);
21 class Validators
23 public:
24 static ValueValidator default_validator;
25 static ValueValidator AudioStreamIndexValidator;
26 static ValueValidator BorderThicknessValidator;
27 static ValueValidator BufferingTimeValidator;
28 static ValueValidator CornerRadiusValidator;
29 static ValueValidator CursorValidator;
30 static ValueValidator FloatValidator;
31 static ValueValidator PositiveIntValidator;
32 static ValueValidator IntGreaterThanZeroValidator;
33 static ValueValidator IsInputMethodEnabledValidator;
34 static ValueValidator DoubleGreaterThanZeroValidator;
35 static ValueValidator NonNullValidator;
36 static ValueValidator NotNullOrEmptyValidator;
37 static ValueValidator MediaAttributeCollectionValidator;
38 static ValueValidator StyleValidator;
39 static ValueValidator TemplateValidator;
40 static ValueValidator IsTimelineValidator;
41 static ValueValidator StoryboardTargetPropertyValidator;
42 static ValueValidator IsSetterSealedValidator;
43 static ValueValidator ContentControlContentValidator;
44 static ValueValidator NameValidator;
45 static ValueValidator CrossDomainValidator;
46 static ValueValidator VolumeValidator;
47 static ValueValidator BalanceValidator;
50 #endif /* __VALIDATORS_H__ */