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?
>
>
>
>
> 
>_______________________________________________
>ozsilverlight mailing list
>[email protected]
>http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
                                          
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/196390710/direct/01/
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to