skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

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

    Mobile

    UI for .NET MAUI

    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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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
    • 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

Class ProportionalStackPanel

Panel that arrange its children as a StackPanel if no DesiredWidth or DesiredHeight is set or if set as a Grid with Row/Column Definitions.

Inheritance
System.Object
ProportionalStackPanel
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Docking.dll

Syntax

public class ProportionalStackPanel : Panel

Constructors

ProportionalStackPanel()

Declaration
public ProportionalStackPanel()

Fields

ElementHeightProperty

Identifies the ElementHeight attached property.

Declaration
public static readonly DependencyProperty ElementHeightProperty
Field Value
System.Windows.DependencyProperty

ElementMaxHeightProperty

Identifies the ElementMaxHeight attached property.

Declaration
public static readonly DependencyProperty ElementMaxHeightProperty
Field Value
System.Windows.DependencyProperty

ElementMaxWidthProperty

Identifies the ElementMaxWidth attached property.

Declaration
public static readonly DependencyProperty ElementMaxWidthProperty
Field Value
System.Windows.DependencyProperty

ElementMinHeightProperty

Identifies the ElementMinHeight attached property.

Declaration
public static readonly DependencyProperty ElementMinHeightProperty
Field Value
System.Windows.DependencyProperty

ElementMinWidthProperty

Identifies the ElementMinWidth attached property.

Declaration
public static readonly DependencyProperty ElementMinWidthProperty
Field Value
System.Windows.DependencyProperty

ElementWidthProperty

Identifies the ElementWidth attached property.

Declaration
public static readonly DependencyProperty ElementWidthProperty
Field Value
System.Windows.DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty

RelativeSizeProperty

Identifies the RelativeSize attached property.

Declaration
public static readonly DependencyProperty RelativeSizeProperty
Field Value
System.Windows.DependencyProperty

SuppressMeasureProperty

Identifies the SuppressMeasure attached property.

Declaration
public static readonly DependencyProperty SuppressMeasureProperty
Field Value
System.Windows.DependencyProperty

Properties

Orientation

Gets or sets a value that specifies the dimension in which child content is arranged. This is a dependency property.

Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation

Methods

ArrangeOverride(Size)

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own arrange pass behavior.

Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size finalSize

The final area within the parent that this object should use to arrange itself and its children.

Returns
System.Windows.Size

The actual size used.

GetElementHeight(DependencyObject)

Gets the Height of the child element.

Declaration
public static double GetElementHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Double

GetElementMaxHeight(DependencyObject)

Gets the MaxHeight of the child element.

Declaration
public static double GetElementMaxHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Double

GetElementMaxWidth(DependencyObject)

Gets the MaxWidth of the child element.

Declaration
public static double GetElementMaxWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Double

GetElementMinHeight(DependencyObject)

Gets the MinHeight of the child element.

Declaration
public static double GetElementMinHeight(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Double

GetElementMinWidth(DependencyObject)

Gets the MinWidth of the child element.

Declaration
public static double GetElementMinWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Double

GetElementWidth(DependencyObject)

Gets the Width of the child element.

Declaration
public static double GetElementWidth(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Double

GetRelativeSize(DependencyObject)

Gets the Relative size.

Declaration
public static Size GetRelativeSize(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Windows.Size

GetSuppressMeasure(DependencyObject)

Gets the SuppressMeasure attached property. If true changing RelativeSize will not invalidate measure.

Declaration
public static bool GetSuppressMeasure(DependencyObject obj)
Parameters
System.Windows.DependencyObject obj

Returns
System.Boolean

MeasureOverride(Size)

Provides the behavior for the measure pass of the layout. Classes can override this method to define their own measure pass behavior.

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size availableSize

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns
System.Windows.Size

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.

SetElementHeight(DependencyObject, Double)

Sets the Height of the child element.

Declaration
public static void SetElementHeight(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject obj

System.Double value

SetElementMaxHeight(DependencyObject, Double)

Sets the MaxHeight of the child element.

Declaration
public static void SetElementMaxHeight(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject obj

System.Double value

SetElementMaxWidth(DependencyObject, Double)

Sets the MaxWidth of the child element.

Declaration
public static void SetElementMaxWidth(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject obj

System.Double value

SetElementMinHeight(DependencyObject, Double)

Sets the MinHeight of the child element.

Declaration
public static void SetElementMinHeight(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject obj

System.Double value

SetElementMinWidth(DependencyObject, Double)

Sets the MinWidth of the child element.

Declaration
public static void SetElementMinWidth(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject obj

System.Double value

SetElementWidth(DependencyObject, Double)

Sets the Width of the child element.

Declaration
public static void SetElementWidth(DependencyObject obj, double value)
Parameters
System.Windows.DependencyObject obj

System.Double value

SetRelativeSize(DependencyObject, Size)

Sets the Relative size.

Declaration
public static void SetRelativeSize(DependencyObject obj, Size value)
Parameters
System.Windows.DependencyObject obj

System.Windows.Size value

SetSuppressMeasure(DependencyObject, Boolean)

Sets the SuppressMeasure attached property. When set to true changing RelativeSize will not invalidate measure.

Declaration
public static void SetSuppressMeasure(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject obj

System.Boolean value

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.