Class
SharedSizeContentPresenter

ContentPresenter that could participate in SharedSizeScope.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class SharedSizeContentPresenter : ContentPresenter

Inheritance: objectSharedSizeContentPresenter

Constructors

SharedSizeContentPresenter()

Initializes a new instance of the SharedSizeContentPresenter class.

Declaration

cs-api-definition
public SharedSizeContentPresenter()

Fields

SharedSizeGroupHeightProperty

Identifies the SharedSizeGroupHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SharedSizeGroupHeightProperty

Field Value

DependencyProperty

SharedSizeGroupWidthProperty

Identifies the SharedSizeGroupWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SharedSizeGroupWidthProperty

Field Value

DependencyProperty

Properties

SharedSizeGroupHeight

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

Declaration

cs-api-definition
public string SharedSizeGroupHeight { get; set; }

Property Value

string

SharedSizeGroupWidth

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

Declaration

cs-api-definition
public string SharedSizeGroupWidth { get; set; }

Property Value

string

Methods

MeasureOverride(Size)

Implements shared size scope measure pass.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#")]
protected override Size MeasureOverride(Size constraint)

Parameters

constraint

Size

The constraint size.

Returns

Size

The desired size of this element.