Telerik.Web.Mvc.UI.Window.VerifySettings C# (CSharp) Method

VerifySettings() private method

private VerifySettings ( ) : void
return void
        private void VerifySettings()
        {
            if (ResizingSettings.MinWidth != int.MinValue &&
                ResizingSettings.MaxWidth != int.MinValue &&
                ResizingSettings.MinWidth > ResizingSettings.MaxWidth)
            {
                throw new ArgumentException(TextResource.MinWidthShouldBeLessThanMaxWidth);
            }

            if (ResizingSettings.MinHeight != int.MinValue &&
                ResizingSettings.MaxHeight != int.MinValue &&
                ResizingSettings.MinHeight > ResizingSettings.MaxHeight)
            {
                throw new ArgumentException(TextResource.MinHeightShouldBeLessThanMaxHeight);
            }
        }