G
Guest
Hi,
I am compiling and using one of the many samples that come with Vista SDK;
it is called "DataTrigger".
It works fine, but in the XAML pane I get a warning that makes me uneasy
since I don't know why it occurs and if it is important (if it isn't, I guess
it would not show a warning).
This is part of the code:
--------------------------------------------
<Window.Resources>
<claces x:Key="PlacesData"/>
--------------------------------------------
the warning is:
--------------------------------------------
Warning 1 The element 'Window.Resources' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child
element 'Places' in namespace 'clr-namespace:SDKSample;assembly='. List of
possible elements expected: 'ResourceDictionary.MergedDictionaries,
ResourceDictionary.Source, ResourceDictionary.IsReadOnly,
ResourceDictionary.Keys, ResourceDictionary.Values, sgObject, sgValueType,
Point, Size, Vector, Rect, Matrix, Int32Rect, Duration, FontStyle,
FontStretch, FontWeight, KeyTime, RepeatBehavior, Color, PixelFormat,
Matrix3D, Point3D, Point4D, Quaternion, Rect3D, Size3D, Vector3D,
CornerRadius, FigureLength, GridLength, Thickness, DependencyProperty,
sgDispatcherObject, sgDependencyObject, sgFreezable, sgAnimatable,
TextDecoration, TextDecorationCollection, sgTimeline, sgAnimationTimeline,
sgDoubleAnimationBase, DoubleAnimationUsingPath, DoubleAnimation,
DoubleAnimationUsingKeyFrames, sgBooleanAnimationBase,
BooleanAnimationUsingKeyFrames, sgByteAnimationBase, ByteAnimation,
ByteAnimationUsingKeyFrames, sgCharAnimationBase,
CharAnimationUsingKeyFrames, sgColorAnimationBase, ColorAnimation,
ColorAnimationUsingKeyFrames, sgDecimalAnimationBase, DecimalAnimation,
DecimalAnimationUsingKeyFrames, sgInt16AnimationBase, .... C:\Program
Files\Microsoft
SDKs\Windows\v6.0\Samples\WPFSamples\ConnectedData\DataTrigger\CSharp\Window1.xaml 11
I am compiling and using one of the many samples that come with Vista SDK;
it is called "DataTrigger".
It works fine, but in the XAML pane I get a warning that makes me uneasy
since I don't know why it occurs and if it is important (if it isn't, I guess
it would not show a warning).
This is part of the code:
--------------------------------------------
<Window.Resources>
<claces x:Key="PlacesData"/>
--------------------------------------------
the warning is:
--------------------------------------------
Warning 1 The element 'Window.Resources' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child
element 'Places' in namespace 'clr-namespace:SDKSample;assembly='. List of
possible elements expected: 'ResourceDictionary.MergedDictionaries,
ResourceDictionary.Source, ResourceDictionary.IsReadOnly,
ResourceDictionary.Keys, ResourceDictionary.Values, sgObject, sgValueType,
Point, Size, Vector, Rect, Matrix, Int32Rect, Duration, FontStyle,
FontStretch, FontWeight, KeyTime, RepeatBehavior, Color, PixelFormat,
Matrix3D, Point3D, Point4D, Quaternion, Rect3D, Size3D, Vector3D,
CornerRadius, FigureLength, GridLength, Thickness, DependencyProperty,
sgDispatcherObject, sgDependencyObject, sgFreezable, sgAnimatable,
TextDecoration, TextDecorationCollection, sgTimeline, sgAnimationTimeline,
sgDoubleAnimationBase, DoubleAnimationUsingPath, DoubleAnimation,
DoubleAnimationUsingKeyFrames, sgBooleanAnimationBase,
BooleanAnimationUsingKeyFrames, sgByteAnimationBase, ByteAnimation,
ByteAnimationUsingKeyFrames, sgCharAnimationBase,
CharAnimationUsingKeyFrames, sgColorAnimationBase, ColorAnimation,
ColorAnimationUsingKeyFrames, sgDecimalAnimationBase, DecimalAnimation,
DecimalAnimationUsingKeyFrames, sgInt16AnimationBase, .... C:\Program
Files\Microsoft
SDKs\Windows\v6.0\Samples\WPFSamples\ConnectedData\DataTrigger\CSharp\Window1.xaml 11