GroupAttribute.cs #1

  • //
  • guest/
  • perforce_software/
  • piper/
  • main/
  • windows/
  • R1.1/
  • Perforce/
  • Helper/
  • GroupAttribute.cs
  • View
  • Commits
  • Open Download .zip Download (612 B)
//
// Copyright 2014 Perforce Software Inc.
//

using System.Windows;

namespace Perforce.Helper {
    public class GroupAttribute : DependencyObject {
        public static string GetGroupName(DependencyObject obj) {
            return (string)obj.GetValue(NameProperty);
        }
        public static void SetGroupName(DependencyObject obj, string value) {
            obj.SetValue(NameProperty, value);
        }

        public static readonly DependencyProperty NameProperty = DependencyProperty.RegisterAttached("GroupName", typeof(string), typeof(GroupAttribute), new UIPropertyMetadata(null));
    }
}
# Change User Description Committed
#1 16507 perforce_software Move to main branch.
//guest/perforce_software/piper/windows/R1.1/Perforce/Helper/GroupAttribute.cs
#1 11256 alan_petersen Populate //guest/perforce_software/piper/windows/R1.1/...
from //guest/perforce_software/piper/windows/main/....
//guest/perforce_software/piper/windows/main/Perforce/Helper/GroupAttribute.cs
#1 11255 alan_petersen Rename/move file(s)
//guest/perforce_software/piper/windows/Perforce/Helper/GroupAttribute.cs
#1 10761 alan_petersen initial drop of Piper for Windows....

this version still has _many_ bugs (er... i mean "unintended features") but I will be updating it over the next week as more stability is added.