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:
trueif the gripper auto-sizes to its content when it is double-tapped; otherwise,false. The default value istrue.
IsResizable
Indicates 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()
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