Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7736315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:42:27+00:00 2026-06-01T07:42:27+00:00

I have a Listbox DataTemplate which looks like this <DataTemplate> <StackPanel Margin=0,24,0,24> <StackPanel toolkit:TiltEffect.IsTiltEnabled=true>

  • 0

I have a Listbox DataTemplate which looks like this

<DataTemplate> 
  <StackPanel Margin="0,24,0,24">
      <StackPanel toolkit:TiltEffect.IsTiltEnabled="true">
        <toolkit:ContextMenuService.ContextMenu>
           <toolkit:ContextMenu>
             <toolkit:MenuItem Header="Do something" />
             <toolkit:MenuItem Header="Do something else" />
           </toolkit:ContextMenu>
        </toolkit:ContextMenuService.ContextMenu>
        <TextBlock Text="Some content" />
        <TextBlock Text="Some text" />
    </StackPanel>
    <Image Source="{Binding Url}" />
  </StackPanel>
</DataTemplate>

I am setting the Tilt Effect on the StackPanel which contains a context menu and two TextBlocks. I want the Tilt Effect to only affect the StackPanel. Unfortunately, with things set up this way, the Tilt Effect propagates further and affects the Image as well.

I tried the obvious ways of using the TiltEffect.SupressTilt=”True” on the Image, but it has no effect. 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:42:28+00:00Added an answer on June 1, 2026 at 7:42 am

    I was not happy with the Silverlight toolkit tilt effect, especially the way that it is’magically’ applied to elements based on type. So I wrote an alternative. You can also configure how much ’tilt’ you want to apply. The sourcecode can be found here:

    Metro in Motion Part #4: Tilt Effect

    With this code you can individually apply tilt to elements as follows:

    <Button local:MetroInMotion.Tilt="6"/> 
    

    Where the integer specifies how much tilt to apply. I would recommend using quite low values, the native effect is quite subtle, however people tend to make it far too extreme in their own Silverlight applications, Metro effects should be subtle, they should not shout at you!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Style which looks like this: <Style x:Name=SomeListBoxStyle TargetType=ListBox> <Setter Property=Template> <Setter.Value>
Within my project I have a Listbox which uses a datatemplate. Within this data
I have a UserControl which basically wraps a ListBox like this - <ListBox x:Name=lb
I have a DataTemplate which contains a CheckBox and ListBox. When the CheckBox is
I have a ListBox which uses a DataTemplate to render databound items. The XAML
hello everybody i have a listbox within which is a datatemplate.Inside it is checkbox,textbox,label...Wat
I have DataTemplate containing a TextBox . I'm setting this template to a listbox
I have a databound and itemtemplated ListBox: <ListBox x:Name=lbLista ScrollViewer.VerticalScrollBarVisibility=Visible> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation=Horizontal>
I have an ItemsContol bound to a Country model - which look like this.
I have a listbox that has a datatemplate which contains multiple text boxes. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.