Catel.MVVM.Views.ViewExtensions.GetVisualParent C# (CSharp) 메소드

GetVisualParent() 공개 정적인 메소드

Gets the logical parent of the specified dependency object.
The is null.
public static GetVisualParent ( this element ) : UIView
element this The element to retrieve the parent from.
리턴 UIView
        public static UIView GetVisualParent(this UIView element)
        {
            Argument.IsNotNull("element", element);

            try
            {
                throw new MustBeImplementedException();
                //return element.Parent as UIView;
            }
            catch (Exception)
            {
                return null;
            }
        }