skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface ILayoutEngine

Defines properties and methods for the default layout engine.

Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll

Syntax

public interface ILayoutEngine

Properties

AvailableSize

Gets a value indicating the available size.

Declaration
Size AvailableSize { get; }
Property Value
System.Drawing.Size

Methods

CheckSize(Size)

Retrieves check size structure.

Declaration
Size CheckSize(Size size)
Parameters
System.Drawing.Size size

Returns
System.Drawing.Size

GetBorderOffset()

Retrieves Border offset.

Declaration
Size GetBorderOffset()
Returns
System.Drawing.Size

GetBorderSize()

Retrieves border size.

Declaration
Size GetBorderSize()
Returns
System.Drawing.Size

GetChildBorderSize()

Retrieves the border size of its child.

Declaration
Size GetChildBorderSize()
Returns
System.Drawing.Size

GetFaceRectangle()

Gets the face rectangle.

Declaration
Rectangle GetFaceRectangle()
Returns
System.Drawing.Rectangle

GetParentPadding()

Retrieves parent's padding.

Declaration
Padding GetParentPadding()
Returns
System.Windows.Forms.Padding

GetPreferredSize(Size)

Declaration
Size GetPreferredSize(Size proposedSize)
Parameters
System.Drawing.Size proposedSize

Returns
System.Drawing.Size

GetPreferredSizeCore(Size)

Declaration
Size GetPreferredSizeCore(Size proposedSize)
Parameters
System.Drawing.Size proposedSize

Returns
System.Drawing.Size

GetTransformationPoint()

Retrieves transformation point. The point is a Point structure.

Declaration
Point GetTransformationPoint()
Returns
System.Drawing.Point

InvalidateCachedBorder()

Invalidates the cached border.

Declaration
void InvalidateCachedBorder()

InvalidateLayout()

Invalidates layout - needs redrawing.

Declaration
void InvalidateLayout()

IsValidWrapElement()

Retrieves a value indicating whether the element is valid wrap element.

Declaration
bool IsValidWrapElement()
Returns
System.Boolean

LayoutPropertyChanged(RadPropertyChangedEventArgs)

Declaration
void LayoutPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

PerformLayout(RadElement, Boolean)

Declaration
void PerformLayout(RadElement affectedElement, bool performExplicit)
Parameters
RadElement affectedElement

System.Boolean performExplicit

PerformLayoutCore(RadElement)

Declaration
void PerformLayoutCore(RadElement affectedElement)
Parameters
RadElement affectedElement

PerformParentLayout()

Declaration
void PerformParentLayout()

PerformRegisteredSuspendedLayouts()

Performs registered suspended layout.

Declaration
void PerformRegisteredSuspendedLayouts()

RegisterChildSuspendedLayout(RadElement, PerformLayoutType)

Declaration
void RegisterChildSuspendedLayout(RadElement element, PerformLayoutType performLayoutType)
Parameters
RadElement element

PerformLayoutType performLayoutType

RegisterLayoutRunning()

Declaration
void RegisterLayoutRunning()

SetCoercedSize(Size)

Sets coerced size taken as parameter.

Declaration
void SetCoercedSize(Size newCoercedSize)
Parameters
System.Drawing.Size newCoercedSize

SetLayoutInvalidated(Boolean)

Declaration
void SetLayoutInvalidated(bool layoutInvalidated)
Parameters
System.Boolean layoutInvalidated

TransformByAlignment(Size, Rectangle)

Retrieves transformation by alignment point using size and inner bounds.

Declaration
Point TransformByAlignment(Size size, Rectangle withinBounds)
Parameters
System.Drawing.Size size

System.Drawing.Rectangle withinBounds

Returns
System.Drawing.Point

UnregisterLayoutRunning()

Declaration
void UnregisterLayoutRunning()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.