New to Telerik UI for WPFStart a free 30-day trial

ContentPresenter that could participate in SharedSizeScope.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class SharedSizeContentPresenter : ContentPresenter

Inheritance: objectSharedSizeContentPresenter

Constructors

Initializes a new instance of the SharedSizeContentPresenter class.

C#
public SharedSizeContentPresenter()

Fields

Identifies the SharedSizeGroupHeight dependency property.

C#
public static readonly DependencyProperty SharedSizeGroupHeightProperty

Identifies the SharedSizeGroupWidth dependency property.

C#
public static readonly DependencyProperty SharedSizeGroupWidthProperty

Properties

Gets or sets the name of the group this element's height will participate. This is a dependency property.

C#
public string SharedSizeGroupHeight { get; set; }

Gets or sets the name of the group this element's width will participate. This is a dependency property.

C#
public string SharedSizeGroupWidth { get; set; }

Methods

Implements shared size scope measure pass.

C#
protected override Size MeasureOverride(Size constraint)
Parameters:constraintSize

The constraint size.

Returns:

Size

The desired size of this element.