RE: DataGrid mouseover vsm

2009-08-11 Thread Jordan Knight
LOL, upgrade already would ya :P

From: ozsilverlight@ozsilverlight.com [mailto:ozsilverli...@ozsilverlight.com] 
On Behalf Of Stephen Price
Sent: Tuesday, 11 August 2009 10:54 PM
To: ozsilverlight@ozsilverlight.com
Subject: Re: DataGrid mouseover vsm

Just in case anyone else tries to use Jordan's dodgy code... heheh... If you 
try to use that Style in Silverlight 2 make sure you add spaces to the names of 
the states. ie NormalAlternatingRow should be Normal AlternatingRow, 
MouseOverSelected should be MouseOver Selected... and so on.

I'm just sayin...

Thanks all for the replies. :)

cheers,
Stephen

On Tue, Aug 11, 2009 at 4:21 PM, Jordan Knight 
mailto:jordan.kni...@readify.net>> wrote:

Here ya go, lifted it using reflector :)





  























































































































   

Re: DataGrid mouseover vsm

2009-08-11 Thread Stephen Price
Just in case anyone else tries to use Jordan's dodgy code... heheh... If you
try to use that Style in Silverlight 2 make sure you add spaces to the names
of the states. ie NormalAlternatingRow should be Normal
AlternatingRow, MouseOverSelected
should be MouseOver Selected... and so on.
I'm just sayin...


Thanks all for the replies. :)

cheers,
Stephen

On Tue, Aug 11, 2009 at 4:21 PM, Jordan Knight wrote:

>  Here ya go, lifted it using reflector :)
>
>
>
>
>
>   
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="0"/>
>
> 
>
> 
>
> 
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To=".5"/>
>
> 
>
> 
>
> 
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
> 
>
> 
>
>  x:Name="MouseOverSelected">
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
> 
>
> 
>
>  x:Name="UnfocusedSelected">
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="(Fill).Color" To="#FFE1E7EC"/>
>
> 
>
> 
>
> 
>
>  x:Name="ValidationStates">
>
> 
>
> 
>
> 
>
>  Duration="0" Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Visibility">
>
>  KeyTime="0" Value="Collapsed"/>
>
> 
>
>  Storyboard.TargetName="InvalidVisualElement"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> 
>
> 
>
>  Storyboard.TargetName="DetailsPresen

RE: DataGrid mouseover vsm

2009-08-11 Thread Jordan Knight
I was actually in poking around the same area when stephen's question came 
through :)

From: ozsilverlight@ozsilverlight.com [mailto:ozsilverli...@ozsilverlight.com] 
On Behalf Of Miguel Madero
Sent: Tuesday, 11 August 2009 6:34 PM
To: ozsilverlight@ozsilverlight.com
Subject: Re: DataGrid mouseover vsm

I used the SilverlightStyleInspector for this. It works great.
Reflector can also do the work.


I tried it on Blend 3 and it was working fine.
On Tue, Aug 11, 2009 at 6:21 PM, Jordan Knight 
mailto:jordan.kni...@readify.net>> wrote:

Here ya go, lifted it using reflector :)





  

























































































































  

Re: DataGrid mouseover vsm

2009-08-11 Thread Miguel Madero
I used the SilverlightStyleInspector for this. It works great.
Reflector can also do the work.


I tried it on Blend 3 and it was working fine.

On Tue, Aug 11, 2009 at 6:21 PM, Jordan Knight wrote:

>  Here ya go, lifted it using reflector :)
>
>
>
>
>
>   
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="0"/>
>
> 
>
> 
>
> 
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To=".5"/>
>
> 
>
> 
>
> 
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
> 
>
> 
>
>  x:Name="MouseOverSelected">
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
> 
>
> 
>
>  x:Name="UnfocusedSelected">
>
> 
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
>  Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="(Fill).Color" To="#FFE1E7EC"/>
>
> 
>
> 
>
> 
>
>  x:Name="ValidationStates">
>
> 
>
> 
>
> 
>
>  Duration="0" Storyboard.TargetName="BackgroundRectangle"
> Storyboard.TargetProperty="Visibility">
>
>  KeyTime="0" Value="Collapsed"/>
>
> 
>
>  Storyboard.TargetName="InvalidVisualElement"
> Storyboard.TargetProperty="Opacity" Duration="0" To="1"/>
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> 
>
> 
>
>  Storyboard.TargetName="DetailsPresenter"
> Storyboard.TargetProperty="ContentHeight" Duration="00:00:0.1" />
>
> 
>
> 
>
>
>
> 

RE: DataGrid mouseover vsm

2009-08-11 Thread Jordan Knight
Here ya go, lifted it using reflector :)


  





































































Re: DataGrid mouseover vsm

2009-08-11 Thread Stephen Price
Thanks for the reply. I had a look at those and there was no default for
them. ie RowStyle is probably the one I want but it just has the create new
option, no copy.
Will have another look at it later tonight...

cheers,
Stephen

On Tue, Aug 11, 2009 at 3:10 PM, Miguel Madero  wrote:

> Stephen,
>
> The DG itself doesn't have a MouseOver State. It's template it's a bit
> simpler. You can modify the RowHeaderStyle, RowStyle, CellStyle (and
> probably others) all of them have the mouse over state, it just depends on
> which area of the DG you want to modify.
>
>
>
>
> On Tue, Aug 11, 2009 at 12:28 AM, Stephen Price 
> wrote:
>
>> Hey all,
>> This is probably simple when you know how, but I'm trying to customise the
>> mouseover storyboard of a DataGrid. I'm using Blend 2 and have also looked
>> in Blend 3 but when you create copy for the Edit Template option the copy
>> has no states. I've also looked in the additional templates menu. Am I
>> looking in the wrong place or maybe not drilling deep enough into the right
>> part of the DataGrid?
>> Or maybe its a manual thing being a part of the toolkit. The default style
>> must be coming from somewhere... any ideas?
>>
>> cheers,
>> Stephen
>>  --
>> Support procedure: https://www.codify.com/lists/support
>> List address: ozsilverlight@ozsilverlight.com
>> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
>> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
>> List FAQ: http://www.codify.com/lists/ozsilverlight
>> Other lists you might want to join: http://www.codify.com/lists
>
>
>
>
> --
> Miguel A. Madero Reyes
> www.miguelmadero.com (blog)
> m...@miguelmadero.com
>
>  --
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>

Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



Re: DataGrid mouseover vsm

2009-08-11 Thread Miguel Madero
Stephen,

The DG itself doesn't have a MouseOver State. It's template it's a bit
simpler. You can modify the RowHeaderStyle, RowStyle, CellStyle (and
probably others) all of them have the mouse over state, it just depends on
which area of the DG you want to modify.




On Tue, Aug 11, 2009 at 12:28 AM, Stephen Price wrote:

> Hey all,
> This is probably simple when you know how, but I'm trying to customise the
> mouseover storyboard of a DataGrid. I'm using Blend 2 and have also looked
> in Blend 3 but when you create copy for the Edit Template option the copy
> has no states. I've also looked in the additional templates menu. Am I
> looking in the wrong place or maybe not drilling deep enough into the right
> part of the DataGrid?
> Or maybe its a manual thing being a part of the toolkit. The default style
> must be coming from somewhere... any ideas?
>
> cheers,
> Stephen
>  --
> Support procedure: https://www.codify.com/lists/support
> List address: ozsilverlight@ozsilverlight.com
> Subscribe: ozsilverlight-subscr...@ozsilverlight.com
> Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists




-- 
Miguel A. Madero Reyes
www.miguelmadero.com (blog)
m...@miguelmadero.com

Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists