예제 #1
0
        public static int GetRowSpan(PObject control, int value)
        {
            if (control == null)
            {
                throw new ArgumentNullException("element");
            }

            return((int)control.GetValue(RowSpanProperty));
        }
예제 #2
0
 public static T GetView <T>(this PObject obj)
     where T : FrameworkElement
 {
     return(obj.GetValue <T>(DesignViewProperty));
 }