In This Article

PropertyGridSummaryContentControl Class

Represents a ContentControl that displays summary content for a PropertyGrid and contains a gripper, allowing it to be resized.

[TemplatePart(Name = "PART_Gripper", Type = typeof(FrameworkElement))]
public class PropertyGridSummaryContentControl : ContentControl
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl object

Constructors

PropertyGridSummaryContentControl()

Initializes an instance of the class.

public PropertyGridSummaryContentControl()

Properties

CanAutoSize

Indicates whether the gripper auto-sizes to its content when it is double-tapped.

public bool CanAutoSize { get; set; }

Property Value

bool:

true if the gripper auto-sizes to its content when it is double-tapped; otherwise, false. The default value is true.

IsResizable

Indicates whether the gripper is visible and the control can be resized.

public bool IsResizable { get; set; }

Property Value

bool:

true if the gripper is visible and the control can be resized; otherwise, false. The default value is true.

Methods

AutoSize()

Auto-sizes the content control to the desired size of its content.

public void AutoSize()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Fields

CanAutoSizeProperty

Defines the CanAutoSize property.

public static readonly DependencyProperty CanAutoSizeProperty

IsResizableProperty

Defines the IsResizable property.

public static readonly DependencyProperty IsResizableProperty

Extension Methods