A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
1001 B

// -----------------------------------------------------------------------
// <copyright file="PerspexPropertyValue.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Diagnostics
{
public class PerspexPropertyValue
{
public PerspexPropertyValue(PerspexProperty property, object value)
{
this.Property = property;
this.CurrentValue = value;
}
public PerspexPropertyValue(PerspexProperty property, PriorityValue priorityValue)
{
this.Property = property;
this.CurrentValue = priorityValue.Value;
this.PriorityValue = priorityValue;
}
public PerspexProperty Property { get; private set; }
public object CurrentValue { get; private set; }
public PriorityValue PriorityValue { get; private set; }
}
}