Moonlight 1.0 Enumeration Tests
The purpose of the tests is to detect how SL 1.0 (JavaScript) reacts to bad values and,
when they are accepted (commonly), to which value it defaults.
This last case is important since SL applications with 'syntax' errors could behave differently on Moonlight
(e.g. being visible when they should not).
Enumerations
- AlignmentX
- AlignmentY
- BrushMappingMode
- ColorInterpolationMode
- DeviceType
- DeviceType is only used in StylusInfo.DeviceType and is read-only.
- ErrorType
- ErrorType is used in ErrorEventArgs.ErrorType, ParserErrorEventArgs.ErrorType and
RuntimeErrorEventArgs.ErrorType and is always read-only.
- FillBehavior
- FillRule
- FontStretch
- FontStyle
- FontWeight
- GradientSpreadMethod
- Key
- Key is used in KeyboardEventArgs.Key and KeyboardEventArgs.PlatformKeyCode and, while it's read-write,
it's not used as in input in Silverlight (so invalid values does not matter).
- MediaState
- MediaState is only used in MediaElement.CurrentState and is read-only.
- MouseCursor
- PenLineCap
- PenLineJoin
- Stretch
- StyleSimulations
- SweepDirection
- TextDecorations
- TextWrapping
- Visibility
MSDN reference about Silverlight 1.0 enumerations.