public static extern GridLength FromValueAndType([In] double value, [In] GridUnitType type); public static extern bool GetIsAbsolute([In] GridLength target);