CollapseHintAdornmentControl.SetIsHighlighted Method

Sets IsHighlightedProperty.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Shared Sub SetIsHighlighted ( _
    control As CollapseHintAdornmentControl, _
    isExpanded As Boolean _
)
public static void SetIsHighlighted(
    CollapseHintAdornmentControl control,
    bool isExpanded
)
public:
static void SetIsHighlighted(
    CollapseHintAdornmentControl^ control, 
    bool isExpanded
)
static member SetIsHighlighted : 
        control:CollapseHintAdornmentControl * 
        isExpanded:bool -> unit
public static function SetIsHighlighted(
    control : CollapseHintAdornmentControl, 
    isExpanded : boolean
)

Parameters

  • isExpanded
    Type: Boolean

    true if the control is highlighted, otherwise false.

.NET Framework Security

See Also

Reference

CollapseHintAdornmentControl Class

Microsoft.VisualStudio.Text.Editor Namespace