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 PropertyGridSummaryContentControl class.
public PropertyGridSummaryContentControl()
Properties
CanAutoSize
Gets or sets whether the gripper auto-sizes to its content when it is double-tapped.
public bool CanAutoSize { get; set; }
Property Value
- bool:
trueif the gripper auto-sizes to its content when it is double-tapped; otherwise,false. The default value istrue.
IsResizable
Gets or sets whether the gripper is visible and the control can be resized.
public bool IsResizable { get; set; }
Property Value
- bool:
trueif the gripper is visible and the control can be resized; otherwise,false. The default value istrue.
Methods
AutoSize()
Auto-sizes the content control to the desired size of its content.
public void AutoSize()
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate.
public override void OnApplyTemplate()
Fields
CanAutoSizeProperty
Identifies the CanAutoSize dependency property. This field is read-only.
public static readonly DependencyProperty CanAutoSizeProperty
IsResizableProperty
Identifies the IsResizable dependency property. This field is read-only.
public static readonly DependencyProperty IsResizableProperty