aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Diagnostics/Project/DiagnosticsProjectTabRowDefinition.cs
blob: e889ec97903c7d254c86d99538a4d95e2b9a2dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Tango.Core;

namespace Tango.FSE.Diagnostics.Project
{
    public class DiagnosticsProjectTabRowDefinition : ExtendedObject
    {
        private GridLength _height;
        public GridLength Height
        {
            get { return _height; }
            set { _height = value; RaisePropertyChangedAuto(); }
        }
    }
}
w"> { Rate = rate; } private double _rate; /// <summary> /// Gets or sets the current frame rate. /// </summary> public double Rate { get { return _rate; } set { _rate = value; RaisePropertyChanged("Rate"); } } /// <summary> /// Returns a strings representation of the current frame rate. /// </summary> /// <returns>Frame rate.</returns> public override string ToString() { return Rate.ToString("0.#") + " fps"; } private void RaisePropertyChanged(String propName) { if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(propName)); } public event PropertyChangedEventHandler PropertyChanged; } }