1 namespace System.Activities.Presentation.PropertyEditing {
3 using System.ComponentModel;
5 using System.Activities.Presentation;
8 /// Attribute that is used to attach a PropertyOrder to a property.
10 [Fx.Tag.XamlVisible(false)]
11 [AttributeUsage(AttributeTargets.Property)]
12 sealed class PropertyOrderAttribute : Attribute {
13 private PropertyOrder _order;
16 /// Creates a PropertyOrderAttribute.
18 /// <param name="order">The PropertyOrder to attach to the property</param>
19 /// <exception cref="ArgumentNullException">When order is null</exception>
20 public PropertyOrderAttribute(PropertyOrder order)
23 throw FxTrace.Exception.ArgumentNull("order");
29 /// Gets the associated PropertyOrder
31 public PropertyOrder Order {
32 get { return _order; }