Is there a way to store behaviours (fluidMoveBehavior) in a style? RRS feed

  • Question

  • Our application has a 'generic' look and feel that has no customizations or styles applied to it so we can bench test our product against basic out-of-the-box elements.

    Then we have a skin we apply to our application to make it 'look nice.'  I'm currently working with behaviours, and wondering if there is away to get them into a resource dictionary assigned to an element with a key.

    For example, I'd like to assign certain grid elements with a style that tells them when style is applied using one skin, it uses the FluidMoveBehavior ...  I know I can set all the properties of the grid using a style, but I'm unsure if it is possible to also set the FluidMoveBehavior to the Grid's children in that same style. 

    Thank you for your assistance.

    Thursday, April 29, 2010 3:41 PM