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 6842137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:03:45+00:00 2026-05-27T00:03:45+00:00

I am making a phone application in Silverlight, Windows Mobile. I am able to

  • 0

I am making a phone application in Silverlight, Windows Mobile.

I am able to change the location of a button, or a label etc. That’s fine and all good.

However, does anyone know how I can change the actual axis, as in, rotation. For example: | in to __ ?

Let’s say that: | …. is a button or something. I can move it around the screen with ease.

But how do I make it from | and change the rotation to __ ?

  • 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-05-27T00:03:46+00:00Added an answer on May 27, 2026 at 12:03 am

    You can use RotateTransform in your XAML or as a method in the code-behind.

    This is the example that is listed on the linked page:

    <Canvas Height="200" Width="200">
      <Polyline Points="25,25 0,50 25,75 50,50 25,25 25,0" 
        Stroke="Blue" StrokeThickness="10"
        Canvas.Left="75" Canvas.Top="50">
        <Polyline.RenderTransform>
          <RotateTransform CenterX="0" CenterY="0" Angle="45" />
        </Polyline.RenderTransform>
      </Polyline>
    </Canvas>
    

    Hope this helps

    Edit: Code behind example doing exactly the same thing as XAML:

    Polyline polyline1 = new Polyline();
    polyline1.Points.Add(new Point(25, 25));
    polyline1.Points.Add(new Point(0, 50));
    polyline1.Points.Add(new Point(25, 75));
    polyline1.Points.Add(new Point(50, 50));
    polyline1.Points.Add(new Point(25, 25));
    polyline1.Points.Add(new Point(25, 0));
    polyline1.Stroke = Brushes.Blue;
    polyline1.StrokeThickness = 10;
    RotateTransform rotateTransform1 = new RotateTransform(45);
    polyline1.RenderTransform = rotateTransform1;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a windows phone silverlight grid that is quite big, around 4 x
I want to grab the .dll from a mobile phone application I am making
Am making an application in WP7 using Windows Phone SDK 7.1 / C# Am
I am making a email sending application in android phone. For that I included
I'm making a Windows Phone 7 application and I'm a bit confused with dark/light
I am making a small Windows Phone 7 application and have lots of text
I'm making a calculator application for windows phone 7 and I'm struggling with digit
I am making an application that lets your phone connect and control your calendar.
I'm currently making a jQuery Mobile application and using Phone Gap to deploy to
Well I'm making a small phone book application and I've decided that using maps

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.