I'm writing XAML/WPF and sometimes use object-element syntax to reference a static resource:
<StaticResource ResourceKey="theResourceKey"/>
This seems consistent with the StaticResource Markup Extension docs and is the only option I know of in some cases, e.g.:
<Transform3DGroup>
<TranslateTransform3D OffsetX="0.5" OffsetY="0.5"/>
<StaticResource ResourceKey="PlateScaleTransform"/>
</Transform3DGroup>
The problem is, I get no intellisense suggesting <StaticResource
, but once I've typed it I do get intellisense suggesting ResourceKey=""
. Anyone have ideas why the former intellisense suggestion isn't working?