1. thienhoang72's Avatar
    <ListView Name="lst_intro">
    <ListView.ItemTemplate>
    <DataTemplate>
    <Image Source="{Binding link}"
    Stretch="Uniform"
    RenderTransformOrigin="0.5,0.5"
    ManipulationDelta="img_intro_ManipulationDelta"
    ManipulationMode="Scale">
    <Image.RenderTransform>
    <CompositeTransform/>
    </Image.RenderTransform>


    </Image>
    </DataTemplate>
    </ListView.ItemTemplate>
    </ListView>

    private void img_intro_ManipulationDelta(object sender, ManipulationDeltaRoutedEventArgs e)
    {
    Image img = sender as Image;
    CompositeTransform ct = img.RenderTransform as CompositeTransform;
    ct.ScaleX *= e.Delta.Scale;
    ct.ScaleY *= e.Delta.Scale;
    if (ct.ScaleX < mincale) ct.ScaleX = mincale;
    if (ct.ScaleY < mincale) ct.ScaleY = mincale;

    ScaleTransform scale=new ScaleTransform();


    }
    10-12-2014 08:18 PM

Similar Threads

  1. How do I renew my Nokia music subscription in India?
    By Mickey Mause in forum Ask a Question
    Replies: 2
    Last Post: 10-13-2014, 01:30 AM
  2. What is recovery image ? When should it be used?
    By WPCentral Question in forum Ask a Question
    Replies: 1
    Last Post: 10-12-2014, 09:43 PM
  3. [Help] Unable to signout of my outlook acct on my WP8?
    By WPCentral Question in forum Ask a Question
    Replies: 1
    Last Post: 10-12-2014, 07:22 PM
  4. Lumia 830 on Sprint?
    By WPCentral Question in forum Ask a Question
    Replies: 2
    Last Post: 10-12-2014, 06:56 PM
  5. How do i get Word Flow to work in languages other than ENG?
    By WPCentral Question in forum Ask a Question
    Replies: 2
    Last Post: 10-12-2014, 05:00 PM
LINK TO POST COPIED TO CLIPBOARD