ClassSharedSizeContentPresenter
ContentPresenter that could participate in SharedSizeScope.
Definition
Namespace:Telerik.Windows.Controls.Primitives
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class SharedSizeContentPresenter : ContentPresenter
Inheritance: objectSharedSizeContentPresenter
Constructors
SharedSizeContentPresenter()
Initializes a new instance of the SharedSizeContentPresenter class.
Declaration
public SharedSizeContentPresenter()
Fields
SharedSizeGroupHeightProperty
Identifies the SharedSizeGroupHeight dependency property.
Declaration
public static readonly DependencyProperty SharedSizeGroupHeightProperty
Field Value
DependencyProperty
SharedSizeGroupWidthProperty
Identifies the SharedSizeGroupWidth dependency property.
Declaration
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
public string SharedSizeGroupHeight { get; set; }
Property Value
SharedSizeGroupWidth
Gets or sets the name of the group this element's width will participate. This is a dependency property.
Declaration
public string SharedSizeGroupWidth { get; set; }
Property Value
Methods
MeasureOverride(Size)
Implements shared size scope measure pass.
Declaration
[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.