Quantcast
Channel: Rotation Animation only using XAML
Viewing all articles
Browse latest Browse all 6

Rotation Animation only using XAML

$
0
0

Hi thanks... But i have already implemented this..... I have mentioned in my post that I am successfully implemented it using code. My intention is to do it using XAML. I have a my viewModel as below...

VM.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace WpfApplication2
{
    class VM : INotifyPropertyChanged
    {
        private int angleValue;
        public int AngleValue
        {
            get
            {
                return this.angleValue;
            }
            set
            {
                this.angleValue = value;
                RaisePropertyChanged("AngleValue");
            }
        }


        public event PropertyChangedEventHandler PropertyChanged;
        void RaisePropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

    }
}

Thanks....


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>