public HandleOrientation GetHandleOrientation()
        {
            var rectRelativePlacement = DecoratorPanel.GetPlacement(this);

            if (rectRelativePlacement == RectRelativePlacement.Undefined)
            {
                return(HandleOrientation.None);
            }

            return(rectRelativePlacement.Vertical == VerticalAlignment.Bottom
                ? HandleOrientation.Top
                : HandleOrientation.Bottom);
        }