I've noticed that Blend likes to make resources dynamic where static
will do.  It's probably some Blend strategy to make resources work in a
variety of circumstances.

 

Once we get to development, we find the XAML from the prototype doesn't
quite work with the production code and we have to tweak some things.
It's at this point that we ensure the resources are tied down so we don'
t get performance problems, memory leaks, etc.

 

[I should point out that the Blend vision of working a prototype through
to production code doesn't work with solutions of the scale that my
company works on.  Our prototypes are purely for design, discussion,
analysis, and documentation processes and most of the XAML gets thrown
away once the prototype is complete.]

 

Carl.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Darren
Neimke <[email protected]>
Sent: Thursday, 7 January 2010 10:53 AM
To: "[email protected]" <[email protected]>
Subject: RE: sketchflow styles

 

I wonder why those need to be DynamicResource's?  Is that just because
that's Blend's view of the world?

Kind Regards,
 
Darren Neimke
[email protected] 



 

________________________________

Date: Thu, 7 Jan 2010 02:24:32 +0000
To: [email protected]
Subject: Re: sketchflow styles
From: [email protected]

I understand now.  It is nothing special.  Just the fontfamily and
fontsize is inhereted from parent panel.

I created a new style very easily by copying one of the others from
SketchStyles.xaml.

This can be done I suppose for any UI element that doesn't have a
default sketch style :

    <Style x:Key="BasicListView-Sketch" TargetType="{x:Type ListView}"
d:StyleDefaultContent="Basic Text">
        <Setter Property="FontFamily" Value="{DynamicResource
FontFamily-Sketch}"/>
        <Setter Property="FontSize" Value="16"/>
        <Setter Property="Foreground" Value="{DynamicResource
BaseForeground-Sketch}"/>
    </Style>

On Thu, 07 Jan 2010 06:47:18 +0530 wrote
>I am doing a sketchflow prototypes and blend is now my friend since the
good advice the other day. Wpf but I dont think that matters much.
>
>I put a listview inside a tabcontrol / tabitem and the listview seems
to automatically inheret the sketchflow style from the tab or something.
It automatically using the sketchflow font etc for both the column
header and cells.
>
>I put a listview on other screen without a tabcontrol in the same
sketchflow project it doesn't automatically have the sketchflow style.
>
>I like it works automatically as this saves me from creating a style
and looks strange as default style when everything else is sketch.
>
>I tested and if I put a tabcontrol / item around the other listview it
has the sketch style.
>
>I wonder how / why this happens in a tabcontrol / tabitem and I wonder
how I can do it without a tabcontrol?
>
>
>
>
> 
> <http://gfx1.hotmail.com/mail/w4/pr01/ltr/i_safe.gif>
_______________________________________________
>ozsilverlight mailing list
>[email protected]
>http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
 <http://gfx1.hotmail.com/mail/w4/pr01/ltr/i_safe.gif> 

________________________________

Hotmail: Powerful Free email with security by Microsoft. Get it now.
<http://clk.atdmt.com/GBL/go/196390710/direct/01/> 
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________ 
ozsilverlight mailing list 
[email protected] 
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight 

_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.

This electronic transmission including any attachments is intended only
for those to whom it is addressed. It may contain copyright material or
information that is confidential, privileged or exempt from disclosure by law.
Any claim to privilege is not waived or lost by reason of mistaken transmission
of this information. If you are not the intended recipient you must not
distribute or copy this transmission and should please notify the sender.
Your costs for doing this will be reimbursed by the sender.

We do not accept liability in connection with computer virus, data corruption,
delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to