public static extern int GetRow([In] FrameworkElement element); public static extern void SetRow([In] FrameworkElement element, [In] int value);