Udostępnij za pośrednictwem


OutliningMarginHeaderControl Class

Definition

Allows collapsing and expanding an outlining region.

public ref class OutliningMarginHeaderControl abstract : System::Windows::Controls::Control
public abstract class OutliningMarginHeaderControl : System.Windows.Controls.Control
type OutliningMarginHeaderControl = class
    inherit Control
Public MustInherit Class OutliningMarginHeaderControl
Inherits Control
Inheritance
OutliningMarginHeaderControl

Remarks

By default, this is a grey accordion/chevron. In Visual Studio 17.8 or lower, this is a grey square with a plus or minus by default.

Constructors

OutliningMarginHeaderControl()

Initializes a new instance of OutliningMarginHeaderControl.

Fields

IsExpandedProperty

A DependencyProperty that determines whether this control collapses or expands the outlining regions that it controls.

IsHighlightedProperty

A DependencyProperty that determines whether this control should be currently displaying its mouse-hover highlight.

Properties

IsExpanded

Gets or sets IsExpandedProperty.

IsHighlighted

Gets or sets IsHighlightedProperty.

Methods

GetIsExpanded(OutliningMarginHeaderControl)

Gets IsExpandedProperty.

GetIsHighlighted(OutliningMarginHeaderControl)

Gets IsHighlightedProperty.

SetIsExpanded(OutliningMarginHeaderControl, Boolean)

Sets IsExpandedProperty.

SetIsHighlighted(OutliningMarginHeaderControl, Boolean)

Sets IsHighlightedProperty.

Applies to