Skip to content

Chuck Jazdzewski: Xaml Conditional Compilation via MarkupCompatibility

May 17, 2007

More internal mail:

From: Me
Chuck showed an interesting way you can do “xaml conditional compilation” in A Tour of XAML VIII: More fun with Markup Compatibility

———————————————————-

From: Somebody inside of MS
I need to do something like this:

<ControlTemplate>
#if SOMESYMBOL
<ControlTemplate.Triggers>
                Some triggers
</ControlTemplate.Triggers>
#endif
</ControlTemplate>

Is there any way to do it?

From → XAML (non-UI)

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: