471,330 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

WPF TargetType is ignored

Hello there,

I've got following style defined:

<Style TargetType="{x:Type GridViewColumn}">
<Setter Property="Header" Value="Test" />
<Setter Property="CellTemplate" Value="{StaticResource
CellTemplate_Name}" />

This style definition is ignored, if a GridViewColumn is defined. Why?
Is there only a certain type of target types allowed?

Apr 11 '08 #1
0 1253

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Margaret MacDonald | last post: by
1 post views Thread by Tony LaPaso | last post: by
5 posts views Thread by PJ6 | last post: by
9 posts views Thread by Tim Cali | last post: by
10 posts views Thread by Xah Lee | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.